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

[ns] Compilation problem: `u_int32_t' undeclared (first use this function)



Dear NS-Users
I am trying to compile CMU Package with ns-allinone-2.1b3 on Solaris 2.6.
I am able to install and compile ns-allinone-2.1b3 successfully on Solaris
2.6 but when i try to compile the CMU Package it gives me the following
error:

banyan:4 ns-allinone-2.1b3> cd ns-src
banyan:5 ns-src> make
c++ -c -I. -I./cmu -I./cmu/dsr -I./cmu/dsdv -I../TclCL -I../otcl
-I/grads/nagar/
.mosaic/image/ns-allinone-2.1b3/ns-src/../tk8.0/generic
-I../tcl8.0/generic  -DN
O_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM
-DHAV
E_LIBTCLCL1_0B5 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H
-DHAVE_LIBTK8_0
 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -Dabort=_ABORT -DMONARCH  -g
-Wall -o
 cmu/modulation.o cmu/modulation.cc
cmu/debug.h: In method `int HashSet::bucket(void *)':
In file included from cmu/modulation.cc:9:
cmu/debug.h:71: `u_int32_t' undeclared (first use this function)
cmu/debug.h:71: (Each undeclared identifier is reported only once
cmu/debug.h:71: for each function it appears in.)
cmu/debug.h:71: parse error before `>'
cmu/debug.h:72: warning: control reaches end of non-void function
`HashSet::buck
et(void *)'
make: *** [cmu/modulation.o] Error 1
banyan:6 ns-src>                

Any suggestions what should i do??

I will appreciate your help in this regard.
thanks
nitin
------------------------------------------------------------------------------
Nitin Nagar                            
Graduate Teaching Assistant                   (R) (775) 348-7176
Dept. of Computer Science                     [email protected]
University of Nevada,Reno
http://www.cs.unr.edu/~nagar
Reno NV-89557

Address:46 West 10th Street Reno NV-89503     
                                                          
------------------------------------------------------------------------------