From: Nigel H. <nh...@us...> - 2006-05-16 15:38:00
|
Jason, this may be a compiler problem. Would you tell me what version of the LCOV script you are running; and also the distro and version of the GCC compiler you are using? nigel. ltp...@li... wrote on 05/16/2006 08:59:29 AM: > > Forwarding this to the proper list > > --- > Paul Larson > Linux Technology Center > IBM Corporation > ph: (512) 838-9303 tl: 678-9303 > pl...@us... > ----- Forwarded by Paul Larson/Austin/IBM on 05/16/2006 07:56 AM ----- > > ltp...@li... wrote on 05/12/2006 01:50:03 PM: > > > I cannot compile the 2.6.9 or 2.6.11 kernel with the gcov patch. Both > > say that modversions.h is missing. > > > > CC drivers/gcov/gcov-proc.o > > /usr/src/kernels/linux-2.6.11/drivers/gcov/gcov-proc.c:31:31: > > linux/modversions.h: No such file or directory > > make[2]: *** [drivers/gcov/gcov-proc.o] Error 1 > > make[1]: *** [drivers/gcov] Error 2 > > make: *** [drivers] Error 2 > > > > I don't do the kernel much and I just know enough to get into trouble so > > forgive me if I say something completely idiotic. > > > > On the 2.6.9, I can comment out the include for modversions.h and it > > will compile but I will not the gcov files in /proc/gcov. They > > directory structure is there and there are a number of .tmp_... Files. > > > > I can also point it to the other modversions.h that is located in > > include/config/modversions.h which allows me to compile as well but I > > receive a number of warnings > > > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/microcode.ko needs > > unknown symbol __gcov_init > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/microcode.ko needs > > unknown symbol __gcov_merge_add > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k8 > > .ko needs unknown symbol __gcov_init > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k8 > > .ko needs unknown symbol __gcov_merge_add > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-s > > mi.ko needs unknown symbol __gcov_init > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-s > > mi.ko needs unknown symbol __gcov_merge_add > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/p4-clockmod > > .ko needs unknown symbol __gcov_init > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/p4-clockmod > > .ko needs unknown symbol __gcov_merge_add > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k6 > > .ko needs unknown symbol __gcov_init > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k6 > > .ko needs unknown symbol __gcov_merge_add > > WARNING: /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/msr.ko > > needs unknown symbol __gcov_init > > WARNING: /lib/modules/2.6.11-gcov/kernel/arch/i386/kernel/msr.ko > > needs unknown symbol __gcov_merge_add > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/crypto/aes-i586.ko needs > > unknown symbol __gcov_init > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/crypto/aes-i586.ko needs > > unknown symbol __gcov_merge_add > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/oprofile/oprofile.ko needs > > unknown symbol __gcov_init > > WARNING: > > /lib/modules/2.6.11-gcov/kernel/arch/i386/oprofile/oprofile.ko needs > > unknown symbol __gcov_merge_add > > > > > > Any suggestions? > > |