LTP build failure with latest uClibc due to SuSv3 legacy function changes.

Rich Felker dalias at aerifal.cx
Tue Jun 20 04:31:07 UTC 2006


On Mon, Jun 19, 2006 at 11:10:51PM -0500, Steven J. Hill wrote:
> Greetings.
> 
> So, with the latest uClibc code LTP will fail to build as follows:
> 
> make[5]: Leaving directory
> `/build/buildroot-working-on-upgrade/build_mips/root/root/ltp-full-20050804/testcases/network/multicast/mc_commo'
> make[5]: Entering directory
> `/build/buildroot-working-on-upgrade/build_mips/root/root/ltp-full-20050804/testcases/network/multicast/mc_member'
> /build/buildroot-working-on-upgrade/build_mips/staging_dir/bin/mips-linux-uclibc-gcc
> -Wall  -w -O    member.c   -o member
> /tmp/cc2MAfzH.o: In function `main':
> member.c:(.text+0x838): undefined reference to `bcopy'
> collect2: ld returned 1 exit status
> make[5]: *** [member] Error 1
> 
> Which means you must select the `UCLIBC_SUSV3_LEGACY` option so that LTP
> will build. I would like comments on whether or not a patch to LTP should
> be sent upstream. Thanks.

Dunno what LTP is, but yes bcopy is a legacy BSD function from ancient
pre-ANSI-C days. It's ridiculous that programs are still using it...

Rich




More information about the uClibc mailing list