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

[ns] Problems with ns-allinone-2.1b5



Hello !
******

I need to install ns-allinone-2.1b5 under Linux for
implement a special module. But when I want to compile
it, I get the folowing Error.
I have already patched geog.c and tclPosixStr.c.
Could you please help me ?

Sincerely yours

               Andreas Huber

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:243: declaration of C function oid memcpy(void *,
const
void *, unsigned int)' conflicts with
/usr/include/string.h:38: previous declaration oid * memcpy(void *, const
void *, unsigned int)' here
/usr/include/string.h:246: type specifier omitted for parameter
/usr/include/string.h:246: parse error before 
/usr/include/string.h:246: declaration of C function oid memset(...)'
conflicts with
/usr/include/string.h:55: previous declaration oid * memset(void *, int,
unsigned int)' here
make: *** [random.o] Error 1
Ns make failed! Exiting ...