Subject: wu-ftpd v2.4 on Solaris 2.5 compile problem...help!

From: "Maria Y. Ng - Database Systems Administrator" <[email-masked]>
Date: Wed, 17 Apr 1996 18:31:52 -0700

I'm encounter the following errors when I try to make ftpd..I am using
gcc V2.7.1:

...can anyone please tell me how I can resolve this?  
thanks :o)

Maria
-- 
_________________________________________________________________________
[email-masked]			Real Estate Group
Database Systems Administrator		MAC 0101-068, 6th Floor 
http://syssupport.wellsfargo.com	Fax 415-781-4645
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.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -I /usr/local/include -L../support -L /usr/local/lib  -c  ftpcmd.c
ftpcmd.y: In function `print_groups':
ftpcmd.y:1521: `NGROUPS_MAX' undeclared (first use this function)
ftpcmd.y:1521: (Each undeclared identifier is reported only once
ftpcmd.y:1521: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `ftpcmd.o'

Making ftpcount.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -I /usr/local/include -L../support -L /usr/local/lib -o ftpcount ftpcount.c vers.o -lsupport -lsocket -lnsl -lgen 
gcc: vers.o: No such file or directory
ftpcount.c: In function `acl_countusers':
ftpcount.c:215: warning: assignment makes pointer from integer without a cast
*** Error code 1
make: Fatal error: Command failed for target `ftpcount'

Making ftpshut.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -I /usr/local/include -L../support -L /usr/local/lib -o ftpshut ftpshut.c vers.o -lsupport -lsocket -lnsl -lgen
gcc: vers.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -I /usr/local/include -L../support -L /usr/local/lib -o ckconfig ckconfig.c
ld: fatal: file crt1.o: cannot open file; errno=2
ld: fatal: file crti.o: cannot open file; errno=2
ld: fatal: file crtbegin.o: cannot open file; errno=2
ld: fatal: library -lgcc: not found
ld: fatal: library -lgcc: not found
ld: fatal: file crtend.o: cannot open file; errno=2
ld: fatal: file crtn.o: cannot open file; errno=2
ld: fatal: File processing errors.  No output written to ckconfig
*** Error code 1
make: Fatal error: Command failed for target `ckconfig'

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
size: bin/ckconfig: cannot open
Done

---

From: "Maria Y. Ng - Sr. Database Systems Administrator" <[email-masked]>
Date: Fri, 19 Apr 1996 13:24:34 -0700

Thanks Stephen for the advice, but it didn't solve my problem.  Got
anymore hints??

I'm no good at debugging C so if anyones got any ideas, please let me
know.  

Thanks, Maria

Stephen Thompson wrote:
> 
> Run newvers.sh in the src tree and it will solve one of your problems

Linking Makefiles.

Making support library.
rm -f libsupport.a

Making ftpd.

Making ftpcount.

Making ftpshut.

Making ckconfig.

---

From: Stephen Thompson <[email-masked]>
Date: Sat, 20 Apr 1996 08:15:31 +1000

>I'm no good at debugging C so if anyones got any ideas, please let me

interesting.. it still says it can't find vers.o.. you did run
src/runvers.sh so vers.o should be seen.. what build option are you
calling??