Subject: Problem building wu-ftpd-2.4 on Solaris 2.5

From: "Mike McBride" <[email-masked]>
Date: Thu, 20 Jun 1996 08:16:42 -0700

Hello, -

System is Solaris 2.5.  Software is wu-ftpd-2.4
Using gnu make and SUNWspro c compiler.

Does anyone have any insight why this is failing?

Thanks in advance,

Here's the output:

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.
cc -g -DDEBUG -I.. -I../support -L../support   -c ftpd.c -o ftpd.o
yacc  ftpcmd.y
mv -f y.tab.c ftpcmd.c
cc -g -DDEBUG -I.. -I../support -L../support   -c ftpcmd.c -o ftpcmd.o
"ftpcmd.y", line 1057: warning: argument is incompatible with prototype: arg
#2
cc -g -DDEBUG -I.. -I../support -L../support   -c glob.c -o glob.o
cc -g -DDEBUG -I.. -I../support -L../support   -c logwtmp.c -o logwtmp.o
cc -g -DDEBUG -I.. -I../support -L../support   -c popen.c -o popen.o
sh newvers.sh
cc -g -DDEBUG -I.. -I../support -L../support -c vers.c
cc -g -DDEBUG -I.. -I../support -L../support   -c access.c -o access.o
cc -g -DDEBUG -I.. -I../support -L../support   -c extensions.c -o
extensions.o
cc -g -DDEBUG -I.. -I../support -L../support   -c realpath.c -o realpath.o
cc -g -DDEBUG -I.. -I../support -L../support   -c acl.c -o acl.o
cc -g -DDEBUG -I.. -I../support -L../support   -c private.c -o private.o
cc -g -DDEBUG -I.. -I../support -L../support   -c authenticate.c -o
authenticate.o
cc -g -DDEBUG -I.. -I../support -L../support   -c conversions.c -o
conversions.o
cc -g -DDEBUG -I.. -I../support -L../support   -c hostacc.c -o hostacc.o
cc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o private.o
authenticate.o conversions.o hostacc.o -lsupport -lsocket -lnsl -lgen
ld: fatal: library -lgen: not found
ld: fatal: File processing errors.  No output written to ftpd
make: *** [ftpd] Error 1

Making ftpcount.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsupport -lsocket -lnsl -lgen
ld: fatal: library -lgen: not found
ld: fatal: File processing errors.  No output written to ftpcount
make: *** [ftpcount] Error 1
Making ftpshut.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-lsupport -lsocket -lnsl -lgen
ld: fatal: library -lgen: not found
ld: fatal: File processing errors.  No output written to ftpshut
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
bin/ftpwho: 7682 + 715 + 861 = 9258
bin/ckconfig: 3949 + 462 + 330 = 4741
Done

-- 
Michael McBride                        [email-masked]  
Senior Unix Systems Administrator      http://www.pcsi.com 
Pacific Communication Sciences, Inc.   voice: 619-535-9500
9645 Scranton Rd, San Diego, CA 92121  fax:   619-623-5765