lkml.org 
[lkml]   [1999]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.13 CONFIG_SX=m brokenness
Hi Bernhard.

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

I haven't had a look at 2.3.13, but under 2.2.10 and 2.2.11, the same
undefined reference exists when that is hard compiled in, so I suspect
that it needs sorting out in both versions...

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html


-
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    [W:3.189 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site