Wu-Ftpd Server compilieren

waldemar

waldemar

Jungspund
Hallo Leute,

ich habe folgendes Problem: Ich möchte den wu-ftp-Server installieren, und habe mir deshalb die Sourcen heruntergeladen. Wenn ich jetzt wie in der README Datei beschrieben ./build lnx eingebe bekomme ich folgende FM:

ftpd.c: In function `pass':
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
make: *** [ftpd.o] Error 1
ftpshut.c: In function `shutdown_msgfile':
ftpshut.c:110: error: dereferencing pointer to incomplete type
ftpshut.c:111: error: dereferencing pointer to incomplete type
ftpshut.c:112: error: dereferencing pointer to incomplete type
ftpshut.c:113: error: dereferencing pointer to incomplete type
ftpshut.c:114: error: dereferencing pointer to incomplete type
ftpshut.c: In function `main':
ftpshut.c:285: warning: assignment makes pointer from integer without a cast
ftpshut.c:290: warning: assignment makes pointer from integer without a cast
ftpshut.c:294: warning: assignment makes pointer from integer without a cast
ftpshut.c:295: error: dereferencing pointer to incomplete type
ftpshut.c:296: error: dereferencing pointer to incomplete type
ftpshut.c:298: error: dereferencing pointer to incomplete type
ftpshut.c:298: error: dereferencing pointer to incomplete type
make: *** [ftpshut.o] Error 1
size: bin/ftpd: No such file or directory
size: bin/ftpshut: No such file or directory


Kann mir jemand sagen, was ich falsch mache?

Waldemar
 
Ist das wirklich die gesamte felhermeldung? Oft kommen solche Meldungen, wenn in einer Datei eine Header-Datei eingebunden werden soll, die nicht existiert. Koenntest Du './build lnx > build.log 2>&1' eingeben und die Datei build.log hierherschicken?
 
Die Komplette Ausgabe lautet wie folgt:

make args are :
make opts are :

Copying Makefiles.

Linking src/config.h

Making support library.
make: `libsupport.a' is up to date.

Making ftpd.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s -DSHADOW_PASSWORD -c -o ftpd.o ftpd.c
ftpd.c: In function `pass':
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
ftpd.c:2879: error: invalid application of `sizeof' to an incomplete type
make: *** [ftpd.o] Error 1

Making ftpcount.
make: `ftpcount' is up to date.

Making ftpshut.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s -DSHADOW_PASSWORD -c -o ftpshut.o ftpshut.c
ftpshut.c: In function `shutdown_msgfile':
ftpshut.c:110: error: dereferencing pointer to incomplete type
ftpshut.c:111: error: dereferencing pointer to incomplete type
ftpshut.c:112: error: dereferencing pointer to incomplete type
ftpshut.c:113: error: dereferencing pointer to incomplete type
ftpshut.c:114: error: dereferencing pointer to incomplete type
ftpshut.c: In function `main':
ftpshut.c:285: warning: assignment makes pointer from integer without a cast
ftpshut.c:290: warning: assignment makes pointer from integer without a cast
ftpshut.c:294: warning: assignment makes pointer from integer without a cast
ftpshut.c:295: error: dereferencing pointer to incomplete type
ftpshut.c:296: error: dereferencing pointer to incomplete type
ftpshut.c:298: error: dereferencing pointer to incomplete type
ftpshut.c:298: error: dereferencing pointer to incomplete type
make: *** [ftpshut.o] Error 1

Making ftprestart.
make: `ftprestart' is up to date.

Making ckconfig.
make: `ckconfig' is up to date.

Making privatepw.
make: `privatepw' is up to date.

Executables are in bin directory:
size: bin/ftpd: No such file or directory
size: bin/ftpshut: No such file or directory
text data bss dec hex filename
6661 524 12 7197 1c1d bin/ftpcount
6577 444 12320 19341 4b8d bin/ftprestart
6661 524 12 7197 1c1d bin/ftpwho
5989 400 8224 14613 3915 bin/ckconfig
7886 544 352 8782 224e bin/privatepw
Done


MfG Waldemar
 
nimm proftp, vsftp oder was auch immer, nur kein wuftp :).
 

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

X startet nichtmehr

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Akonadi startet nicht mehr

Zurück
Oben