[Clfs-dev] [clfs-embedded] Musl-libc

Kirk Terrell knjterrell at mybluelight.com
Fri Jul 19 08:19:03 PDT 2013


I am attempting to build a musl flavored clfs embedded. I am using the 
set of packages from the 2012-09-?? version of the embedded book. I am 
unable to compile busybox:

> networking/lib.a(isrv_identd.o): In function `do_rd':
> isrv_identd.c:(.text.do_rd+0x108): undefined reference to `fdprintf'
> isrv_identd.c:(.text.do_rd+0x120): undefined reference to `fdprintf'
> printutils/lib.a(lpr.o): In function `lpqr_main':
> lpr.c:(.text.lpqr_main+0x178): undefined reference to `fdprintf'
> lpr.c:(.text.lpqr_main+0x1a4): undefined reference to `fdprintf'
> lpr.c:(.text.lpqr_main+0x1f4): undefined reference to `fdprintf'
> printutils/lib.a(lpr.o):lpr.c:(.text.lpqr_main+0x298): more undefined references to `fdprintf' follow


prior to building busybox I set C_INCLUDE_PATH=${CLFS}/include - 
otherwise it couldn't find the header files. I've also tried to build as 
a static system.


I did a static compile of hello.c using my tool chain and it worked, but 
when i changed printf to fdprintf I got the same error message.

I am using gcc-4.6.0; musl-0.9.11 and busybox-1.18.4. I am attempting to 
build a system based on the mips Malta machine. I've done so succesfully 
w/ uClibc.

I'll continue to troubleshoot, but if someone knows off the cuff a 
likely cause I'd appreciate it.

____________________________________________________________
New BlackBerry&#174 Z10
Discover the BlackBerry Z10, built to keep you moving. Get it today.
http://thirdpartyoffers.netzero.net/TGL3341/51e958dc1ba5058d92dabst03duc



More information about the Clfs-dev mailing list