LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   install ns2.33 under ubuntu 11.04 (http://www.linuxquestions.org/questions/linux-general-1/install-ns2-33-under-ubuntu-11-04-a-4175448727/)

farfattou 02-05-2013 10:42 AM

install ns2.33 under ubuntu 11.04
 
hi,
I'm trying to install ns2.33 under ubuntu 11.04 (I have already the ns2.34 installed)
I get this error:
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Erreur 1
otcl-1.13 make failed! Exiting ...

any help plz

knudfl 02-05-2013 10:54 AM

Ns-allinone-2.33 :
Please use the "gcc41-compat / g++41-compat compiler for 11.04".

Post # 17 here
http://www.linuxquestions.org/questi...571/page2.html
→ sudo dpkg -i gcc41-compat-4.1.2_i386.deb g++41-compat-4.1.2_i386.deb
.. Then reboot, and the binaries gcc41, g++41 are ready for use.

You may have to start from scratch, if the gcc/g++ version 4.5 was used.
I.e.: tar xvf ns-allinone-2.33.tar.gz && export CC=g++41 CXX=g++41 && ./install

.. Or do a 'make clean' in tcl8*/unix/, tk8*/unix/, otcl*/,
and delete the Makefile's if still present.

-

farfattou 02-05-2013 11:16 AM

hi,
I already have the gcc41 and ...

now I have got this error:


/home/../ns-allinone-2.33./tcl8.4.18/unix/../generic/regc_locale.c:216: attention : ‘punctRangeTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:228: attention : ‘punctCharTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:242: attention : ‘spaceRangeTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:248: attention : ‘spaceCharTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:256: attention : ‘lowerRangeTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:269: attention : ‘lowerCharTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:316: attention : ‘upperRangeTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:329: attention : ‘upperCharTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:376: attention : ‘graphRangeTable’ defined but not used
/home/../ns-allinone-2.33/tcl8.4.18/unix/../generic/regc_locale.c:498: attention : ‘graphCharTable’ defined but not used
make: *** [regcomp.o] Erreur 1
tcl8.4.18 make failed! Exiting .

:(

knudfl 02-05-2013 11:58 AM

#3 : Don't know. A corrupt 'ns-allinone-2.33.tar.gz' ? (Or a corrupt OS ?)
I have never seen errors at "tcl8.4.18 make".

.. And I get no errors in the required libraries on Ubuntu 11.04 with ...
tar xvf ns-allinone-2.33.tar.gz && export CC=g++41 CXX=g++41 && ./install

( Nam fails, but who cares, with already one 'nam' executable in /usr/local/bin/ ).

Did you start from scrath as suggested ?

-


All times are GMT -5. The time now is 02:15 PM.