Subject: FW: problems compiling

From: [email-masked]
Date: Wed, 12 Jun 1996 18:59:26 -0400

Hello!

Is am having problems compiling wu-ftpd (2.4). My environment is a Sun
Ultra 170 with Solaris 2.5. I am
compiling using the following syntax:

build sol

The result of this is:

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
"strcasestr.c", line 34: warning: const is a keyword in ANSI C
"strcasestr.c", line 34: syntax error before or at: char
"strcasestr.c", line 34: parameter redeclared: const
"strcasestr.c", line 40: undefined symbol: find
"strcasestr.c", line 40: cannot dereference non-pointer type
"strcasestr.c", line 44: undefined symbol: s
"strcasestr.c", line 44: cannot dereference non-pointer type
"strcasestr.c", line 47: undefined symbol: s
"strcasestr.c", line 50: undefined symbol: s
make: Fatal error: Command failed for target `strcasestr.o'
"ftpcmd.y", line 578: syntax error before or at: )
"ftpcmd.y", line 862: cannot recover from previous errors
make: Fatal error: Command failed for target `ftpcmd.o'
"/usr/ucbinclude/sys/file.h", line 119: macro L_INCR redefines previous
macro at "./config.h", line 15
ld: fatal: file vers.o: cannot open file; errno=2
ld: fatal: library -lsupport: not found
ld: fatal: File processing errors. No output written to ftpcount
make: Fatal error: Command failed for target `ftpcount'
"/usr/ucbinclude/sys/file.h", line 119: macro L_INCR redefines previous
macro at "./config.h", line 15
ld: fatal: file vers.o: cannot open file; errno=2
ld: fatal: library -lsupport: not found
ld: fatal: File processing errors. No output written to ftpshut
make: Fatal error: Command failed for target `ftpshut'
ln: ../src/ckconfig and ckconfig are identical
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open

Has anyone seen this result before and know what is wrong?

I found the exact same question in the mailing list archive, but no reply
was available.
Thanks in advance,

Rick Barr
Research Systems Engineer
CIS EDS*WEB Services
EDS
[email-masked]

---

From: Michael Dean <[email-masked]>
Date: Thu, 13 Jun 1996 10:44:18 +1000 (EST)

> compiling using the following syntax:

Rick,

   It appears that you are using /usr/ucb/cc instead of the
`real' solaris compiler, /opt/SUNWspro/bin/cc - do you have this???

If not you will probably have to get some sort of binary distribution of
GCC...

hope this helps you out,
regards Michael...

------------------------------------------------------------------------------
Michael Dean, UNIX Systems Programmer, F.I.T. Q.U.T.,    07-3864-2556, ITE-616
[email-masked]                http://www.fit.qut.edu.au/staff/~michael

          Freak out, give in, doesn't matter what you believe in...
               Stay cool, and be somebody's fool this year...
       Cause they know, who is righteous, what is bold, so I'm told...

---

From: Daniel Leroux <[email-masked]>
Date: Thu, 13 Jun 1996 10:01:24 -0400

[email-masked] wrote:
> .......... (messages)

Hello Rick

I encountered similar problems while compiling this version
of wu-ftp on solaris 2.5     

With the version  wu-ftpd-2.4.2-beta-11 everything compiled just fine
you can find it at his address:
ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-11.tar.Z

Daniel
--
Daniel Leroux                      E-Mail:[email-masked]
GROUPE INTERUNIVERSITAIRE EN ARCHITECTURE DES ORDINATEURS ET VLSI
GRIAO - IRO
Pavillon Andre-Aisenstadt, local 3226
2900 Edouard-Montpetit
C.P. 6128, Succ. centre-ville
Montreal, Quebec  H3C 3J7

tel: 343-6111 (ext.3545) fax: 343-5834
http://www.iro.umontreal.ca/people/leroux