NS2 Installation Problem on ubuntu 11.10

17 views
Skip to first unread message

Krishna

unread,
Dec 4, 2013, 7:03:44 AM12/4/13
to ns-u...@googlegroups.com
Dear all

     While installing ns2 on ubuntu 11.10 i have got following below errors ..
/home/vsriram/Desktop/glibc-build/elf/librtld.os: In function `print_statistics':
/home/vsriram/Desktop/libidn/elf/rtld.c:2800: undefined reference to `__stack_chk_fail_local'
/home/vsriram/Desktop/glibc-build/elf/librtld.os: In function `process_dl_debug':
/home/vsriram/Desktop/libidn/elf/rtld.c:2436: undefined reference to `__stack_chk_fail_local'
/home/vsriram/Desktop/glibc-build/elf/librtld.os: In function `process_envvars':
/home/vsriram/Desktop/libidn/elf/rtld.c:2695: undefined reference to `__stack_chk_fail_local'
/home/vsriram/Desktop/glibc-build/elf/librtld.os: In function `dl_main':
/home/vsriram/Desktop/libidn/elf/rtld.c:2316: undefined reference to `__stack_chk_fail_local'
/home/vsriram/Desktop/glibc-build/elf/librtld.os: In function `print_search_path':
/home/vsriram/Desktop/libidn/elf/dl-load.c:1567: undefined reference to `__stack_chk_fail_local'
/home/vsriram/Desktop/glibc-build/elf/librtld.os:/home/vsriram/Desktop/libidn/elf/dl-load.c:1787: more undefined references to `__stack_chk_fail_local' follow
collect2: ld returned 1 exit status
make[2]: *** [/home/vsriram/Desktop/glibc-build/elf/ld.so] Error 1
make[2]: Leaving directory `/home/vsriram/Desktop/libidn/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/home/vsriram/Desktop/libidn'
make: *** [all] Error 2

can any one solve this problem 
Thanks advance...
--

Krishna Pujeri

Selman HIZAL

unread,
Dec 4, 2013, 7:22:45 AM12/4/13
to ns-u...@googlegroups.com
Fix the error in the linking of otcl by editing line 6304 of otcl-1.13/configure so that it reads
SHLIB_LD="gcc -shared"
instead of
SHLIB_LD="ld -shared"

Also you will face many other problems due to your ns 2 installation. You will find installation ideas at http://erl1.wordpress.com/2011/10/14/installing-ns-2-34-on-ubuntu-11-10-oneiric-ocelot/
Reply all
Reply to author
Forward
0 new messages