Re: wanpipe module has unresolved symbols

Krzysztof G. Baranowski (kgb@manjak.knm.org.pl)
Sun, 13 Dec 1998 16:22:33 +0100 (EET)


On Sun, 13 Dec 1998, Krzysztof G. Baranowski wrote:
> > /usr/src/linux.2.1.131 # modprobe wanpipe
> > /lib/modules/2.1.131/net/wanpipe.o: unresolved symbol
> > register_wan_device
> You have to load wanrouter module first.
Argh, I missed the fact that the original poster had
CONFIG_WAN_ROUTER=y. The obvious patch is below:

Kris

--- linux-2.1.131/net/wanrouter/wanmain.c-orig Sun Dec 13 15:44:37 1998
+++ linux/net/wanrouter/wanmain.c Sun Dec 13 16:08:56 1998
@@ -689,12 +690,10 @@
return 0;
}

-#ifdef MODULE
EXPORT_SYMBOL(register_wan_device);
EXPORT_SYMBOL(unregister_wan_device);
EXPORT_SYMBOL(wanrouter_encapsulate);
EXPORT_SYMBOL(wanrouter_type_trans);
-#endif

/*
* End

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/