--- netsyms.c~ Tue Apr 8 11:47:47 1997
+++ netsyms.c Fri Apr 25 03:24:28 1997
@@ -59,6 +59,8 @@
extern int (*dlci_ioctl_hook)(unsigned int, void *);
#endif
+#include <net/sock.h>
+
static struct symbol_table net_syms = {
#include <linux/symtab_begin.h>
Absolutely no idea whether that is correct or just a hack, partly because
after that it compiles for me but doesn't link:
net/network.a(socket.o): In function `sock_init':
socket.o(.text+0x1b67): undefined reference to `export_net_symbols'
net/network.a(sysctl_net.o)(.data+0x6c): undefined reference to `e802_table'
net/network.a(sysctl_net.o)(.data+0x98): undefined reference to `ether_table'
make: *** [vmlinux] Error 1
It's almost 4am, and I'm a newbie, so bear with me if I did something
painfully stupid.
---------------------------------------------------------------------------
Tim Hollebeek | Disclaimer :=> Everything above is a true statement,
Electron Psychologist | for sufficiently false values of true.
Princeton University | email: tim@wfn-shop.princeton.edu
----------------------| http://wfn-shop.princeton.edu/~tim (NEW! IMPROVED!)