lkml.org 
[lkml]   [1999]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [2.2.0-pre4 and earlier] 8390 module dependencies
From
Date
alan@lxorguk.ukuu.org.uk (Alan Cox) writes:

> Ok can people seeing the 8390 symbol problems try something like this
> (untested but should be right ...)

> +EXPORT_SYMBOL(ethdev_init);
> +EXPORT_SYMBOL(ei_close);
> +EXPORT_SYMBOL(ei_interrupt);
> +EXPORT_SYMBOL(NS8390_init);

If I add `ei_open' to the set of exported symbols, it works fine when
ne.c is compiled as module and ne2k-pci.c is built into the kernel or
as a module. :)

But if ne.c is compiled into the kernel (and ne2k-pci.c as a module),
linking of vmlinux fails with

drivers/net/net.a(8390.o)(.kstrtab+0x0): multiple definition of `__kstrtab_ethdev_init'
net/network.a(sock_n_syms.o)(.kstrtab+0x6d5): first defined here
drivers/net/net.a(8390.o)(__ksymtab+0x0): multiple definition of `__ksymtab_ethdev_init'
net/network.a(sock_n_syms.o)(__ksymtab+0x3c8): first defined here

and so on. :(

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