Andy09
30.01.05, 15:27
Hi Leute,
bin kurz davor in die Tischkante zu beissen.
Ich habe mit SuSE 8.2 und ftpfs ohne Probleme Kompilieren können und
anschließend FTP-Server in mein /home-Verzeichnis mounten können.
Jetzt will ich das gleiche mit SuSE 9.1 machen. Nichts zu machen, ich be-
komme das Teil einfach nicht kompliliert. Kernel ist bei mir 2.6.0
backup:/home/andy/Install/ftpfs-0.6.2-k2.4 # make install
make[1]: Entering directory `/home/andy/Install/ftpfs-0.6.2-k2.4/ftpfs'
gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -Wall -I- -I. -I/lib/modules/'uname-r'/build/include -DMODULE -D__KERNEL__ -DLINUX -DEXPORT_SYMTAB -DCONFIG_M386 -c cache.c -o cache.o
In file included from /usr/include/linux/percpu.h:5,
from /usr/include/linux/sched.h:31,
from /usr/include/linux/module.h:9,
from cache.c:2:
/usr/include/linux/slab.h:86:27: kmalloc_sizes.h: No such file or directory
In file included from cache.c:8:
ftpfs.h:48: error: parse error before "kdev_t"
ftpfs.h:48: warning: no semicolon at end of struct or union
ftpfs.h:55: error: 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: error: incompatible types in assignment
cache.c: In function `ftp_cache_get':
cache.c:152: error: invalid operands to binary -
cache.c: In function `ftp_cache_invalidate':
cache.c:182: error: dereferencing pointer to incomplete type
cache.c:183: error: dereferencing pointer to incomplete type
make[1]: *** [cache.o] Error 1
make[1]: Leaving directory `/home/andy/Install/ftpfs-0.6.2-k2.4/ftpfs'
make: *** [install] Error 2
backup:/home/andy/Install/ftpfs-0.6.2-k2.4 #
Die eine Include-Angabe in proc.c habe ich bereits eingefügt. Ich hab hier
schon gesucht ohne Ende, doch leider bisher ohne Erfolg.
Hat einer von euch es geschafft ftpfs auf SuSE 9.1 zum kompilieren zu
bewegen?!
Gruß
Andy
bin kurz davor in die Tischkante zu beissen.
Ich habe mit SuSE 8.2 und ftpfs ohne Probleme Kompilieren können und
anschließend FTP-Server in mein /home-Verzeichnis mounten können.
Jetzt will ich das gleiche mit SuSE 9.1 machen. Nichts zu machen, ich be-
komme das Teil einfach nicht kompliliert. Kernel ist bei mir 2.6.0
backup:/home/andy/Install/ftpfs-0.6.2-k2.4 # make install
make[1]: Entering directory `/home/andy/Install/ftpfs-0.6.2-k2.4/ftpfs'
gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -Wall -I- -I. -I/lib/modules/'uname-r'/build/include -DMODULE -D__KERNEL__ -DLINUX -DEXPORT_SYMTAB -DCONFIG_M386 -c cache.c -o cache.o
In file included from /usr/include/linux/percpu.h:5,
from /usr/include/linux/sched.h:31,
from /usr/include/linux/module.h:9,
from cache.c:2:
/usr/include/linux/slab.h:86:27: kmalloc_sizes.h: No such file or directory
In file included from cache.c:8:
ftpfs.h:48: error: parse error before "kdev_t"
ftpfs.h:48: warning: no semicolon at end of struct or union
ftpfs.h:55: error: 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: error: incompatible types in assignment
cache.c: In function `ftp_cache_get':
cache.c:152: error: invalid operands to binary -
cache.c: In function `ftp_cache_invalidate':
cache.c:182: error: dereferencing pointer to incomplete type
cache.c:183: error: dereferencing pointer to incomplete type
make[1]: *** [cache.o] Error 1
make[1]: Leaving directory `/home/andy/Install/ftpfs-0.6.2-k2.4/ftpfs'
make: *** [install] Error 2
backup:/home/andy/Install/ftpfs-0.6.2-k2.4 #
Die eine Include-Angabe in proc.c habe ich bereits eingefügt. Ich hab hier
schon gesucht ohne Ende, doch leider bisher ohne Erfolg.
Hat einer von euch es geschafft ftpfs auf SuSE 9.1 zum kompilieren zu
bewegen?!
Gruß
Andy