From owner-freebsd-questions Wed Mar 27 22:10:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id 3FB0B37B41B for ; Wed, 27 Mar 2002 22:10:01 -0800 (PST) Received: from rocket455 ([208.191.203.119]) by mta4.rcsntx.swbell.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GTO000SP6GO6E@mta4.rcsntx.swbell.net> for questions@freebsd.org; Thu, 28 Mar 2002 00:10:00 -0600 (CST) Date: Thu, 28 Mar 2002 00:09:40 -0600 From: Stephen Hoover Subject: WU-FTP 2.6.2 compile error on 4.5 p2 To: questions@freebsd.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am not sure if this is the right place for this question, but I thought its where I would start. I am trying compile wu-ftp 2.6.2 on 4.5 p2. I get the following error: su-2.05a# make (cd support ; make all) gcc -g -O2 -c -o authuser.o authuser.c gcc -g -O2 -c -o ftw.o ftw.c rm -f libsupport.a ar cq libsupport.a authuser.o ftw.o ranlib libsupport.a (cd util/privatepw ; make all) (sh ../../src/newvers.sh) gcc -g -O2 -L../../support -lcrypt -lsupport -o privatepw privatepw.c ../../src/COPYRIGHT.c vers.c /tmp/ccwHuddF.o: In function `main': /root/wu-ftpd-2.6.2/util/privatepw/privatepw.c(.text+0x6c2): warning: tmpnam() possibly used unsafely; consider using mkstemp() (cd src ; make all) gcc -g -O2 -I.. -I../support -c -o COPYRIGHT.o COPYRIGHT.c byacc ftpcmd.y mv -f y.tab.c ftpcmd.c sh newvers.sh gcc -g -O2 -I.. -I../support -c -o vers.o vers.c gcc -g -O2 -I.. -I../support -c -o ftpd.o ftpd.c In file included from ftpd.c:83: proto.h:295: conflicting types for `strcasestr' /usr/include/string.h:86: previous declaration of `strcasestr' *** Error code 1 Stop in /root/wu-ftpd-2.6.2/src. *** Error code 1 Stop in /root/wu-ftpd-2.6.2. I can also reproduce this error on a base install of 4.5 (right off the cd with no updates) Using the exact same distribution file, with the exact same ./configure --disable-anonymous configure options, this compiles perfectly in 4.4 p7. Any help would be appreciated. Stephen Hoover D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message