Problems compiling 1.3.98

Upstate Living Air (upstate1@cris.com)
Sun, 5 May 1996 18:44:05 -0400


I took the source tree from 1.3.96 and patched to 1.3.98

here is the problems with the make dep:
genksyms "ksyms.c": warning: symbol [do_mmap]: unknown 'struct sock'
genksyms "misc.c": warning: symbol [misc_register]: unknown 'struct sock'
genksyms "fatfs_syms.c": warning: symbol [fat_add_cluster]: unknown 'struct sock'
genksyms "msdosfs_syms.c": warning: symbol [msdos_create]: unknown 'struct sock'
genksyms "procfs_syms.c": warning: symbol [proc_register]: unknown 'struct sock'
genksyms "netsyms.c": warning: symbol [sock_register]: unknown 'struct sock'
genksyms "netsyms.c": input line 11019: Note: Unkown symbol 'sock_setsockopt'
genksyms "netsyms.c": input line 11020: Note: Unkown symbol 'sock_getsockopt'
genksyms "netsyms.c": input line 11021: Note: Unkown symbol 'sk_alloc'
genksyms "netsyms.c": input line 11022: Note: Unkown symbol 'sk_free'
genksyms "netsyms.c": input line 11024: Note: Unkown symbol 'sock_alloc_send_skb'
genksyms "netsyms.c": warning: symbol [skb_recv_datagram]: unknown 'struct ip_mc_list'
genksyms "netsyms.c": warning: symbol [skb_recv_datagram]: unknown 'struct net_alias_info'
genksyms "netsyms.c": warning: symbol [skb_recv_datagram]: unknown 'struct net_alias'
genksyms "netsyms.c": warning: symbol [skb_recv_datagram]: unknown 'struct tcphdr'
genksyms "netsyms.c": warning: symbol [skb_recv_datagram]: unknown 'struct iphdr'
genksyms "netsyms.c": warning: symbol [skb_recv_datagram]: unknown 'struct udphdr'
genksyms "p8022.c": warning: symbol [register_8022_client]: unknown 'struct sock'
genksyms "p8022.c": warning: symbol [register_8022_client]: unknown 'struct ip_mc_list'
genksyms "p8022.c": warning: symbol [register_8022_client]: unknown 'struct net_alias_info'
genksyms "p8022.c": warning: symbol [register_8022_client]: unknown 'struct net_alias'
genksyms "p8022.c": warning: symbol [register_8022_client]: unknown 'struct tcphdr'
genksyms "p8022.c": warning: symbol [register_8022_client]: unknown 'struct iphdr'
genksyms "p8022.c": warning: symbol [register_8022_client]: unknown 'struct udphdr'
genksyms "psnap.c": warning: symbol [register_snap_client]: unknown 'struct sock'
genksyms "psnap.c": warning: symbol [register_snap_client]: unknown 'struct ip_mc_list'
genksyms "psnap.c": warning: symbol [register_snap_client]: unknown 'struct net_alias_info'
genksyms "psnap.c": warning: symbol [register_snap_client]: unknown 'struct net_alias'
genksyms "psnap.c": warning: symbol [register_snap_client]: unknown 'struct tcphdr'
genksyms "psnap.c": warning: symbol [register_snap_client]: unknown 'struct iphdr'
genksyms "psnap.c": warning: symbol [register_snap_client]: unknown 'struct udphdr'
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'

then I compiled (make zImage) and recieved these errors:
gcc -D__KERNEL__ -I/usr/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 -DMODVERSIONS -DEXPORT_SYMTAB -c netsyms.c
netsyms.c:64: macro `_basic_version' used with just one arg
netsyms.c:65: macro `_basic_version' used with just one arg
netsyms.c:66: macro `_basic_version' used with just one arg
netsyms.c:67: macro `_basic_version' used with just one arg
netsyms.c:69: macro `_basic_version' used with just one arg
netsyms.c:64: `sock_setsockopt' undeclared here (not in a function)
netsyms.c:64: initializer element for `net_syms.symbol[3].addr' is not constant
netsyms.c:65: `sock_getsockopt' undeclared here (not in a function)
netsyms.c:65: initializer element for `net_syms.symbol[4].addr' is not constant
netsyms.c:66: `sk_alloc' undeclared here (not in a function)
netsyms.c:66: initializer element for `net_syms.symbol[5].addr' is not constant
netsyms.c:67: `sk_free' undeclared here (not in a function)
netsyms.c:67: initializer element for `net_syms.symbol[6].addr' is not constant
netsyms.c:69: `sock_alloc_send_skb' undeclared here (not in a function)
netsyms.c:69: initializer element for `net_syms.symbol[8].addr' is not constant
make[2]: *** [netsyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux/net'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [linuxsubdirs] Error 2

chris