ksyms.c in 2.1.18

Jauder Ho (jauderho@umich.edu)
Mon, 30 Dec 1996 12:25:15 -0800 (PST)


this did NOT patch cleanly into 2.1.17 for me. upon further investigation
I found that I did not have anything resembling

extern void dump_thread(struct pt_regs *, struct user *);
extern int dump_fpu(elf_fpregset_t *);

in ksyms.c

any when I tried compiling 2.1.18, I get

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O3
-m486 -fomit-frame-pointer -fno-strength-reduce -pipe -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o
ksyms.o ksyms.c
ksyms.c:91: variable `symbol_table' has initializer but incomplete type
ksyms.c:99: warning: implicit declaration of function `X'
ksyms.c:99: `register_symtab_from' undeclared here (not in a function)
ksyms.c:99: warning: excess elements in struct initializer after
`symbol_table'
ksyms.c:101: warning: excess elements in struct initializer after
`symbol_table'
ksyms.c:103: warning: excess elements in struct initializer after
`symbol_table'
ksyms.c:107: warning: excess elements in struct initializer after
`symbol_table'
ksyms.c:108: warning: excess elements in struct initializer after
`symbol_table'
ksyms.c:109: warning: excess elements in struct initializer after
`symbol_table'
ksyms.c:110: warning: excess elements in struct initializer after
`symbol_table'
[same stuff]
ksyms.c:377: warning: excess elements in struct initializer after
`symbol_table'
ksyms.c:378: warning: excess elements in struct initializer after
`symbol_table'
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.18/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.18/kernel'
make: *** [linuxsubdirs] Error 2

This is without CONFIG_MODVERSIONS enabled....

--Jauder

.sig under construction