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

Greg Ungerer gerg at snapgear.com
Tue Jan 2 22:21:10 EST 2007


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.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m68knommu-vmlinux.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
Url : http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20070103/4cf83243/m68knommu-vmlinux.bin


More information about the uClinux-dev mailing list