[Buildroot] First day with buildroot

bruce bushby bruce.bushby at gmail.com
Thu Feb 17 08:09:46 UTC 2011


Have you got these packages?

[bruce at core Downloads]$ rpm -qf /usr/bin/lc
mono-core-2.4.3.1-1.fc12.x86_64
[bruce at core Downloads]$
[bruce at core Downloads]$ rpm -qf /usr/bin/ld
binutils-2.19.51.0.14-37.fc12.x86_64
[bruce at core Downloads]$




On Thu, Feb 17, 2011 at 4:12 AM, Charles Krinke <charles.krinke at gmail.com>wrote:

> Below are the last half dozen lines of my first compile with buildroot. I
> set it up for a powerpc architecture and selected almost all the defaults,
> changing only things like ext2 to jffs2 file system. I did select the
> "general" for sub-architecture (as opposed to say, e300c2).
>
> I am puzzled at this point as to where to go looking for issues. It seems
> that ld fails trying to find the file "-lc" when I believe "-lc" is an
> argument, so a missing string or environment variable is probably the issue
> (I'm guessing a bit).
>
> This is a Fedora system recently formatted with the latest livecd running
> linux-2.6.35.
>
> Any suggestions would be greatly appreciated.
>
>
> make[1]: Entering directory
> `/home/ckrinke/buildroot-2010.11/output/build/host-module-init-tools-3.12'
> MAKE i686-pc-linux-gnu : 0 * all-all
> make[2]: Entering directory
> `/home/ckrinke/buildroot-2010.11/output/build/host-module-init-tools-3.12/build'
> /usr/bin/gcc  -O2 -I/home/ckrinke/buildroot-2010.11/output/host/include
> -I/home/ckrinke/buildroot-2010.11/output/host/usr/include -Wunused -Wall
> -static -L/home/ckrinke/buildroot-2010.11/output/host/lib
> -L/home/ckrinke/buildroot-2010.11/output/host/usr/lib
> -Wl,-rpath,/home/ckrinke/buildroot-2010.11/output/host/usr/lib -o
> insmod.static insmod.o libmodtools.a
> /usr/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status
> make[2]: *** [insmod.static] Error 1
> make[2]: Leaving directory
> `/home/ckrinke/buildroot-2010.11/output/build/host-module-init-tools-3.12/build'
> make[1]: *** [all-all] Error 2
> make[1]: Leaving directory
> `/home/ckrinke/buildroot-2010.11/output/build/host-module-init-tools-3.12'
> make: ***
> [/home/ckrinke/buildroot-2010.11/output/build/host-module-init-tools-3.12/.stamp_built]
> Error 2
>
>
> --
> Charles Krinke
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110217/f5d581b6/attachment-0002.html>


More information about the buildroot mailing list