[oe] [master/2011.03-maintenance] module-init-tools-cross-3.12-r6: task do_compile: Failed (solution)

Steffen Sledz sledz at dresearch-fe.de
Thu Dec 8 08:56:24 UTC 2011


On 07.12.2011 14:39, Steffen Sledz wrote:
> This problem occurs with the current master (a4f35de0f6ca17e92763d5a5f32422c56e5d8882) *and* the 2011.03-maintenance branch (672af8093cf33d8b90e9186986ba5c95fc7a0a0a).
> 
> To reproduce it i used the current Kaeilos setup and made a clean build.
> 
> ------------------->snip<--------------------
> 14:11 sledz@~/work/kaeilos/build/kaeilos $ MACHINE=beagleboard bitbake module-init-tools-cross
> ...
> Build Configuration:
> BB_VERSION        = "1.12.0"
> METADATA_BRANCH   = "2011.03-maintenance"
> METADATA_REVISION = "672af80"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "beagleboard"
> DISTRO            = "kaeilos"
> DISTRO_VERSION    = "2009.2-test-20111207"
> TARGET_FPU        = "hard"
> ...
> | gcc  -isystem/home/sledz/work/kaeilos/build/kaeilos/tmp/sysroots/x86_64-linux/usr/include -O2 -g -Wunused -Wall -static -L/home/sledz/work/kaeilos/build/kaeilos/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/sledz/work/kaeilos/build/kaeilos/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/sledz/work/kaeilos/build/kaeilos/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o insmod.static insmod.o libmodtools.a
> | /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lc
> | collect2: ld returned 1 exit status
> | make: *** [insmod.static] Error 1
> | make: *** Waiting for unfinished jobs....
> | mv -f .deps/tables.Tpo .deps/tables.Po
> | + die 'oe_runmake failed'
> | + oefatal 'oe_runmake failed'
> | + echo FATAL: 'oe_runmake failed'
> | FATAL: oe_runmake failed
> | + exit 1
> NOTE: package module-init-tools-cross-3.12-r6: task do_compile: Failed
> ERROR: Function 'do_compile' failed (see /home/sledz/work/kaeilos/build/kaeilos/tmp/work/armv7a-kaeilos-linux-gnueabi/module-init-tools-cross-3.12-r6/temp/log.do_compile.5337 for further information)
> ------------------->snip<--------------------
> 
> (complete compile log is attached)

The cause for this problem was a missing package glibc-devel-static at my new installed openSUSE 12.1 build host.

Sorry for the annoyance.

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058




More information about the Openembedded-devel mailing list