[WAAAAAY OT] can't build openembedded/angstrom on f11

Ralf Corsepius rc040203 at freenet.de
Sun May 31 10:55:30 UTC 2009


Robert P. J. Day wrote:
>   this is massively off-topic but i'm hoping someone's bored enough to
> take a look.  i have a beagleboard:


> ccache gcc
> -isystem/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/include
> -O2 -Wunused -Wall -static
> -L/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/lib
> -Wl,-rpath-link,/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/lib
> -Wl,-rpath,/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/lib
> -Wl,-O1 -o insmod.static insmod.o
> mv -f .deps/tables.Tpo .deps/tables.Po
> /usr/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status
> make: *** [insmod.static] Error 1
> make: *** Waiting for unfinished jobs....
> modinfo.c: In function 'main':
> modinfo.c:338: warning: 'infosize' may be used uninitialized in this
> function
> mv -f .deps/modinfo.Tpo .deps/modinfo.Po
> make: *** wait: No child processes.  Stop.
> FATAL: oe_runmake failed
> 
>   i've documented, step by step, what i did here:
> 
> http://www.crashcourse.ca/wiki/index.php/Angstrom#Building_Angstrom_from_scratch_with_OpenEmbedded
> 
> and it's frustrating since others have reported normal success (some
> running under fedora 8).  i have no idea why i keep getting this error
> -- maybe it's related to running 64-bit, i don't know.  others are
> building just fine under other distros as well, so i'm baffled.

The gcc call above seems to be trying to link statically against libc 
(An absurd idea, IMNSHO).

In FC11, the static libs from glibc have been split out into a separate 
"glibc-static" package.

It's likely getting rid of the static linkage above or
installing "glibc-static" (BuildRequires: glibc-static) will help.

Ralf




More information about the fedora-test-list mailing list