ubuntu 11.04 with ns2.29.3
hi knudfl
i try to install ns2.29.3 on ubuntu 11.04 (32 bit) i read threads http://www.linuxquestions.org/questi...-a-4175431350/ and using gcc41-compat, g++41-compat: http://www.linuxquestions.org/questi...571/page2.html Links in post # 17. but when install i had errors s/ns-allinone-2.29/include -I/include otcl.c otcl.c: In function OTclDispatch: otcl.c:504:1: error: invalid storage class for function AutoLoaderDP otcl.c:509:1: error: invalid storage class for function AutoLoader otcl.c:565:1: error: invalid storage class for function AddMethod otcl.c:580:1: error: invalid storage class for function RemoveMethod otcl.c:610:1: error: invalid storage class for function OTclDeleteProc otcl.c:704:1: error: invalid storage class for function ListKeys otcl.c:717:1: error: invalid storage class for function ListInstanceKeys otcl.c:731:1: error: invalid storage class for function ListProcKeys otcl.c:751:1: error: invalid storage class for function FindProc otcl.c:763:1: error: invalid storage class for function ListProcArgs otcl.c:798:1: error: invalid storage class for function ListProcDefault otcl.c:855:1: error: invalid storage class for function ListProcBody otcl.c:880:1: error: invalid storage class for function PrimitiveOInit otcl.c:926:13: error: invalid storage class for function PrimitiveODestroyNoFree otcl.c:929:1: error: invalid storage class for function PrimitiveODestroy otcl.c:935:1: error: invalid storage class for function PrimitiveODestroyNoFree otcl.c:1024:1: error: invalid storage class for function PrimitiveOCreate otcl.c:1048:1: error: invalid storage class for function PrimitiveCInit otcl.c:1066:1: error: invalid storage class for function PrimitiveCDestroy otcl.c:1161:1: error: invalid storage class for function PrimitiveCCreate otcl.c:1195:1: error: invalid storage class for function OTclOAllocMethod otcl.c:1216:1: error: invalid storage class for function OTclOInitMethod otcl.c:1243:1: error: invalid storage class for function OTclODestroyMethod otcl.c:1292:1: error: invalid storage class for function OTclOClassMethod otcl.c:1311:12: error: invalid storage class for function OTclCInfoMethod otcl.c:1314:1: error: invalid storage class for function OTclOInfoMethod otcl.c:1360:1: error: invalid storage class for function OTclOProcMethod otcl.c:1389:1: error: invalid storage class for function OTclONextMethod otcl.c:1405:1: error: invalid storage class for function OTclOSetMethod otcl.c:1421:1: error: invalid storage class for function OTclOUnsetMethod otcl.c:1469:1: error: invalid storage class for function OTclOInstVarMethod otcl.c:1506:1: error: invalid storage class for function OTclCAllocMethod otcl.c:1527:1: error: invalid storage class for function OTclCCreateMethod otcl.c:1569:1: error: invalid storage class for function OTclCSuperClassMethod otcl.c:1670:1: error: invalid storage class for function OTclCInfoMethod otcl.c:1786:1: error: invalid storage class for function OTclCInstProcMethod otcl.c:1815:1: error: nested function OTclAsObject declared extern otcl.c:1822:1: error: nested function OTclAsClass declared extern otcl.c:1829:1: error: nested function OTclGetObject declared extern otcl.c:1840:1: error: nested function OTclGetClass declared extern otcl.c:1851:1: error: nested function OTclCreateObject declared extern otcl.c:1862:1: error: nested function OTclCreateClass declared extern otcl.c:1873:1: error: nested function OTclDeleteObject declared extern otcl.c:1882:1: error: nested function OTclDeleteClass declared extern otcl.c:1891:1: error: nested function OTclAddPMethod declared extern otcl.c:1905:1: error: nested function OTclAddIMethod declared extern otcl.c:1914:1: error: nested function OTclRemovePMethod declared extern otcl.c:1921:1: error: nested function OTclRemoveIMethod declared extern otcl.c:1927:1: error: nested function OTclNextMethod declared extern otcl.c:1969:1: error: nested function OTclSetInstVar declared extern otcl.c:1983:1: error: nested function OTclGetInstVar declared extern otcl.c:1996:1: error: nested function OTclUnsetInstVar declared extern otcl.c:2009:1: error: nested function OTclSetObjectData declared extern otcl.c:2023:1: error: nested function OTclGetObjectData declared extern otcl.c:2034:1: error: nested function OTclUnsetObje can u help me |
BUNTUS 11 is WAY past it's end of life
with BUNTUS 14.10 released few months ago... in 10 DAYS Buntus 11 will hit it's END OF LIFE Buntus 11 is unsupported !!! install a supported version of Buntus !!! BUNTU 15.04 >>> http://cdimage.ubuntu.com/daily-live/current/ :hattip: |
@hibaa.
"http://www.linuxquestions.org/questi...571/page2.html" ... is not a valid link. * HOWTO copy a link address : Right click >> Select "Copy Link Location". Which compiler packages did you install ? Must be gcc41-compat-4.1.2_i386.deb + g++41-compat-4.1.2_i386.deb ... for the 32bits Ubuntu 11.04 >> $ sudo dpkg -i gcc41-compat-4.1.2_i386.deb g++41-compat-4.1.2_i386.deb $ cd /usr/bin/ $ ln -s ../gcc41/bin/gcc41 $ ln -s ../gcc41/bin/g++41 $ cd ns-allinone-2.29/ && export CC=gcc41 CXX=g++41 && ./install ? Why do you want ns-allinone-2.29.3 ? - |
i need to install nist mobility to simulate Vertical handover between wifi and wimax
after ./install i have this error: In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from ./../generic/../unix/tclUnixPort.h:39, from ./../generic/tclPort.h:27, from ./../generic/tclAlloc.c:29: /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory In file included from /usr/include/sys/socket.h:40, from ./../generic/../unix/tclUnixPort.h:139, from ./../generic/tclPort.h:27, from ./../generic/tclAlloc.c:29: /usr/include/bits/socket.h:381:24: error: asm/socket.h: No such file or directory make: *** [tclAlloc.o] Error 1 tcl8.4.11 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com |
Re #4.
REPEAT : Which 'gcc41-compat' package did you install ? Quote:
$ sudo apt-get install g++ automake libtool libxmu-dev - |
i used
gcc41-compat-4.1.2_i386.deb and i install "g++ automake libtool libxmu-dev " ???? ????? |
Re #6.
Then please do : 1) $ cd ns-allinone-2.29/ 2) $ tar xvf ns-2.29-nist-mob-022707.tgz 3) $ export CC=gcc41 CXX=g++41 && ./install ** Doesn't work on all Ubuntu versions. See "Note". Note : Please read posts #33, #34 here ... http://www.linuxquestions.org/questi...585/page3.html ... for hints about errors, and about the safe OS to use for nist-mob. All nist-mob INFO http://www.linuxquestions.org/questions/tags/nist-mob/ - |
All times are GMT -5. The time now is 06:29 AM. |