Hi Vinay (& list), I had the same problem compiling a uml kernel 2.6.7 and 2.6.8.1. I took a debian kernel-source package and applied the uml-patch for it. It seems that in ksyms.c "os_ioctl_generic" is declared twice. So I made a small patch for this problem. I attached it as file to my mail, but because it's so short, I copy&paste it quite under my post. It would be nice if a good kernel hacker would take a look at it. The UML works for me, but I'm not sure if I solved the problem correctly. Patch (works for 2.6.7 and 2.6.8 with the uml patch applied): diff -Naur kernel-source-2.6.7.orig/arch/um/kernel/ksyms.c kernel-source-2.6.7/$ --- kernel-source-2.6.7.orig/arch/um/kernel/ksyms.c 2004-08-19 15:23:52.000$ +++ kernel-source-2.6.7/arch/um/kernel/ksyms.c 2004-08-19 15:26:14.000000000 +$ @@ -87,7 +87,7 @@ EXPORT_SYMBOL(os_create_unix_socket); EXPORT_SYMBOL(os_connect_socket); EXPORT_SYMBOL(os_accept_connection); -EXPORT_SYMBOL(os_ioctl_generic); +/* EXPORT_SYMBOL(os_ioctl_generic); */ EXPORT_SYMBOL(os_rcv_fd); EXPORT_SYMBOL(run_helper); EXPORT_SYMBOL(start_thread); --Ralph Am Samstag 21 August 2004 14:34 schrieb Vinay K Nallamothu: > Hi List, > > While compiling I got the following error > > gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing > -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" > -D_LARGEFILE64_SOURCE -Iarch/um/include > -I/home/nvk/build/linux-2.6.8-uml1/arch/um/kernel/tt/include > -I/home/nvk/build/linux-2.6.8-uml1/arch/um/kernel/skas/include > -D_GNU_SOURCE -O2 -g -c -o arch/um/kernel/irq_user.o > arch/um/kernel/irq_user.c CC arch/um/kernel/ksyms.o > arch/um/kernel/ksyms.c:90: redefinition of `__kcrctab_os_ioctl_generic' > arch/um/kernel/ksyms.c:76: `__kcrctab_os_ioctl_generic' previously defined > here arch/um/kernel/ksyms.c:90: redefinition of > `__kstrtab_os_ioctl_generic' arch/um/kernel/ksyms.c:76: > `__kstrtab_os_ioctl_generic' previously defined here > arch/um/kernel/ksyms.c:90: redefinition of `__ksymtab_os_ioctl_generic' > arch/um/kernel/ksyms.c:76: `__ksymtab_os_ioctl_generic' previously defined > here > > > Vinay > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > User-mode-linux-devel mailing list > User-mode-linux-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel