Yes, you are right, there is a problem now with Ubuntu 8.04(.1)
using 'g++-4.2.4' or g++-4.1 with ns-2.33 .
From the ending sequence, linking ( ns ) :
Quote:
/usr/bin/ld: ns: hidden symbol `__stack_chk_fail_local' in
/usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
|
http://ubuntuforums.org/showthread.php?t=352642
..... The suggestions do not work with ns-2.33 .
..... And other problems appear with g++-3.3 and g++-3.4 .
.....
http://www.google.com/search?hl=da&q...g&lr=&aq=f&oq=
http://www.jasonernst.com/2008/06/11...4-hardy-heron/
Quote : Edit the Makefile ? or use 'g++-4.0' .
http://packages.ubuntu.com/en/dapper/g++-4.0
You will need all this : g++-4.0_4.0.3-1ubuntu5_i386.deb
gcc-4.0-base_4.0.3-1ubuntu5_i386.deb cpp-4.0_4.0.3-1ubuntu5_i386.deb
gcc-4.0_4.0.3-1ubuntu5_i386.deb libstdc++6-4.0-dev_4.0.3-1ubuntu5_i386.deb
I installed the packages with : sudo dpkg -i <package>
Better unpack ns-2.33 to a new directory e.g. /home/user"/1/
... because 'make clean' is unsafe with ns-2.33 .
cd 1/ .. tar xvf ns-2.33.tar.gz .. cd ns-2.33/
./configure CXX=g++-4.0
make && sudo make install
.....