Hi everybody,
I really want to use ns2.33.
I can not install ns2.33 on Ubuntu 13.10.
I tried the steps below:
1- update Ubuntu by:
... sudo apt-get update
... sudo apt-get install build-essential autoconf automake libmxu-dev
2- install ns2.33 in its folder by:
.../ns-allinone-2.33/$ ./install
but I got the following error:
Would you please help me to install ns2.33.
Thanks in advance.
Best regards,
Hamid
/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/tkUnixCursor.c: In function
‘TkpFreeCursor’:
/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/tkUnixCursor.c:408:5: warning:
implicit declaration of function ‘XFreeCursor’ [-Wimplicit-function-declaration]
XFreeCursor(unixCursorPtr->display, (Cursor) unixCursorPtr->info.cursor);
^
gcc -c -O2 -pipe -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC
-I/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix
-I/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/../generic
-I/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/../bitmaps
-I/home/hamid/NS/ns-allinone-2.33/tcl8.4.18/generic -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DSTATIC_BUILD=1
-DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1
-DTCL_NO_DEPRECATED
/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/tkUnixDraw.c
/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/tkUnixDraw.c: In function
‘TkScrollWindow’:
/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/tkUnixDraw.c:73:5: warning:
implicit declaration of function ‘XCopyArea’ [-Wimplicit-function-declaration]
XCopyArea(Tk_Display(tkwin), Tk_WindowId(tkwin), Tk_WindowId(tkwin), gc,
^
/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/tkUnixDraw.c:97:9: error: void
value not ignored as it ought to be
if (XEmptyRegion((Region) damageRgn)) {
^
/home/hamid/NS/ns-allinone-2.33/tk8.4.18/unix/tkUnixDraw.c:102:1: warning:
control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [tkUnixDraw.o] Error 1
tk8.4.18 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
hamid@ubuntu:~/NS/ns-allinone-2.33$