[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with compiling ns
Hallo,
I have tried to install ns-2.1b4 on Solaris 2.5.1 with gcc 2.6.3.
After having manually installed tcl, tk, otcl and tclcl the installation
of ns stops.
...
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B7 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A3
-DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H
-DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1
-DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A3=1
-DHAVE_TCLCL_H=1 -DHAVE_LIBTCLCL1_0B7=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1
-DHAVE_LIBDL=1 -I. -I/usr/openwin/include -I../tclcl-1.0b7 -I../otcl-1.0a3
-I/home/entcw7/matk/muellert/simulations/ns/ns-2.1b4/../tk8.0/generic
-I../tcl8.0/generic -o tcp-vegas.o tcp-vegas.cc
agent.h: In method `void VegasTcpAgent::output(int, int = 0)':
agent.h:92: method `class Packet * Agent::allocpkt() const' is protected
tcp-vegas.cc:392: within this context
agent.h:91: method `void Agent::idle()' is protected
tcp-vegas.cc:419: within this context
*** Error code 1
make: Fatal error: Command failed for target `tcp-vegas.o'
I could not find this problem on the problems page.
Can anybody help me what to do?
Thanks,
Torsten
***********************************************************************
* Torsten Mueller * Tel.: +49 351 463-4621 , 3942 *
* Dresden University of Technology * Fax: +49 351 463-7163 *
* Communications Laboratory * Email: *
* D-01062 Dresden, Germany * [email protected] *
* http://www.ifn.et.tu-dresden.de/~muellert *
***********************************************************************