Bug - Re: memleak 'DeLuxe' detector, 2.0.32, patch

Randy Dees (rrd@amherst.com)
Fri, 5 Dec 1997 12:38:00 -0500


On Wed, Dec 03, 1997 at 11:18:54PM +0100, Ingo Molnar wrote:
>
> ok, this is the next, 'DeLuxe' version of the memleak detector, against
> vanilla 2.0.32.
>
Thanks - but it won't compile for me.
Fresh installation of vanilla 2.0.32. Compiles ok then install the patch:

patch -p1 < memleak-2.0.32-deluxe
no rejects

make dep clean zimage
compiles for a while, then...
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o 53c7,8xx.o 53c7,8xx.c
53c7,8xx.c: In function `allocate_cmd':
53c7,8xx.c:3470: `kfree' undeclared (first use this function)
53c7,8xx.c:3470: (Each undeclared identifier is reported only once
53c7,8xx.c:3470: for each function it appears in.)
53c7,8xx.c: At top level:
53c7,8xx.c:713: warning: `request_synchronous' defined but not used
53c7,8xx.c:761: warning: `request_disconnect' defined but not used
53c7,8xx.c:5415: warning: `ncr_state' defined but not used
make[3]: *** [53c7,8xx.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.32/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.32/drivers/scsi'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.32/drivers'
make: *** [linuxsubdirs] Error 2
[root@admin5 linux]#

Kernel is monolithic. Any ideas?

Thanks

-- 
 Randy Dees				| SCA:  Talorgen nei Wrguist	       
 ASI Systems Administration	|    a bard, formerly known as Myrddyn