[ns] fail re-compile zrp(2002) under ns-2(ns-allinone-2.28)

boygullit boygullit at gmail.com
Wed Apr 6 21:00:53 PDT 2005


Dear all;
      Does anyone have succeed install the ZRP2002(by Inamti) in
Ns-allinone-2.28.
I get some error when 'make' it.

zrp/zrp.h:29:1: warning: "NULL" redefined
In file included from /usr/include/stdlib.h:14,
                 from config.h:143,
                 from tools/random.h:41,
                 from zrp/zrp.cc:1:
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/include/stddef.h:399:1: warning:
this is the location of the previous definition
In file included from zrp/zrp.cc:7:
zrp/zrp.h:57: error: conflicting types for `typedef int32_t Query_ID'
zrp/zrp_table.h:23: error: previous declaration as `typedef int Query_ID'
zrp/zrp.cc:41:1: warning: "IERP_REQUEST_TIMEOUT" redefined
In file included from zrp/zrp.cc:7:
zrp/zrp.h:35:1: warning: this is the location of the previous definition
zrp/zrp.cc:49:1: warning: "MAX_ROUTE_LENGTH" redefined
zrp/zrp.cc:33:1: warning: this is the location of the previous definition
make: *** [zrp/zrp.o] Error 1



I don't know why.Even I change  `typedef int32_t Query_ID' to `typedef
int Query_ID'
.There are still have another error. 
So, your advice is appreciated.

thanks.

boygullit



More information about the Ns-users mailing list