Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!garlic.com!fox.almaden.ibm.com!uunet!in2.uu.net!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!news.thalgah.org!kayless.thalgah.org!rlf From: rlf@thalgah.org (Robert Leon Felix) Newsgroups: comp.unix.bsd.netbsd.misc Subject: wu-ftpd/i386 Date: 23 Apr 1996 20:51:20 GMT Organization: Thalgah's test site Lines: 73 Message-ID: <4ljfs8$2nu@kayless.thalgah.org> NNTP-Posting-Host: kayless.thalgah.org X-NNTP-Posting-Host: kayless.thalgah.org X-Newsreader: TIN [version 1.2 PL2] Anybody know of a fix for wu-ftp under NetBSD/i386? (Assuming what I have don't is not totally wrong that is ;-)) Below is what I had to do to get it to compile, when I install it it runs but keeps exiting. When you do an mget it gives you one file and the exits, syslog reports :- Apr 23 19:50:11 kayless ftpd[1926]: exiting on signal 11 The first file requested is delivered no problem but the server just shuts down afterwards. I've been told there is a patch for NetBSD, if anyone has it please post it or mail me. Below is what I've done, if it's a useless bodge please let me know (gently). ======================================================== Edited src/config/config.bsd Added NO_MALLOC_PROTO Removed SETPROCTITLE Edited src/makefiles/Makefile.bsd CC = gcc Added -O2 -m486 -pipe -fno-strength-reduce to CFLAGS Added -lcrypt to LIBES Edited src/ftpd.c Changed *realpath(char *pathname, char *result); to *realpath(const char *pathname, char *result); (so it would match my /usr/include files) Edited src/realpath.c Changed the declaration for realpath there as well as above I have no clue about this ! cc -O -DDEBUG -c authuser.c In file included from authuser.c:7: /usr/include/arpa/inet.h:76: warning: `struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:76: warning: its scope is only this definition or declaration, /usr/include/arpa/inet.h:76: warning: which is probably not what you want. /usr/include/arpa/inet.h:77: warning: `struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:77: warning: parameter has incomplete type /usr/include/arpa/inet.h:79: warning: parameter has incomplete type /usr/include/arpa/inet.h:81: warning: parameter has incomplete type cc -O -DDEBUG -c ftw.c rm -f libsupport.a ar cq libsupport.a fnmatch.o strcasestr.o authuser.o ftw.o ranlib libsupport.a (Edited for line length) ========================================================== I am using gcc2.7.2, i386/current (few weeks old), PCI/P100/scsi/32MB, if you need specs ask but I doubt it. To my resident guru, I know you said you'd mail me but I thought I'd try to help myself. -- rlf