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

Bug#713616: netcfg: FTBFS: ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcheck.a(check.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'



Quoting Samuel Thibault (sthibault@debian.org):
> Control: tags -1 + pending
> 
> David Suárez, le Sat 22 Jun 2013 14:42:38 +0200, a écrit :
> > > cc -o test/run test/test_inet_mton.o test/test_inet_ptom.o test/test_netcfg_parse_cidr_address.o test/test_netcfg_network_address.o test/test_netcfg_gateway_reachable.o test/test_nc_v6_interface_configured.o netcfg-common.o wireless.o ethtool-lite.o ipv6.o write_interface.o test/srunner.o -ldebconfclient -ldebian-installer -liw -lcheck
> > > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcheck.a(check.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
> 
> This is missing -lm for the libcheck.a, indeed.  Added.

Now, it gives:

cc -o test/run test/test_inet_mton.o test/test_inet_ptom.o test/test_netcfg_parse_cidr_address.o test/test_netcfg_network_address.o test/test_netcfg_gateway_reachable.o test/test_nc_v6_interface_configured.o netcfg-common.o wireless.o ethtool-lite.o ipv6.o write_interface.o test/srunner.o -ldebconfclient -ldebian-installer -liw -lcheck -lm
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/libcheck.a(check_pack.o): In function `ppack':
(.text+0x53c): undefined reference to `__pthread_register_cancel'
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/libcheck.a(check_pack.o): In function `ppack':
(.text+0x57b): undefined reference to `__pthread_unregister_cancel'
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/libcheck.a(check_run.o): In function `srunner_run':
(.text+0x90d): undefined reference to `timer_create'
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/libcheck.a(check_run.o): In function `srunner_run':
(.text+0x96a): undefined reference to `timer_settime'
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/libcheck.a(check_run.o): In function `srunner_run':
(.text+0x9a1): undefined reference to `timer_delete'
collect2: error: ld returned 1 exit status
make[1]: *** [test/run] Error 1
make[1]: Leaving directory `/tmp/buildd/netcfg-1.111'

Attachment: signature.asc
Description: Digital signature


Reply to: