[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Error when install ns-allinone-2.1b5a
Hi,
I met the following error when I tried to install ns-allinone-2.1b5a on
RedHat7.0 Linux.
This is the error message:
-------------------------------------------------------------------------
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:42,
from rng.h:51,
from random.h:43,
from random.cc:41:
/usr/include/string.h:245: 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:248: type specifier omitted for parameter
/usr/include/string.h:248: parse error before `0'
/usr/include/string.h:248: 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 ...
-------------------------------------------------------------------------
Does anybody have the idea of what's going on, and what should I do with it?
Thanks in advance.
Best regards,
HL
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com