Subject: installation wu-ftpd

From: "Veronique.Poher" <[email-masked]>
Date: Tue, 24 Oct 95 16:00:26 MET

Hi,

Je suis en train d'installer wu-ftpd-2.4 sur SunOS4.1 avec
compilateur C et unproto.
Mon Makefile me pose probleme.
Voici ce que j'obtiens:

-------------------------------------------------------------------------------
build s41
make args are : 
make opts are : 

Linking Makefiles.
ln: Makefile: File exists
ln: config.h: File exists
ln: Makefile: File exists

Making support library.
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strerror.o strsep.o authuser.o syslog.o
ranlib libsupport.a

Making ftpd.
cc -g -DDEBUG -I.. -I../support -L../support  -target sun4 -c  ftpd.c
"ftpd.c", line 131: syntax error at or near variable name "time_t"
"ftpd.c", line 131: const declared as parameter to non-function
"ftpd.c", line 133: syntax error at or near type word "char"
"ftpd.c", line 133: redeclaration of formal parameter, const
"ftpd.c", line 133: const declared as parameter to non-function
"ftpd.c", line 133: const declared as parameter to non-function
"ftpd.c", line 137: syntax error at or near type word "char"
"ftpd.c", line 138: syntax error at or near type word "char"
"ftpd.c", line 138: redeclaration of formal parameter, const
"ftpd.c", line 138: const declared as parameter to non-function
"ftpd.c", line 138: const declared as parameter to non-function
"ftpd.c", line 139: syntax error at or near type word "char"
"ftpd.c", line 139: redeclaration of formal parameter, const
"ftpd.c", line 139: const declared as parameter to non-function
"ftpd.c", line 139: const declared as parameter to non-function
"ftpd.c", line 140: syntax error at or near word "struct"
"ftpd.c", line 141: syntax error at or near word "struct"
"ftpd.c", line 143: syntax error at or near type word "char"
"ftpd.c", line 227: syntax error at or near type word "int"
"ftpd.c", line 228: syntax error at or near type word "int"
"ftpd.c", line 229: syntax error at or near type word "int"
"ftpd.c", line 230: syntax error at or near type word "char"
"ftpd.c", line 231: syntax error at or near type word "char"
"ftpd.c", line 255: syntax error at or near type word "int"
"ftpd.c", line 277: argv undefined
"ftpd.c", line 284: argv undefined
"ftpd.c", line 306: argv undefined
"ftpd.c", line 307: envp undefined
"ftpd.c", line 312: argc undefined
"ftpd.c", line 557: iop undefined
"ftpd.c", line 560: syntax error at or near type word "int"
"ftpd.c", line 560: fatal error: too many errors
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'

Making ftpcount.
`ftpcount' is up to date.

Making ftpshut.
cc -g -DDEBUG -I.. -I../support -L../support -E .c | unproto >.i
cpp: .c: No such file or directory
cc -g -DDEBUG -I.. -I../support -L../support -c .i
cc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o -lsupport
"ftpshut.c", line 61: syntax error at or near type word "char"
"ftpshut.c", line 68: buf undefined
"ftpshut.c", line 122: syntax error at or near type word "int"
"ftpshut.c", line 144: argc undefined
"ftpshut.c", line 144: argv undefined
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
`ckconfig' is up to date.
ln: ckconfig: File exists

Links to executables are in bin directory:
size: bin/ftpd not found
text    data    bss     dec     hex
8192    8192    0       16384   4000    bin/ftpcount
size: bin/ftpshut not found
size: bin/ftpwho not found
size: bin/ckconfig not an object file
Done
--------------------------------------------------------------------------

Quelqu'un peut-il me venir en aide ou me proposer un Makefile qui
 fonctionne ? Merci.

Bye Veronique
[email-masked]

---

From: Justin Young <[email-masked]>
Date: Tue, 24 Oct 1995 16:05:51 -0500 (CDT)

Bonjour, Veronique.
Please try replacing the ftp.h in your /usr/include/arpa directory with 
the one in the support?(or is it src?) of your wu-ftpd distribution.

Hope this helps.  (And that I'm not totally wrong.)

Justin Young          Student/Systems Asst
2212 Heck Young Rd.   Mechanical Engineering
Baker, LA 70714       Southern University
(504)-771-4070        [email-masked]