[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] problem installing ns2.1b5



Hi,
I have been trying to install ns-allinone-ns2.1b5. i used the file
ns-allinone-ns2.1b5a.tar.gz.
there is some problem with the ns make. I checked the ns mailing list
archive and found that a few other people also reported the same problem
but could find no mail resolving the issue. Can someone please help me
out?
below is the error i obtain.
thanks.

Nipul.
-----------------------------------------------------------------
creating ./gen
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM
-DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H
-DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H
-DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1
-DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1
-DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1
-DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1  -I. -I../tclcl-1.0b8 -I../otcl-1.0a4
-I../tkbox/include -I../tclbox/include  -o random.o random.cc
In file included from ../tclcl-1.0b8/tclcl.h:41,
                 from rng.h:50,
                 from random.h:42,
                 from random.cc:40:
/usr/include/string.h:242: declaration of C function `void memcpy (void
*, const void *, unsigned int)' conflicts with
/usr/include/string.h:38: previous declaration `void *memcpy (void *,
const void *, unsigned int)' here
/usr/include/string.h:245: type specifier omitted for parameter
/usr/include/string.h:245: parse error before `0'
/usr/include/string.h:245: declaration of C function `void memset
(...)' conflicts with
/usr/include/string.h:55: previous declaration `void *memset (void *,
int, unsigned int)' here
make: *** [random.o] Error 1
Ns make failed! Exiting ...

--------------------------------------------------------------------