Well, the problem is solved (solution link: 
http://groups.google.com/group/sunUnix/browse_thread/thread/5645f39cfcffb201). 



________________________________
From: Atiqur Rahman <atiq...@yahoo.com>
To: ns-users@isi.edu
Sent: Monday, April 13, 2009 18:26:31
Subject: ns-2.33 on Solaris 10.


I am trying to install ns-2.33 on my Solaris Box. All dependencies are install 
succesfully.
But when installing ns it gives the following error during compilation:

g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG 
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H 
-DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE 
-Drng_test  -I. -I. -I/export/ar/Resources/NS/ns-allinone-2.33/tclcl-1.19 
-I/export/ar/Resources/NS/ns-allinone-2.33/otcl-1.13 
-I/export/ar/Resources/NS/ns-allinone-2.33/include 
-I/export/ar/Resources/NS/ns-allinone-2.33/include -I/usr/include/pcap -I./tcp 
-I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile 
-I./trace -I./routing -I./tools -I./classifier -I./mcast 
-I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr 
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv 
-I./satellite -I./wpan -o mobile/mip-reg.o mobile/mip-reg.cc
mobile/mip-reg.cc: In member function `void MIPMHAgent::reg()':
mobile/mip-reg.cc:429: error: `MIN' undeclared (first use this function)
mobile/mip-reg.cc:429: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
make: *** [mobile/mip-reg.o] Error 1
Ns make failed!


MD5 checksum of the downloaded file, ns-allinone-2.33.tar.gz
      59e886fdc7d9ca0a2d5c1b312a4fc2f0

System information:
     
Solaris 10 update 6, Intel (x86)


# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure 
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ 
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


Please help me resolving this issue or refer another version which can be 
successfully compiled on Solaris x86. Tell me if anymore info is required.

 

 Atiqur Rahman
(Student)
Computer Science and Engineering,
University of Dhaka,
Dhaka-1000.

Site(beta): http://atique.0fees.net
 

________________________________
 New Email names for you!  
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!


      New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

Reply via email to