LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2014, 03:25 PM   #31
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled

after install ns2.33, otcl-1.13 make failed, what happend

config.status: creating Makefile
rm -f libotcl.so otcl.o so_locations
gcc-4.4 -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/project/ns-allinone-2.33/include -I/home/project/ns-allinone-2.33/include -I/home/project/ns-allinone-2.33/include -I/include otcl.c
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/project/ns-allinone-2.33/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/project/ns-allinone-2.33/otcl-1.13/otcl.c:2284: undefined reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

and i try for make to otcl and the result here
make error

project@project:~/ns-allinone-2.33$
project@project:~/ns-allinone-2.33$ cd otcl-1.13/

project@project:~/ns-allinone-2.33/otcl-1.13$ make

rm -f libotcl.so otcl.o so_locations
gcc-4.4 -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/project/ns-allinone-2.33/include -I/home/project/ns-allinone-2.33/include -I/home/project/ns-allinone-2.33/include -I/include otcl.c
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/project/ns-allinone-2.33/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/project/ns-allinone-2.33/otcl-1.13/otcl.c:2284: undefined reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
project@project:~/ns-allinone-2.33/otcl-1.13$
 
  


Reply

Tags
g++41-compat-1204, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2.34 installation help in Ubuntu 10.10 xptional Ubuntu 44 02-20-2015 08:26 AM
how to install ns2 in ubuntu 11.10 miu Linux - Networking 20 10-31-2013 03:50 PM
ns2.29 installation in ubuntu bolmeteus Ubuntu 4 02-08-2011 02:46 PM
NS2 2.34 Ubuntu abc Linux - Networking 14 09-16-2010 06:58 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 02:44 AM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration