From: sixdozen <to...@me...> - 2008-04-14 08:36:43
|
Hello everyone. I'm just getting started with gumstix, and following the directions to get started from: http://www.gumstix.net/Software/view/Getting-started/Setting-up-a-build-environment/111.html Is this info still up to date? I'm getting a build error that doesn't make sense to me. I'm running on ubuntu 7.10 and have followed the directions multiple times and checked my /bin/sh and installed packages. The sad punchline to my bitbake is: | make[2]: Entering directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/fixincludes' | gcc -isystem/home/tom/gumstix/gumstix-oe/tmp/staging/i686-linux/include -Os -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a | fixincl.o: In function `create_file': | fixincl.c:(.text+0x11f): undefined reference to `fprintf_unlocked' I'm building for connex, but I get the same error building for verdex. I also get the same error just building hello world. Anyway, like I said, I'm just getting started with cross compiling, so my apologies if this is a noob question, but my searches haven't turned up anything useful thus far, so I thought I would try the mailing list. The complete dump is below if that is useful. Best, -Tom tom@cuby:~/gumstix$ bitbake gumstix-basic-image NOTE: Handling BitBake files: \ (4951/4951) [100 %] NOTE: Parsing finished. 221 cached, 4494 parsed, 236 skipped, 0 masked. NOTE: build 200804140048: started OE Build Configuration: BB_VERSION = "1.8.8" OE_REVISION = "<unknown>" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "gumstix-custom-verdex" DISTRO = "angstrom" DISTRO_VERSION = "2007.9-test-20080414" TARGET_FPU = "soft" NOTE: Resolving missing task queue dependencies NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc) NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 163 of 1391 (ID: 97, /home/tom/gumstix/gumstix-oe/org.openembedded.snapshot/packages/gcc/gcc-cross_4.1.2.bb, do_compile) NOTE: package gcc-cross-4.1.2: started NOTE: package gcc-cross-4.1.2-r10: task do_compile: started ERROR: function do_compile failed ERROR: log data follows (/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/temp/log.do_compile.5423) | NOTE: make ARCH_FLAGS_FOR_TARGET=-isystem/home/tom/gumstix/gumstix-oe/tmp/staging/i686-linux/include | make[1]: Entering directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi' | make[2]: Entering directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty' | make[3]: Entering directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty/testsuite' | make[3]: Nothing to be done for `all'. | make[3]: Leaving directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty/testsuite' | make[2]: Leaving directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty' | make[2]: Entering directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/fixincludes' | gcc -isystem/home/tom/gumstix/gumstix-oe/tmp/staging/i686-linux/include -Os -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a | fixincl.o: In function `create_file': | fixincl.c:(.text+0x11f): undefined reference to `fprintf_unlocked' | fixincl.c:(.text+0x149): undefined reference to `fprintf_unlocked' | fixincl.c:(.text+0x184): undefined reference to `fprintf_unlocked' | fixincl.o: In function `load_file': | fixincl.c:(.text+0x490): undefined reference to `fprintf_unlocked' | fixincl.o: In function `process': | fixincl.c:(.text+0x56c): undefined reference to `fprintf_unlocked' | fixincl.o:fixincl.c:(.text+0x5e4): more undefined references to `fprintf_unlocked' follow | collect2: ld returned 1 exit status | make[2]: *** [full-stamp] Error 1 | make[2]: Leaving directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/fixincludes' | make[1]: *** [all-fixincludes] Error 2 | make[1]: Leaving directory `/home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi' | make: *** [all] Error 2 | FATAL: oe_runmake failed NOTE: Task failed: /home/tom/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/temp/log.do_compile.5423 NOTE: package gcc-cross-4.1.2-r10: task do_compile: failed ERROR: TaskFailed event exception, aborting NOTE: package gcc-cross-4.1.2: failed ERROR: Build of /home/tom/gumstix/gumstix-oe/org.openembedded.snapshot/packages/gcc/gcc-cross_4.1.2.bb do_compile failed ERROR: Task 97 (/home/tom/gumstix/gumstix-oe/org.openembedded.snapshot/packages/gcc/gcc-cross_4.1.2.bb, do_compile) failed NOTE: Tasks Summary: Attempted 162 tasks of which 162 didn't need to be rerun and 1 failed. ERROR: '/home/tom/gumstix/gumstix-oe/org.openembedded.snapshot/packages/gcc/gcc-cross_4.1.2.bb' failed -- View this message in context: http://www.nabble.com/getting-started-with-build-environment-tp16673214p16673214.html Sent from the Gumstix mailing list archive at Nabble.com. |