2.1.79 compile errors

Martin Imrisek (modulus@interlog.com)
Sun, 18 Jan 1998 15:18:14 -0500 (EST)


I get these errors when I try to compile modules, with the following
being modularized.
This is from a 2.1.78 kernel that was patched with the 2.1.79 patch file.

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -D__SMP_PROF__ -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
-D__SMP__ -DMODULE -c -o shaper.o shaper.c
shaper.c: In function `shaper_queue_xmit':
shaper.c:257: structure has no member named `arp'
shaper.c: In function `shaper_cache':
shaper.c:460: warning: passing arg 1 from incompatible pointer type
shaper.c:460: warning: passing arg 2 from incompatible pointer type
shaper.c:460: too many arguments to function
shaper.c: In function `shaper_probe':
shaper.c:591: warning: assignment from incompatible pointer type
make[2]: *** [shaper.o] Error 1

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -D__SMP_PROF__ -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
-D__SMP__ -DMODULE -c -o cache.o cache.c
fatfs_syms.c:53: `fat_get_cluster' undeclared here (not in a function)
fatfs_syms.c:53: initializer element for `__ksymtab_fat_get_cluster.value'
is not constant
make[2]: *** [fatfs_syms.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/linux/fs/fat'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [modules] Error 2

Is there a patch for this?