Red Hat Bugzilla – Bug 182512
Amaya does not build on x86_64
Last modified: 2007-11-30 17:11:24 EST
Amaya does not build on x86_64. This arch has been ExcludeArch'ed
../../thotlib/image/xpmcreate.c: In function 'int ParseAndPutPixels(xpmData*,
unsigned int, unsigned int, unsigned int, unsigned int, XpmColor*,
xpmHashTable*, XImage*, Pixel*, XImage*, Pixel*)':
../../thotlib/image/xpmcreate.c:2429: error: cast from 'void*' to 'unsigned int'
../../thotlib/image/xpmcreate.c:2432: error: cast from 'void*' to 'unsigned int'
make: *** [image/xpmcreate.o] Error 1
The above errors look like the code needs to change for example so that it uses
the standard uintptr_t when casting pointers.
*** Bug 158888 has been marked as a duplicate of this bug. ***
Can you close this bug please (or reassign it to me)?
Currently, amaya fails to build due to a bug in libpng (png_read_destroy not
found), but gets past the point listed above.