LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   build wu-ftpd problem !!!! (https://www.linuxquestions.org/questions/linux-newbie-8/build-wu-ftpd-problem-110414/)

iamthewind 10-30-2003 10:59 AM

build wu-ftpd problem !!!!
 

I build wu-ftpd-2.62 ,and failed , ftpd didn't appears , these is the information when I build it , who can tell me what's the problem ,,,,, any help is appreciate !!


[root@localhost wu-ftpd-2.6.2]# ./build lnx
IMPORTANT NOTICE

Beginning with version 2.6.0, the WU-FTPD Development Group is moving the build process to

use GNU Autoconf. Until this move is completed, both build systems will remain supported.

You are encouraged to use the new "configure" command to select options, then "make" to

compile the daemon. For details on this, read the README.AUTOCONF file. If problems occur,

please report them to the development group via email to wuftpd-members@wu-ftpd.org We are

soliciting feedback on the new configuration process, and your help is greatly appreciated.
If you choose to continue to use the original build process, bear in mind it will be phased

out over the next few releases: when we are reasonably sure the new configuration system

works for most target platforms.

Sleeping for five seconds, sorry for the interruption.
make args are :
make opts are :

Copying Makefiles.

Linking src/config.h

Making support library.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -c strcasestr.c
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -c authuser.c
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -c snprintf.c
rm -f libsupport.a
ar cq libsupport.a strcasestr.o authuser.o snprintf.o
ranlib libsupport.a

Making ftpd.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o COPYRIGHT.o COPYRIGHT.c
sh newvers.sh
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o vers.o vers.c
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o ftpd.o ftpd.c
ftpd.c: In function `pass':
ftpd.c:2879: sizeof applied to an incomplete type
ftpd.c:2879: sizeof applied to an incomplete type
ftpd.c:2879: sizeof applied to an incomplete type
ftpd.c:2879: sizeof applied to an incomplete type
ftpd.c:2879: sizeof applied to an incomplete type
ftpd.c:2879: sizeof applied to an incomplete type
make: *** [ftpd.o] Error 1

Making ftpcount.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o ftpcount.o ftpcount.c
gcc -L../support -s -o ftpcount COPYRIGHT.o vers.o ftpcount.o -lsupport -lresolv -lpam -ldl

-lcrypt

Making ftpshut.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o ftpshut.o ftpshut.c
ftpshut.c: In function `shutdown_msgfile':
ftpshut.c:110: dereferencing pointer to incomplete type
ftpshut.c:111: dereferencing pointer to incomplete type
ftpshut.c:112: dereferencing pointer to incomplete type
ftpshut.c:113: dereferencing pointer to incomplete type
ftpshut.c:114: 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: dereferencing pointer to incomplete type
ftpshut.c:296: dereferencing pointer to incomplete type
ftpshut.c:298: dereferencing pointer to incomplete type
ftpshut.c:298: dereferencing pointer to incomplete type
make: *** [ftpshut.o] Error 1

Making ftprestart.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o ftprestart.o ftprestart.c
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o rdservers.o rdservers.c
gcc -L../support -s -o ftprestart COPYRIGHT.o vers.o ftprestart.o rdservers.o -lsupport

-lresolv -lpam -ldl -lcrypt

Making ckconfig.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -c -o ckconfig.o ckconfig.c
gcc -L../support -s -o ckconfig COPYRIGHT.o vers.o ckconfig.o rdservers.o -lsupport

-lresolv -lpam -ldl -lcrypt

Making privatepw.
gcc -O3 -fomit-frame-pointer -fno-strength-reduce -pipe -I.. -I../support -L../support -s

-DUSE_PAM -L../support -s -o privatepw COPYRIGHT.o vers.o ../util/privatepw/privatepw.c

-lsupport -lresolv -lpam -ldl -lcrypt
/tmp/ccBNOp9Q.o(.text+0x3e6): In function `main':
: the use of `tmpnam' is dangerous, better use `mkstemp'

Executables are in bin directory:
size: bin/ftpd: no such file or directory <<<<=======-
text data bss dec hex filename
6801 536 12 7349 1cb5 bin/ftpcount
size: bin/ftpshut: no such file or directory <<<<=====-
6505 468 12320 19293 4b5d bin/ftprestart
6801 536 12 7349 1cb5 bin/ftpwho
5858 420 8224 14502 38a6 bin/ckconfig
7846 588 352 8786 2252 bin/privatepw
Done
[root@localhost wu-ftpd-2.6.2]#

<<<<======- points to the problems ,,,
why I haven't got the files ??
and ,,,, can I build wu-ftpd after I have installed vsftp ???
thanks in advance !!!

jacs 10-30-2003 02:29 PM

Did you run ./configure first otherwise download the package for you dist (you don tell which dist you are using so don't count on many replies).


All times are GMT -5. The time now is 09:22 AM.