On Sun, 17 May 2015 13:49:42 -0700 K Richard Pixley <[email protected]> wrote:
> Note the "HOSTCC" here is incorrect. > > rpixley@victory> cd u-boot-2014.07/ > rpixley@victory> . > /opt/eldk-5.6/powerpc-e500v2/environment-setup-ppce500v2-linux > rpixley@victory> echo $CROSS_COMPILE > powerpc-linux- > rpixley@victory> make env CROSS_COMPILE=powerpc-linux- > Makefile:516: *** "System not configured - see README". Stop. > rpixley@victory> less ../Makefile > rpixley@victory> make EP2020XS_config > Configuring for EP2020XS - Board: EP2020XS, Options: P2020,36BIT > rpixley@victory> make env CROSS_COMPILE=powerpc-linux- > GEN include/autoconf.mk.dep > GEN include/autoconf.mk > HOSTCC scripts/basic/fixdep <--- note that HOSTCC is wrong here. > HOSTCC tools/env/aes.o > In file included from tools/env/aes.c:1:0: > tools/env/../../lib/aes.c:28:20: fatal error: string.h: No such file or > directory > #include <string.h> > ^ > compilation terminated. > make[1]: *** [tools/env/aes.o] Error 1 > make: *** [env] Error 2 This seems to be the powerpc-e500v2 toolchain issue, the path /opt/eldk-5.6/powerpc-e500v2/sysroots/ppce500v2-linux/usr/include is not used for #include <...> search. The toolchain was configured with "--with-sysroot=/opt/eldk-5.6/powerpc-e500v2/sysroots/ppce500v2-linux" option, but this directory doesn't exist. Please try to workaround this by creating a symlink as follows: $ cd /opt/eldk-5.6/powerpc-e500v2/sysroots $ sudo ln -s ppce500v2-linux-gnuspe ppce500v2-linux Then "make env" should work. Best regards, Anatolij -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-50 Fax: +49-8142-66989-80 Email: [email protected] _______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
