linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: Question about modules
@ 2003-02-28 18:27 Jean-Denis Boyer
  2003-02-28 18:48 ` Ibon Gotxi Garcia
  2003-03-03 22:12 ` Tom Rini
  0 siblings, 2 replies; 10+ messages in thread
From: Jean-Denis Boyer @ 2003-02-28 18:27 UTC (permalink / raw)
  To: Ibon Gotxi Garcia; +Cc: Linux PPC embedded


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

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <1046783010.328.73.camel@muse>]
* Question about modules
@ 2003-02-28  9:36 Ibon Gotxi Garcia
  2003-02-28 16:47 ` bhupinder sahran
  0 siblings, 1 reply; 10+ messages in thread
From: Ibon Gotxi Garcia @ 2003-02-28  9:36 UTC (permalink / raw)
  To: Linux PPC embedded


I'm trying to write a simple module for an 8xx board using the SMC2.
Everything works, till I try to insmod it: I get m8xx_cpm_alloc and
m8xx_cpm_hostalloc as unresolved symbols.

I think that arch/ppc/8xx_io/commproc.c is properly compiled (I can see
both symbols on vmlinux), but somehow the build process strips them off
as they are unused (i cannot see them in /proc/ksyms in the target). Is
that right? Any clue to solve it? (having them in the target kernel
without modifying the original sources)

Many regards.
ibon

--
Ibon Gotxi Garcia <igotxi@jazzfree.com>

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-03-04 14:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-28 18:27 Question about modules Jean-Denis Boyer
2003-02-28 18:48 ` Ibon Gotxi Garcia
2003-03-03 22:12 ` Tom Rini
2003-03-03 22:23   ` Wolfgang Denk
     [not found] <1046783010.328.73.camel@muse>
2003-03-04 14:15 ` Wolfgang Denk
2003-03-04 14:26 ` Bret Indrelee
2003-03-04 14:25   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-02-28  9:36 Ibon Gotxi Garcia
2003-02-28 16:47 ` bhupinder sahran
2003-02-28 17:20   ` Ibon Gotxi Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).