[Sunhelp] need help compiling wu-ftpd-2.4

Srikanta Nayak srikanta.nayak at cablecom.ch
Wed Mar 8 13:13:40 CST 2000


Hello Everybody.

I would be very grateful to you if any can help me to compile wu-ftpd-2.4 on sparc-Sol-2.6 &
gcc. after changing cc=gcc in Makefile & compiling the following errors are observed.

 ./build sol
make args are :
make opts are :

Linking Makefiles.
ln: makefiles/Makefile.sol and Makefile are identical
ln: config/config.sol and config.h are identical
ln: makefiles/Makefile.sol and Makefile are identical

Making support library.
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
touch libsupport.a

Making ftpd.
gcc -g -DDEBUG -I.. -I../support -L../support   -c ftpd.c -o ftpd.o
In file included from ftpd.c:42:
config.h:31: undefined or invalid # directive
ftpd.c:143: conflicting types for `realpath'
/usr/include/stdlib.h:180: previous declaration of `realpath'
ftpd.c: In function `statcmd':
ftpd.c:1972: `typenames' undeclared (first use in this function)
ftpd.c:1972: (Each undeclared identifier is reported only once
ftpd.c:1972: for each function it appears in.)
ftpd.c:1974: `formnames' undeclared (first use in this function)
ftpd.c:1982: `strunames' undeclared (first use in this function)
ftpd.c:1982: `modenames' undeclared (first use in this function)
make: *** [ftpd.o] Error 1

Making ftpcount.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o -lsupport -lsocket
-lnsl -lgen
gcc: vers.o: No such file or directory
In file included from ftpcount.c:32:
config.h:31: undefined or invalid # directive
make: *** [ftpcount] Error 1

Making ftpshut.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o -lsupport -lsocket
-lnsl -lgen
gcc: vers.o: No such file or directory
In file included from ftpshut.c:37:
config.h:31: undefined or invalid # directive
make: *** [ftpshut] Error 1
Making ckconfig.
make: `ckconfig' is up to date.
ln: ../src/ckconfig and ckconfig are identical

Links to executables are in bin directory:
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open
bin/ckconfig: 7771 + 804 + 360 = 8935
Done


Looking for solutions .

Regards.

Mr.Shrikant.







More information about the SunHELP mailing list