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

[ns] [Fwd: HELP ME....PLEASE]






Hi All,
I downloaded the latest version of ns-2.1b8 and tried to install it .I
am getting the follwoing error  message about nam installation .Could
any expert guy can help me ...
Thanks a lot.
Aun
**********************************
* Build nam-1.0a10
============================================================
loading cache ./config.cache
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
No .configure file found in current directory
Continuing with default options...
checking host system type... i386-pc-solaris2.8
checking target system type... i386-pc-solaris2.8
checking build system type... i386-pc-solaris2.8
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -ansi -Wall ) works... yes
checking whether the C compiler (gcc -g -ansi -Wall ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... (cached) no
checking for socket in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for dcgettext in -lintl... (cached) no
checking for getnodebyname in -ldnet_stub... (cached) no
checking that c++ can handle -O2... yes
checking standard STL is available... yes
checking for zlib.h... -I../zlib-1.1.3
checking for libz1.1.3... -R../zlib-1.1.3 -L../zlib-1.1.3 -lz
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
checking for tcl.h... -I../include
checking for libtcl8.3... -R../lib -L../lib -ltcl8.3
checking for init.tcl... ../lib/tcl8.3
checking for tclsh8.3.2... (cached) ../bin/tclsh8.3
checking for tk.h... -I../include
checking for libtk8.3... -R../lib -L../lib -ltk8.3
checking for tk.tcl... ../lib/tk8.3
checking for libtcldbg... no
checking for otcl.h... -I../otcl-1.0a7
checking for libotcl1.0a7... -R../otcl-1.0a7 -L../otcl-1.0a7 -lotcl
checking for tclcl.h... -I../tclcl-1.0b11
checking for libtclcl... -R../tclcl-1.0b11 -L../tclcl-1.0b11 -ltclcl
checking for tcl2c++... ../tclcl-1.0b11
checking return type of random... long
checking for int8_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for u_int8_t... (cached) yes
checking for u_int16_t... (cached) yes
checking for u_int32_t... (cached) yes
checking for strtoq... (cached) yes
checking for strtoll... (cached) yes
checking size of long... (cached) 4
checking for __int64_t... no
checking for long long... yes
checking for int64_t... (cached) yes
checking which kind of 64-bit int to use... int64_t
checking for snprintf... (cached) yes
No explicit static compilation flag; setting V_STATIC to ""
checking for main in -ldl... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
creating autoconf.h
autoconf.h is unchanged
rm -f nam
c++   -o nam \
        tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o
packet.o node.o main.o trace.o queue.o drop.o animation.o agent.o
feature.o route.o transform.o paint.o state.o monitor.o anetmodel.o
random.o rng.o view.o graphview.o netgraph.o tracehook.o lan.o psview.o
group.o editview.o tag.o address.o animator.o wnetmodel.o nam_stream.o
enetmodel.o testview.o parser.o trafficsource.o gen/version.o
gen/nam_tcl.o  -R../tclcl-1.0b11
-L/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/tclcl-1.0b11 -ltclcl
-R../otcl-1.0a7
-L/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/otcl-1.0a7 -lotcl
-R../lib -L/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib -ltk8.3
-R../lib -L/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib
-ltcl8.3 -R../zlib-1.1.3
-L/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/zlib-1.1.3 -lz
-R/usr/openwin/lib -L/usr/openwin/lib -lXext -lX11 -lnsl -ldl -lm -ldl 
Undefined                       first referenced
 symbol                             in file
socket                             
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
getpeername                        
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
stdout                              main.o
recv                               
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
__strtod_internal                   netview.o
__lxstat                            nam_stream.o
accept                             
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
__strtoul_internal                  netmodel.o
send                               
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
bind                               
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
setsockopt                         
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclIOSock.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
__ctype_toupper                     netmodel.o
__ctype_b                           parser.o
getservbyname                      
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclIOSock.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
stderr                              xwd.o
getsockopt                         
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclIOSock.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
__strtol_internal                   netview.o
getsockname                        
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
listen                             
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
connect                            
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
ld: fatal: Symbol referencing errors. No output written to nam
collect2: ld returned 1 exit status
make: *** [nam] Error 1
Nam make failed! Continue ...
See http://www.isi.edu/nsnam/ns-problems.html for problems
ln: ns: File exists
Please compile your nam separately.
ln: xgraph: File exists
ln: sgb2ns: File exists
ln: sgb2hierns: File exists
ln: sgb2comns: File exists
ln: itm: File exists
ln: sgb2alt: File exists
ln: edriver: File exists
Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.3.2:      
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/{bin,include,lib}
tk8.3.2:               
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/{bin,include,lib}
otcl:          
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/otcl-1.0a7
tclcl:         
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/tclcl-1.0b11
ns:            
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/ns-2.1b8/ns
xgraph: /users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/xgraph-12.1
gt-itm:   /users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/itm,
edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns

----------------------------------------------------------------------------------

Please put
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/bin:/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/tcl8.3.2/unix:/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/tk8.3.2/unix
into your PATH environment; so that you'll be able to run
itm/tclsh/wish/xgraph.

IMPORTANT NOTICES:

(1) You MUST put
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/otcl-1.0a7,
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib, 
    into your LD_LIBRARY_PATH environment variable.
    If it complains about X libraries, add path to your X libraries 
    into LD_LIBRARY_PATH.
    If you are using csh, you can set it like:
                setenv LD_LIBRARY_PATH <paths>
    If you are using sh, you can set it like:
                export LD_LIBRARY_PATH=<paths>

(2) You MUST put
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/tcl8.3.2/library into
your TCL_LIBRARY environmental
    variable. Otherwise ns/nam will complain during startup.

(3) [OPTIONAL] To save disk space, you can now delete directories
tcl8.3.2 
    and tk8.3.2. They are now installed under
/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/{bin,include,lib}

After these steps, you can now run the ns validation suite with
cd ns-2.1b8; ./validate

For trouble shooting, please first read ns problems page 
http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing
list archive
for related posts.
********************************************
********************************************