On 05/09/2011 03:45 PM, Matt Edinger wrote:
Hello, I get the following errors when trying to build enlightenment for the Phycore LPC3250 board:if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src/bin -I../../src/lib -DUSE_E_CONFIG_H -D_REENTRANT -I/home/matt/lpc3250/ltib-new/rootfs/usr/include -I/home/matt/lpc3250/ltib-new/rootfs/usr/include/directfb -I/home/matt/lpc3250/ltib-new/rootfs/usr/include/efreet -I/home/matt/lpc3250/ltib-new/rootfs/usr/include -I/usr/include -DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6 -DE17_PROFILE=SLOW_PC -DPACKAGE_BIN_DIR=\"/usr/bin\" -DPACKAGE_LIB_DIR=\"/usr/lib\" -DPACKAGE_DATA_DIR= \"/usr/share/enlightenment\" -DLOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_SYSCONF_DIR=\"/usr/etc\" -g -O2 -MT e_slidesel.o -MD -MP -MF ".deps/e_slidesel.Tpo" -c -o e_slidesel.o e_slidesel.c; \ then mv -f ".deps/e_slidesel.Tpo" ".deps/e_slidesel.Po"; else rm -f ".deps/e_slidesel.Tpo"; exit 1; fi e_sha1.c: In function 'e_sha1_sum': e_sha1.c:97: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:97: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:99: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:99: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:98: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:98: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:101: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:101: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:100: error: invalid 'asm': invalid operand for code 'w' e_sha1.c:100: error: invalid 'asm': invalid operand for code 'w' make[3]: *** [e_sha1.o] Error 1 make[3]: *** Waiting for unfinished jobs.... e_slider.c: In function '_e_smart_value_limit': /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' /usr/include/bits/mathinline.h:530: error: impossible constraint in 'asm' make[3]: *** [e_slider.o] Error 1 make[3]: Leaving directory `/home/matt/lpc3250/ltib-new/rpm/BUILD/enlightenment-0.16.999.050/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/matt/lpc3250/ltib-new/rpm/BUILD/enlightenment-0.16.999.050/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/matt/lpc3250/ltib-new/rpm/BUILD/enlightenment-0.16.999.050' make: *** [all] Error 2 error: Bad exit status from /home/matt/lpc3250/ltib-new/tmp/rpm-tmp.51932 (%build) RPM build errors: Bad exit status from /home/matt/lpc3250/ltib-new/tmp/rpm-tmp.51932 (%build) Build time for enlightenment: 9 seconds Failed building enlightenment f_buildrpms() returned an error, exiting traceback: main:567 Started: Mon May 9 15:35:13 2011 Ended: Mon May 9 15:36:02 2011 Elapsed: 49 seconds VERSION : 10.1.1 CVS_VERSION : $Revision: 1.74 $ (Savannah) PLATFORM : phy3250 GNUTARCH : arm TOOLCHAIN : tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm TOOLCHAIN_CFLAGS : -O2 -fsigned-char -mfloat-abi=softfp -mfpu=vfp These packages failed to build: enlightenment Build Failed Exiting on error or interrupt Any clues as to what I'm doing wrong? If I de-select Enlightenment, the build finishes successfully.
It looks like your cross compiler isn't setup correctly - as if you're using the host compiler to build the package. I've never tried to build enlightment so I can't suggest how to fix that, but can you build the rest of a working system (i.e. kernel, bootloader, etc)?
-- Peter Barada [email protected] _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
