[ns] [bug] 2.1b9 doesn't compile "out of the box" on FreeBSD 4.5

Aaron J Siegel Aaron.Siegel@attbi.com
Sun Apr 28 13:45:28 2002


Hello
    I have had been receiving the same error when tying 
to compile ns under FreeBSD 4.5 (error message posted below).
 I did get ns-2.1b9 to compile under 4.4, I have posted the binary
 files, they appear to work in 4.5, I have included the config.log

http://engr.colostate.edu/~ajsiegel/ns/ns-bin-2.1b9.tar.gz

It was compiled with the following packages installed:
nam-1.0a9
otcl-1.0a7tcl-8.2.3_2       
tcl-8.2.3_2
tcl-8.3.4_4        
tclcl-1.0b11
tk-8.2.3          
tk-8.3.4_2

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