Subject: Problems with compiling of wu-ftpd.2.4 under Solaris 2.5 (sparc)

From: sysadmin - ADEE <[email-masked]>
Date: Sat, 20 Apr 1996 15:48:28 +0200 (MET DST)

Hi,

I have some problems with compiling of wu-ftpd-2.4 under Solaris 2.5 (sparc)
(s. below) and don't know what the reason is.

Should I use another /usr/include/arpa/inet.h include file or modify
some of the source code of wu-ftpd?

Thank you in advance for any help.

regards,
Marek Schneider
[email-masked]

---
$ build sol
gcc: No input files
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.
gcc -g -DDEBUG   -c fnmatch.c
gcc -g -DDEBUG   -c strcasestr.c
gcc -g -DDEBUG   -c strsep.c
gcc -g -DDEBUG   -c authuser.c
In file included from authuser.c:7:
/usr/include/arpa/inet.h:76: warning: `struct in_addr' declared inside parameter list
/usr/include/arpa/inet.h:76: warning: its scope is only this definition or declaration,
/usr/include/arpa/inet.h:76: warning: which is probably not what you want.
/usr/include/arpa/inet.h:77: warning: `struct in_addr' declared inside parameter list
/usr/include/arpa/inet.h:77: warning: parameter has incomplete type
/usr/include/arpa/inet.h:79: warning: parameter has incomplete type
/usr/include/arpa/inet.h:81: warning: parameter has incomplete type
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
ftpd.c: In function `statcmd':
ftpd.c:2006: `typenames' undeclared (first use this function)
ftpd.c:2006: (Each undeclared identifier is reported only once
ftpd.c:2006: for each function it appears in.)
ftpd.c:2008: `formnames' undeclared (first use this function)
ftpd.c:2016: `strunames' undeclared (first use this function)
ftpd.c:2016: `modenames' undeclared (first use this function)
make: *** [ftpd.o] Error 1
.
.

---

From: Mike Arnold <[email-masked]>
Date: Mon, 22 Apr 1996 09:24:07 +0100

> ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o

I also got most of these errors, but the final ftpd works fine. unless
it doesn't make the ftpd then I wouldn't worry about it!

-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.