Hello all, on linux (ubuntu 8.04) I am trying to build gcc croscompiller (for powerpc linux) and this croscompiller will be running on win32-cygwin.
I am using latest git OE fetched from http://repo.or.cz/r/openembedded.git branch trini/canadian-sdk. I set these variables in my local.conf: OE_ALLOW_INSECURE_DOWNLOADS="1" DISTRO = "angstrom-2008.1" TARGET_ARCH = "powerpc" I started building with command: bitbake task-sdk-canadian-host Is this configuration enough ? I am getting this error when building mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1: ------------------ ------------------ | In file included from /stuff1/tmp-oe/staging/i686-linux/usr/include/sys/time.h:4, | from /stuff1/tmp-oe/work/i686-linux/mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1/gcc-3.4.5-20060117-2/libiberty/getruntime.c:39: | /stuff1/tmp-oe/staging/i686-linux/usr/include/time.h:187: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' | In file included from /usr/include/bits/resource.h:167, | from /usr/include/sys/resource.h:26, | from /stuff1/tmp-oe/work/i686-linux/mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1/gcc-3.4.5-20060117-2/libiberty/getruntime.c:48: | /usr/include/bits/time.h:70: error: redefinition of 'struct timeval' | make[1]: *** [getruntime.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | /stuff1/tmp-oe/work/i686-linux/mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1/gcc-3.4.5-20060117-2/libiberty/getopt.c: In function '_getopt_initialize': | /stuff1/tmp-oe/work/i686-linux/mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1/gcc-3.4.5-20060117-2/libiberty/getopt.c:396: warning: unused parameter 'argc' | /stuff1/tmp-oe/work/i686-linux/mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1/gcc-3.4.5-20060117-2/libiberty/getopt.c:397: warning: unused parameter 'argv' | make[1]: Leaving directory `/stuff1/tmp-oe/work/i686-linux/mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1/gcc-3.4.5-20060117-2/build.i686-linux.i686-linux/libiberty' | make: *** [all-libiberty] Error 2 | FATAL: oe_runmake failed NOTE: Task failed: /stuff1/tmp-oe/work/i686-linux/mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1/temp/log.do_compile.18892 NOTE: package mingw-gcc-canadian-cross-initial-3.4.5-20060117-2-r1: task do_compile: failed ------------------ ------------------ /usr/include/bits/time.h:70: error: redefinition of 'struct timeval' It seems, that build process is mixing my system libraries and OE ones... On debian i am getting differrent errors at differrent places (there are differrent libc headers). Has anyone successfully built this compiler? Thx, Jozef. _______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
