Hi! I am having trouble compiling the latest kernel (2.6.15.5) with the latest gcc: Target: x86_64-unknown-linux-gnu Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,ada,c++,fortran,java,objc,obj-c++,treelang --disable-checking --libdir=/usr/lib64 --enable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit Thread model: posix gcc version 4.1.0 CC fs/nfs/nfs3proc.o In file included from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from include/linux/mm.h:4, from fs/nfs/nfs3proc.c:9: include/asm/mpspec.h:79: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[5u]’ In file included from include/asm/smp.h:22, from include/linux/smp.h:19, from include/linux/sched.h:26, from include/linux/mm.h:4, from fs/nfs/nfs3proc.c:9: include/asm/apic.h: In function ‘apic_write_atomic’: include/asm/apic.h:47: warning: value computed is not used CC fs/nfs/nfs3xdr.o In file included from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from include/linux/mm.h:4, from fs/nfs/nfs3xdr.c:11: include/asm/mpspec.h:79: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[5u]’ In file included from include/asm/smp.h:22, from include/linux/smp.h:19, from include/linux/sched.h:26, from include/linux/mm.h:4, from fs/nfs/nfs3xdr.c:11: include/asm/apic.h: In function ‘apic_write_atomic’: include/asm/apic.h:47: warning: value computed is not used CC fs/nfs/direct.o In file included from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from fs/nfs/direct.c:42: include/asm/mpspec.h:79: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[5u]’ In file included from include/asm/smp.h:22, from include/linux/smp.h:19, from include/linux/sched.h:26, from fs/nfs/direct.c:42: include/asm/apic.h: In function ‘apic_write_atomic’: include/asm/apic.h:47: warning: value computed is not used fs/nfs/direct.c: In function ‘nfs_get_user_pages’: fs/nfs/direct.c:110: warning: implicit declaration of function ‘nfs_free_user_pages’ fs/nfs/direct.c: At top level: fs/nfs/direct.c:127: warning: conflicting types for ‘nfs_free_user_pages’ fs/nfs/direct.c:127: error: static declaration of ‘nfs_free_user_pages’ follows non-static declaration fs/nfs/direct.c:110: error: previous implicit declaration of ‘nfs_free_user_pages’ was here make[2]: *** [fs/nfs/direct.o] Error 1 make[1]: *** [fs/nfs] Error 2 make: *** [fs] Error 2 obelix:/usr/src/linux # Regards, Peter Loibl