[2039] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Linux-1.3.72: PPP=y, SLIP=m ==> slip can't get slhc symbols

daemon@ATHENA.MIT.EDU (Horst von Brand)
Sun Mar 10 03:32:39 1996

To: linux-net@vger.rutgers.edu, linux-ppp@vger.rutgers.edu
Date: 	Sat, 09 Mar 1996 09:34:54 -0300
From: Horst von Brand <vonbrand@sleipnir.valparaiso.cl>

By mistake I build a kernel that included PPP but had SLIP as a module.  The
result is that slhc.o is included in the kernel, but the SLIP module can't
find its symbols.  This was a mistake in my case, but I think that such a
configuration might be reasonable for somebody (I, for one, use mostly CSLIP
and would be tempted do do it the other way around). From the little I
understand about modules, module symbols are exported when the module is
loaded, other symbols have to be exported explicitly in ksyms.c, but I don't
understand the mechanics well enough to do it myself.

There are two solutions here:
- If something like slhc.o that is used by several other possible modules is
  included in the kernel, export its symbols
- Export the symbols just if some other module needs it

The first seems easier, and besides has the benefit that you can go back
later and stack another module on slhc that was not considered when the
kernel was first configured.

Sorry to send this to several lists.


home help back first fref pref prev next nref lref last post