From owner-freebsd-questions Sat Apr 20 10:25:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 5E2DC37B400 for ; Sat, 20 Apr 2002 10:25:54 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA11791; Sat, 20 Apr 2002 10:25:52 -0700 Message-ID: <3CC1A49F.4090307@owt.com> Date: Sat, 20 Apr 2002 10:25:51 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Aaron J Siegel Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Error building ns with tcl8.3 References: <3CC180D8.8080505@attbi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Aaron J Siegel wrote: > Hello > I am having trouble building ns with tcl 8.3 install. I edited the > Makefile for the ns port by replaceing all references to tcl 8.2 with > 8.3. Here is a copy of the error; > > c++ -c -I. -I/usr/local/include -I/usr/local/include > -I/usr/local/include/tk8.3 -I/usr/local/include/tcl8.3 -o logparse.o > logparse.cc > In file included from logparse.cc:39: > utils.h:110: declaration of C function `const char * strcasestr(const > char *, const char *)' conflicts with > /usr/include/string.h:86: previous declaration `char * strcasestr(const > char *, const char *)' here > *** Error code 1 > > Has anyone found a fix. I am running 4.5 Stable, the port tree is a few > weeks old (the port was last modified 16 months ago). Did you cvsup ports-all. You are trying to build what I have installed and I didn't have any problems. Of course, when you cvsup ports-all, you will have a lot more ports to build to be current. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message