Hi! I'm trying to compile PIL with LTIB (http://www.bitshrine.org) for an ARM-based board. I get this error:
gcc -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -I/usr/include/freetype2 -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.4 -c libImaging/Effects.c -o i686-pc-linux-gnu/temp.linux-i686-2.4/libImaging/Effects.o arm-none-linux-gnueabi-gcc -B /home/phil/mx31/ltib-imx31ads-20071008/rootfs/usr/lib// -idirafter /home/phil/mx31/ltib-imx31ads-20071008/rootfs/usr/include -iwithprefix include -O2 -fsigned-char -msoft-float -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -I/usr/include/freetype2 -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.4 -c libImaging/Effects.c -o i686-pc-linux-gnu/temp.linux-i686-2.4/libImaging/Effects.o In file included from /usr/include/linux/errno.h:4, from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from /usr/include/python2.4/Python.h:38, from libImaging/ImPlatform.h:10, from libImaging/Imaging.h:14, from libImaging/Effects.c:19: /usr/include/asm/errno.h:9:4: warning: #warning This machine appears to be neither x86_64 nor i386. In file included from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/python2.4/pyfpe.h:129, from /usr/include/python2.4/Python.h:149, from libImaging/ImPlatform.h:10, from libImaging/Imaging.h:14, from libImaging/Effects.c:19: /usr/include/asm/sigcontext.h:9:4: warning: #warning This machine appears to be neither x86_64 nor i386. In file included from /usr/include/python2.4/pyfpe.h:129, from /usr/include/python2.4/Python.h:149, from libImaging/ImPlatform.h:10, from libImaging/Imaging.h:14, from libImaging/Effects.c:19: /usr/include/signal.h:336: warning: 'struct sigcontext' declared inside parameter list /usr/include/signal.h:336: warning: its scope is only this definition or declaration, which is probably not what you want libImaging/Effects.c:210: warning: 'perlin_init' defined but not used libImaging/Effects.c: In function 'perlin_turbulence': /usr/include/bits/mathinline.h:530: error: impossible constraint in 'asm' /usr/include/bits/mathinline.h:548: error: impossible constraint in 'asm' /usr/include/bits/mathinline.h:530: error: impossible constraint in 'asm' /usr/include/bits/mathinline.h:548: error: impossible constraint in 'asm' Does anybody had a similar issue? Seems related to math library usage. Trying PIL 1.1.6 here. Philippe _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig