Skip to contentSkip to conversation

2.4.10pre12 -- PPP compile problem; tty_register_ldisc hanging

DISCUSSION Mark Orr 3 participants 3 messages Sep 19, 2001 Char and misc drivers

lore
Share & tools
lore

Mark Orr

author
#0 lore raw

Just compiled up 2.4.10pre12 (w/ the wakeup_bdflush fix) and once modules are finished, on install+depmod it's telling me that ppp_async.c has an unresolved symbol tty_register_ldisc.

The pre12 patch shows it was removed from an EXPORT_SYMBOL line in net/netsyms.c.

--
Mark Orr
[email protected]

#1 lore raw
Quoted 7 lines

Just compiled up 2.4.10pre12 (w/ the wakeup_bdflush fix) and once modules are finished, on install+depmod it's telling me that ppp_async.c has an unresolved symbol tty_register_ldisc.

The pre12 patch shows it was removed from an EXPORT_SYMBOL line in net/netsyms.c.

The tty exports are now in the drivers/char/tty* files.

#2 lore raw
Quoted 1 line · Alan Cox

The tty exports are now in the drivers/char/tty* files.

I guess that it didnt get merged then because it's not there.

Here's the correct patch to be used instead of what I posted earlier...

drivers/char/tty_io.c renamed from drivers/char/tty_io.c.orig +2 -0
@@ -270,6 +270,8 @@
 	return 0;
 }
 
+EXPORT_SYMBOL(tty_register_ldisc);
+
 /* Set the discipline of a tty line. */
 static int tty_set_ldisc(struct tty_struct *tty, int ldisc)
 {
Signature · 8 lines
=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                               [email protected]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [email protected]
=====================================================================