"make mrproper" fixed it, thanks all for the responses! Jiaqi
On Thu, Mar 8, 2012 at 6:43 PM, walter harms <[email protected]> wrote: > are you sure you made a 'make mrproper' ? > according to the errors i suspect that menuconfig interface still > has the old objects. > > re, > wh > > > > Am 08.03.2012 10:52, schrieb Jiaqi Tan: >> Hi, >> >> I'm sorry if this has been asked before, but has anyone tried >> compiling Busybox on x86 for gcov coverage testing before? I tried >> using CFLAGS="-fprofile-arcs -ftest-coverage" but the compilation >> failed with the following errors: >> >> HOSTLD scripts/kconfig/conf >> scripts/kconfig/conf.o: In function `global constructors keyed to >> 65535_0_input_mode': >> HOME/busybox/scripts/kconfig/conf.c:612: undefined reference to `__gcov_init' >> scripts/kconfig/conf.o:(.data+0x84): undefined reference to >> `__gcov_merge_add' >> scripts/kconfig/zconf.tab.o: In function `global constructors keyed to >> 65535_0_kconf_id_lookup': >> HOME/busybox/out-grep-gcov/scripts/kconfig/zconf.tab.c:2172: undefined >> reference to `__gcov_init' >> scripts/kconfig/zconf.tab.o:(.data+0x624): undefined reference to >> `__gcov_merge_add' >> collect2: ld returned 1 exit status >> make[4]: *** [scripts/kconfig/conf] Error 1 >> make[3]: *** [silentoldconfig] Error 2 >> make[2]: *** [include/autoconf.h] Error 2 >> make[1]: *** [_all] Error 2 >> make: *** [all] Error 2 >> >> Has anyone managed to successfully compile Busybox for gcov testing before? >> >> Thanks! >> Jiaqi >> _______________________________________________ >> busybox mailing list >> [email protected] >> http://lists.busybox.net/mailman/listinfo/busybox >> >> _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
