* Exporting symbols between modules
@ 2005-08-24 7:48 Sergio Paracuellos
2005-08-24 8:19 ` Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: Sergio Paracuellos @ 2005-08-24 7:48 UTC (permalink / raw)
To: LINUX-KERNEL
Hi all,
I'm new in this list and I have some problems exporting symbols in a
module to see them in other module.
In the module I want to export the symbol I do:
tList list;
EXPORT_SYMBOL(list);
I compile it and install without any problem.
And in the module I want to use them I declare list with "extern"
prototype:
extern tList list;
When I compile the module It says me that list is undefined, and I don't
know what I am doing wrong.
Does anybody know what is happening?
Maybe a makefile example would be appreciated...
Thanks in advance.
Regards,
Sergio
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Exporting symbols between modules
2005-08-24 7:48 Exporting symbols between modules Sergio Paracuellos
@ 2005-08-24 8:19 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-08-24 8:19 UTC (permalink / raw)
To: Sergio Paracuellos; +Cc: LINUX-KERNEL
On Wed, Aug 24, 2005 at 09:48:38AM +0200, Sergio Paracuellos wrote:
> Hi all,
Hi Sergio,
> I'm new in this list and I have some problems exporting symbols in a
> module to see them in other module.
>
> In the module I want to export the symbol I do:
>
> tList list;
> EXPORT_SYMBOL(list);
>
> I compile it and install without any problem.
>
> And in the module I want to use them I declare list with "extern"
> prototype:
>
> extern tList list;
>
> When I compile the module It says me that list is undefined, and I don't
> know what I am doing wrong.
>
> Does anybody know what is happening?
>
> Maybe a makefile example would be appreciated...
>
> Thanks in advance.
1. the kernel-mentors list [1] is a better place for such questions
2. please post an URL to the full source of your driver, without it
debugging your problem is not possible
> Regards,
>
> Sergio
cu
Adrian
[1] http://selenic.com/mailman/listinfo/kernel-mentors
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-24 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 7:48 Exporting symbols between modules Sergio Paracuellos
2005-08-24 8:19 ` Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox