undefined symbols of modules

Eugene Surovegin ebs at ebshome.net
Tue May 30 18:06:21 EST 2006


On Tue, May 30, 2006 at 09:45:46AM +0200, Josef Angermeier wrote:
> Hello,
> 
> when i try to compile my kernel extension as modul, i get some undefined 
> references. But a look in System.map shows, that the relevant symbols 
> are defined in the main kernel. Why then those undefined references ?

Symbol must be exported to be available for modules, just being listed 
in System.map isn't enough.

Try adding EXPORT_SYMBOL(...) for those "undefined" references.

-- 
Eugene



More information about the Linuxppc-embedded mailing list