Kernel PPP driver broken in 2.4.10-pre14

Martin Heiss (mheiss99@uni.de)
Sat, 22 Sep 2001 17:47:26 +0200


Hi,
the linux kernel 2.4.10-pre14 ppp driver seems to be broken for me.
In kernels <= 2.4.9 it used to work fine!

When i try to insmod the "ppp_async" module it complains about "unresolved
symbol tty_register_ldisc" and therefore refuses to load.

After looking at the changes being introduced in 2.4.10-pre I was able to fix
the problem:

The problem is caused by the fact, that in 2.4.10-pre* the line
EXPORT_SYMBOL(tty_register_ldisc);
has been _removed_ from 'net/netsyms.c'

after readding this line (i added the "EXPORT_SYMBOL(tty_register_ldisc);"
right under the tty_register_ldisc declaration in "drivers/char/tty_io.c",
but "net/netsyms.c" should work too) and recompiling everything now works
fine for me. (ppp_async now loads correctly again)

Therefore I recommend you to readd the
EXPORT_SYMBOL(tty_register_ldisc);
line whereever you consider it the right place (e.g. drivers/char/tty_io.c
etc)

cu

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