compilation warnings in pre-2.0.4 (1.99.4):

ulmo@q.net
Tue, 14 May 1996 22:06:17 -0400


Excerpted from "make dep":

gcc -D__KERNEL__ -I/.1/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -E -D__GENKSYMS__ p8022tr.c | /sbin/genksyms -w /.1/src/linux/include/linux/modules
genksyms "p8022tr.c": warning: symbol [register_8022tr_client]: unknown 'struct sock'
genksyms "p8022tr.c": warning: symbol [register_8022tr_client]: unknown 'struct ip_mc_list'
genksyms "p8022tr.c": warning: symbol [register_8022tr_client]: unknown 'struct net_alias_info'
genksyms "p8022tr.c": warning: symbol [register_8022tr_client]: unknown 'struct net_alias'
genksyms "p8022tr.c": warning: symbol [register_8022tr_client]: unknown 'struct tcphdr'
genksyms "p8022tr.c": warning: symbol [register_8022tr_client]: unknown 'struct iphdr'
genksyms "p8022tr.c": warning: symbol [register_8022tr_client]: unknown 'struct udphdr'

These repeat a couple of times, and ``unknown 'struct sock''' repeats
much more frequently, for many different files.

during "make":

gcc -D__KERNEL__ -I/.1/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -g -c 53c7,8xx.c
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

(I'm pretty sure that's the stock Linux SCSI, not the FreeBSD one ...
I usually use the FreeBSD one when I actually use the SCSI.)