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

[ns] Problem - compiling ns2 on solaris with gcc



Hi all,
Merry Christmas and Happy New Year

Has anybody compiled ns-2.1a7b allinone package on Solaris platform with gcc
2.7.1. ( even after making changes to the LD_LIBRARY_PATH ).
This error occurs even with the latest snapshot of 28-12-2000.

The compilation goes smoothly till the linking phase which gives following
error.

c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DHAVE_S
TL -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DH
AVE_LIBOTCL1_0A6 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3
-DHAVE_TCL_H  -DHAVE_CONFIG_H -I. -I/home/deegee/ns2/ns-allinone-2.1b7a/tclc
l-1.0b10 -I/home/deegee/ns2/ns-allinone-2.1b7a/otcl-1.0a6 -I/home/deegee/ns2
/ns-allinone-2.1b7a/include -I/home/deegee/ns2/ns-allinone-2.1b7a/include -o
gen/ns_tcl.o gen/ns_tcl.cc
c++  -o ptypes2tcl ptypes2tcl.o
Undefined                       first referenced
symbol                             in file
TclObject::~TclObject(void)         ptypes2tcl.o
Scheduler virtual table             ptypes2tcl.o
ld: fatal: Symbol referencing errors. No output written to ptypes2tcl
collect2: ld returned 1 exit status
make: *** [ptypes2tcl] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems



Deegee.