2.0.30 compile trouble

Tim Hollebeek (tim@franck.Princeton.EDU)
Fri, 25 Apr 1997 03:39:30 -0400 (EDT)

I get errors do to sock_setsockopt, sk_alloc, and two other functions being
unknown in net/netsyms.c without the following:

--- 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 *);

+#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!)