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'
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.
Samuel
Reply to: