[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Sun, 31 May 2009, Ralf Corsepius wrote:

> Robert P. J. Day wrote:
>
> > 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

> 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.

  ooooh, that could be it.  amusingly, i was looking at that earlier
this morning and thinking, "is it the static linkage that's doing
this?"  and, sure enough, that package wasn't installed on my system
so i'll test it shortly.  thanks.

  um ... given your wording, can i assume that f11 is the first
fedora where this package has been broken out?  which would explain
why this builds just fine under f10 for others?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Linked In:                             http://www.linkedin.com/in/rpjday
Twitter:                                       http://twitter.com/rpjday
========================================================================


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]