Re: Exporting symbols between modules
From: Adrian Bunk
Date: Wed Aug 24 2005 - 03:25:37 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/