I tried to compile ftpfs-0.6.2 and make give me this error: >>> Source unpacked. gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -Wall -I- -I. -I/usr/src/linux/include -DMODULE -D__KERNEL__ -DLINUX -DEXPORT_SYMTAB -c cache.c -o cache.o In file included from /usr/src/linux/include/linux/percpu.h:4, from /usr/src/linux/include/linux/sched.h:31, from /usr/src/linux/include/linux/module.h:10, from cache.c:2: /usr/src/linux/include/linux/slab.h:86:27: kmalloc_sizes.h: No such file or directory In file included from /usr/src/linux/include/linux/percpu.h:4, from /usr/src/linux/include/linux/sched.h:31, from /usr/src/linux/include/linux/module.h:10, from cache.c:2: /usr/src/linux/include/linux/slab.h: In function `kmalloc': /usr/src/linux/include/linux/slab.h:92: warning: label `found' defined but not used In file included from cache.c:8: ftpfs.h: At top level: ftpfs.h:48: parse error before "kdev_t" ftpfs.h:48: warning: no semicolon at end of struct or union ftpfs.h:55: parse error before '}' token In file included from cache.c:9: ftpfs_proc.h:19: warning: `struct super_block' declared inside parameter list ftpfs_proc.h:19: warning: its scope is only this definition or declaration, which is probably not what you want cache.c: In function `ftp_cache_add': cache.c:111: incompatible types in assignment cache.c: In function `ftp_cache_get': cache.c:152: invalid operands to binary - cache.c: In function `ftp_cache_invalidate': cache.c:182: dereferencing pointer to incomplete type cache.c:183: dereferencing pointer to incomplete type make: *** [cache.o] Error 1 !!! ERROR: net-fs/ftpfs-0.6.2-r3 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. running linux 2.6.1-rc2 source is in /usr/src/linux gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) GNU Make 3.80 Host type: i686-pc-linux-gnu AMD Athlon(tm) XP 2100+ AuthenticAMD GNU/Linux Architecture: i686 USE="X gtk gtk2 -gnome Alsa dvd xml php mysql perl 3dnow gd gd-external flash tiff Apache2 java" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
use lufs