lkml.org 
[lkml]   [1999]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.3.13 CONFIG_SX=m brokenness
drivers/char/tty_io.c does:
#ifdef CONFIG_SX
extern int sx_init (void);
#endif
drivers/char/sx.c does:
#ifdef MODULE
#define sx_init init_module
#endif

So if CONFIG_SX = m, tty_io tries to get sx_init as an extern, but sx_init
is actually a C macro, therefore we get an undefined reference.

Not sure about the best fix...

LLaP
bero

--
Tired of waiting for Windows 2000?
STOP WAITING! http://www.ms-windows-2000.com/


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site