Subject: Problem compiling beta 11

From: "Scott W. Tyree" <[email-masked]>
Date: Tue, 25 Jun 1996 11:53:36 -0400 (EDT)

I get the following when compiling wu-ftpd 2.4.2 beta 11 on a SunOs
4.1.3_U1 system.

Any help would be appericated.

Thanks,
Scott
-----
# ./build s41
make args are : 
make opts are : 

Linking Makefiles.

Making support library.
cc -g -DDEBUG   -c fnmatch.c
cc -g -DDEBUG   -c strcasestr.c
cc -g -DDEBUG   -c strerror.c
cc -g -DDEBUG   -c strsep.c
cc -g -DDEBUG   -c authuser.c
cc -g -DDEBUG    -target sun4 -c  syslog.c
cc -g -DDEBUG   -c vsnprintf.c
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strerror.o strsep.o authuser.o
syslog.o vsnprintf.o
ranlib libsupport.a

Making ftpd.
cc -g -DDEBUG -I.. -I../support -L../support  -target sun4 -c  ftpd.c
"ftpd.c", line 3406: syntax error at or near variable name "const"
"ftpd.c", line 3489: const undefined
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'

Making ftpcount.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-Bstatic -lsupport
ld: vers.o: No such file or directory
*** Error code 4
make: Fatal error: Command failed for target `ftpcount'

Making ftpshut.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-Bstatic -lsupport
ld: vers.o: No such file or directory
*** Error code 4
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
cc -g -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c
-Bstatic -lsupport

Links to executables are in bin directory:
size: bin/ftpd not found
size: bin/ftpcount not found
size: bin/ftpshut not found
size: bin/ftpwho not found
text	data	bss	dec	hex
57344	49152	0	106496	1a000	bin/ckconfig
Done
#
-----

-------------------------------+------------------------------
Scott W. Tyree                 | e-mail: [email-masked]
Senior Systems Programmer      | Phone: (301) 805-7306
Institute for Defense Analyses - Center for Computing Sciences