On Monday 20 February 2006 12:08, Jan Kara wrote: > Hello, > > I've found two compilation problems with UML (both are present in > 2.6.16-rc4 kernels). The problem is with processor type selection.
Yes, you're right - I know of them, but I've never found the time to fix them. I hope to do this soon. > 1) If I select processor type i386 the compilation fails with: > > CC arch/um/kernel/asm-offsets.s > In file included from include/asm/atomic.h:9, > from include/linux/spinlock.h:231, > from include/linux/capability.h:45, > from include/linux/sched.h:7, > from arch/um/include/sysdep/kernel-offsets.h:2, > from arch/um/kernel/asm-offsets.c:1: > include/asm/arch/atomic.h: In function `atomic_add_return': > include/asm/arch/atomic.h:192: error: structure has no member named > `x86' > make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 > 2) If I select Athlon/Duron processor I get: > CC arch/um/kernel/asm-offsets.s > In file included from include/asm/string.h:4, > from include/linux/string.h:24, > from include/linux/bitmap.h:8, > from include/linux/cpumask.h:86, > from include/linux/sched.h:15, > from arch/um/include/sysdep/kernel-offsets.h:2, > from arch/um/kernel/asm-offsets.c:1: > include/asm/arch/string.h:288:21: asm/mmx.h: No such file or directory > In file included from include/asm/string.h:4, > from include/linux/string.h:24, > from include/linux/bitmap.h:8, > from include/linux/cpumask.h:86, > from include/linux/sched.h:15, > from arch/um/include/sysdep/kernel-offsets.h:2, > from arch/um/kernel/asm-offsets.c:1: > include/asm/arch/string.h: In function `__constant_memcpy3d': > include/asm/arch/string.h:298: warning: implicit declaration of function > `_mmx_memcpy' > include/asm/arch/string.h:298: warning: return makes pointer from > integer without a cast > include/asm/arch/string.h: In function `__memcpy3d': > include/asm/arch/string.h:305: warning: return makes pointer from > integer without a cast > make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 > Please CC me in reply as I'm not in the list. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user