Subject: errors in build

From: [email-masked] (Brent Balfanz)
Date: Tue, 20 Feb 1996 10:13:09 -0600

hi all,

any ideas on the following?  I'm spending way too much time on this 
and I need some help.  thanks much.

[email-masked]

# sh -x ./build sol
+ cat 
Usage: build <make-options> <target-platform>
  sol    : SunOS 5.x / Solaris 2.x
  clean  : Clean up object files and such to reduce disk space after building.
  install: Install ftpd.
maketarget=no-target
makeopts=
makeargs=
args=1
+ [ 1 -gt 0 ] 
+ [ no-target != no-target ] 
maketarget=sol
+ shift 
+ expr 1 - 1 
args=0
+ [ 0 -gt 0 ] 
+ echo make args are :  
make args are : 
+ echo make opts are :  
make opts are : 
+ echo  

+ echo Linking Makefiles. 
Linking Makefiles.
+ cd src 
+ ln makefiles/Makefile.sol Makefile 
ln: makefiles/Makefile.sol and Makefile are identical
+ ln config/config.sol config.h 
ln: config/config.sol and config.h are identical
+ cd ../support 
+ ln makefiles/Makefile.sol Makefile 
ln: makefiles/Makefile.sol and Makefile are identical
+ echo  

+ echo Making support library. 
Making support library.
+ cd ../support 
+ make 
cc -g -DDEBUG   -c fnmatch.c
cc -g -DDEBUG   -c strcasestr.c
cc -g -DDEBUG   -c strsep.c
cc -g -DDEBUG   -c authuser.c
"/usr/include/arpa/inet.h", line 46: warning: dubious tag declaration: struct in_addr
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
touch libsupport.a
+ echo  

+ echo Making ftpd. 
Making ftpd.
+ cd ../src 
+ make ftpd 
cc -g -DDEBUG -I.. -I../support -L../support  -c  ftpd.c
"ftpd.c", line 512: warning: semantics of ">" change in ANSI C; use explicit cast
"ftpd.c", line 532: warning: semantics of ">" change in ANSI C; use explicit cast
"ftpd.c", line 759: warning: semantics of ">" change in ANSI C; use explicit cast
"ftpd.c", line 1972: undefined symbol: typenames
"ftpd.c", line 1972: cannot dereference non-pointer type
"ftpd.c", line 1974: undefined symbol: formnames
"ftpd.c", line 1974: cannot dereference non-pointer type
"ftpd.c", line 1982: undefined symbol: strunames
"ftpd.c", line 1982: cannot dereference non-pointer type
"ftpd.c", line 1982: undefined symbol: modenames
"ftpd.c", line 1982: cannot dereference non-pointer type
cc: acomp failed for ftpd.c
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'
+ echo  

+ echo Making ftpcount. 
Making ftpcount.
+ make ftpcount 
cc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o -lsupport -lsocket -lnsl -lgen 
ld.so.1: ld: fatal: libld.so.2: can't open file: errno=2
Fatal error in /usr/ccs/bin/ld
Status 9
*** Error code 9
make: Fatal error: Command failed for target `ftpcount'
+ echo  

+ echo Making ftpshut. 
Making ftpshut.
+ make ftpshut 
cc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o -lsupport -lsocket -lnsl -lgen
ld.so.1: ld: fatal: libld.so.2: can't open file: errno=2
Fatal error in /usr/ccs/bin/ld
Status 9
*** Error code 9
make: Fatal error: Command failed for target `ftpshut'
+ echo  

+ echo Making ckconfig. 
Making ckconfig.
+ make ckconfig 
cc -g -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c
ld.so.1: ld: fatal: libld.so.2: can't open file: errno=2
Fatal error in /usr/ccs/bin/ld
Status 9
*** Error code 9
make: Fatal error: Command failed for target `ckconfig'
+ cd .. 
+ [ ! -d bin ] 
+ cd bin 
+ rm -f ftpd ftpcount ftpshut 
+ [ -s ../src/ftpd ] 
+ [ -s ../src/ftpcount ] 
+ [ -s ../src/ftpshut ] 
+ [ -s ../src/ftpshut ] 
+ [ -s ../src/ckconfig ] 
+ cd .. 
+ echo  

+ echo Links to executables are in bin directory: 
Links to executables are in bin directory:
+ size bin/ftpd bin/ftpcount bin/ftpshut bin/ftpwho bin/ckconfig 
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open
size: bin/ckconfig: cannot open
+ echo Done 
Done