Skip to contentSkip to conversation

Compile error with 2.6.8 patch

uml-devel James Roper 2 participants 2 messages Oct 8, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

I got the following compile error with the latest 2.6.8.1-1 UML patch from the website:
arch/um/kernel/ksyms.c:90: error: redefinition of __kcrctab_os_ioctl_generic' arch/um/kernel/ksyms.c:76: error: __kcrctab_os_ioctl_generic' previously defined here

Fixed it by removing the extra
EXPORT_SYMBOL(os_ioctl_generic);
at line 90 in ksyms.c

James

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 9 lines · James Roper

I got the following compile error with the latest 2.6.8.1-1 UML patch from the website:
arch/um/kernel/ksyms.c:90: error: redefinition of `__kcrctab_os_ioctl_generic' arch/um/kernel/ksyms.c:76: error:
`__kcrctab_os_ioctl_generic' previously defined here

Fixed it by removing the extra
EXPORT_SYMBOL(os_ioctl_generic);
at line 90 in ksyms.c

Yes, sorry, the fix is right, this bug is known, and is fixed in the incremental patches. It wasn't noticed on release because it does not show up when compiling without module support as Jeff Dike is used to do.

Signature · 13 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel