Hi, I want to use the gcov-kernel, so I got 2.4.20 kernel source from the kernel.org

And I patched with the gcov-2.4.20.patch

And then, I compile that sourcelike below


1.       make menuconfig : check the GCOV coverage profiling GCOV kernel, -GCOV kernel profiler

2.       Add CFLAGS += $(GCOV_FLAGS) in the Makefile

3.       make dep

4.       make clean

5.       make bzImage

But, I cant get bzImageThers is an Error..


Ld m elf_i386 Ttest 0x100000 e startup_32 o bvmlinux head.o misc.o piggy.o misc.o(.text+0x36fb): In function _GLOBAL__I_stack_startGCOV :: undefined reference to __bb_init_func

Make[2]: *** [bvmlinux] Error 1

Make[2]: Leaving directory /usr/src/linux-2.4.20/arch/i386/boot/compressed

Make[1]: *** [compressed/bvmlinux] Error 2

Make[1]: Leaving directory /usr/src/linux-2.4.20/arch/i386/boot

Make: ***[bzImage] Error 2


Whats the problem?? How can I compile it????


Red Hat Linux release 9 (Shrike)

GCC version : 3.2.2 20030222

GNU make : 3.79.1

Modutils : 2.4.22

Linux C Library : 2.3.2