[uClinux-dev] failed to compile 2.6.19 kernel when enabling module support

David Wu davidwu at arcturusnetworks.com
Tue Jan 2 23:32:07 EST 2007


Hi Greg,

Thanks for the patch and it solved the error.

On Tue, 02 Jan 2007 22:21:10 -0500, Greg Ungerer <gerg at snapgear.com> wrote:

> Hi David,
>
> David Wu wrote:
>> I noticed a compile error when enabling module support(CONFIG_MODULES=y)
>> in Clinux-dist-test-20061215 release.
>>
>> The error is in kernel/module.c:
>>
>> kernel/built-in.o: In function `__find_symbol':
>> module.c:(.text+0x1935c): undefined reference to  
>> `__stop___ksymtab_unused'
>> module.c:(.text+0x19362): undefined reference to  
>> `__start___ksymtab_unused'
>> module.c:(.text+0x19466): undefined reference to
>> `__stop___ksymtab_unused_gpl'
>> module.c:(.text+0x1946c): undefined reference to
>> `__start___ksymtab_unused_gpl'
>>
>> Does anyone know how this occurs?
>
> Yep, the m68knommu linker script is not including some new symbol
> sections. Try the attached patch, should fix it.

-- 
David Wu



More information about the uClinux-dev mailing list