From owner-freebsd-questions Mon Apr 22 16:46:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id D237F37B4D6 for ; Mon, 22 Apr 2002 16:46:32 -0700 (PDT) Received: from attbi.com ([12.252.0.125]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020422234632.FPCX2377.rwcrmhc51.attbi.com@attbi.com> for ; Mon, 22 Apr 2002 23:46:32 +0000 Message-ID: <3CC4A05A.8070803@attbi.com> Date: Mon, 22 Apr 2002 17:44:26 -0600 From: Aaron J Siegel User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Error building ns with tcl8.3 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 Hello I have upgraded X-libs to version 4.2 then uninstalled tcl8.3, tcl8.2, tk8.2, tk8.3, otcl and tclcl, then rebuilt all of them. I still receive the same error. I do have some packages out of date, they are all related to kde and gnome, I do not see any package out of date related to this port. The checksum is failing, I am getting the package from the home page (developers site http://www.isi.edu/nsnam/ns/). Should I rebuild my world string.h is part of the core distribution? Do you think throwing my computer across the room would fix this problem? 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). > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message