Hi list, I tried to use the elftosb recipe from ELDK-5.4.2 in a i.MX28 project, but it failed to build with the following error:
| DEBUG: Executing shell function do_compile | NOTE: make -j 4 LIBS=-lstdc++ -lm elftosb | make -C bld/linux -f /opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/makefile.rules SRC_DIR=/opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01 elftosb; | make[1]: Entering directory `/opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/bld/linux' | make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. | gcc -g -I/opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/elftosb2 -I/opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/keygen -I/opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/sbtool -I/opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/common -DLinux -c /opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/common/AESKey.cpp | In file included from /opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/common/AESKey.h:10:0, | from /opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/common/AESKey.cpp:8: | /opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/common/stdafx.h:30:36: fatal error: /usr/include/sys/types.h: No such file or directory | compilation terminated. | make[1]: *** [AESKey.o] Error 1 | make[1]: Leaving directory `/opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/elftosb-10.12.01/bld/linux' | make: *** [elftosb] Error 2 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (see /opt/eldk/build/eldk-5.4.2/tmp/work/x86_64-linux/elftosb-native/10.12.01-r0/temp/log.do_compile.14895 for further information) ERROR: Task 586 (virtual:native:/home/krause/git/eldk-5.4.2/meta-eldk/recipes-devtools/elftosb/elftosb_10.12.01.bb, do_compile) failed with exit code '1' My build host is a 64 bit Ubuntu 12.04.3 LTS. Attached a patch with a fix from git.yoctoproject.org/git/meta-fsl-arm Best regards, i.A. Martin Krause Entwicklung Tel. +49 8153 9308-157, Fax +49 8153 9308-7157 mailto: [email protected] TQ-Systems GmbH Mühlstraße 2, Gut Delling, 82229 Seefeld Amtsgericht München, HRB-Nr. 105 018, UST-IdNr. DE 252 251 764 Sitz der Gesellschaft: Seefeld Geschäftsführer: Dipl.-Ing. (FH) Detlef Schneider, Dipl.-Ing. (FH) Rüdiger Stahl http://www.tq-group.com
0001-META-ELDK-elftosb-don-t-use-full-path-for-headers.patch
Description: 0001-META-ELDK-elftosb-don-t-use-full-path-for-headers.patch
_______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
