RE: Question about modules

3 messages, 3 authors, 2003-03-03 · open the first message on its own page

RE: Question about modules

From: Jean-Denis Boyer <hidden>
Date: 2003-02-28 18:27:26

Everything works, till I try to insmod it: I get m8xx_cpm_alloc and
m8xx_cpm_hostalloc as unresolved symbols.
In commproc.c, add the following line:
  EXPORT_SYMBOL(m8xx_cpm_hostalloc);


Regards,

--------------------------------------------
 Jean-Denis Boyer, B.Eng., Technical Leader
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

RE: Question about modules

From: Ibon Gotxi Garcia <hidden>
Date: 2003-02-28 18:48:26

On Fri, 2003-02-28 at 18:27, Jean-Denis Boyer wrote:
quoted
Everything works, till I try to insmod it: I get m8xx_cpm_alloc and
m8xx_cpm_hostalloc as unresolved symbols.
In commproc.c, add the following line:
  EXPORT_SYMBOL(m8xx_cpm_hostalloc);

ok, i have already thought about that, but it means that my driver won't
work with "standard" kernels, isn't it?

people should change their kernel code to load my drivers, and that
isn't cool :(

thanks for your answer

Cheers
ibon.

Regards,

--------------------------------------------
 Jean-Denis Boyer, B.Eng., Technical Leader
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------
--
Ibon Gotxi Garcia [off-list ref]


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Question about modules

From: Tom Rini <hidden>
Date: 2003-03-03 22:12:05

On Fri, Feb 28, 2003 at 01:27:26PM -0500, Jean-Denis Boyer wrote:
quoted
Everything works, till I try to insmod it: I get m8xx_cpm_alloc and
m8xx_cpm_hostalloc as unresolved symbols.
In commproc.c, add the following line:
  EXPORT_SYMBOL(m8xx_cpm_hostalloc);
I'll bite... Dan is there a good reason this isn't exported?  Google
shows nothing to me :)

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help