LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Issue with NS2.34 with BGP patch (https://www.linuxquestions.org/questions/linux-networking-3/issue-with-ns2-34-with-bgp-patch-878984/)

tanmay288 04-09-2013 06:54 AM

Thank you sir, it worked...perfect!:-)

tanmay288 04-17-2013 10:11 AM

Sir, can u tell me how manually set 'local preference' attribute value in tcl program like we set values of other attribute
e.g.
Code:

$bgp_agent0 bgp-id 10.0.0.1
    $bgp_agent0 cluster-id 1000


tanmay288 06-07-2013 01:49 AM

Sir, is it possible to save "routing table" of nodes in a file?

ershiprashukla88 02-15-2015 08:44 AM

Problem in installation of ns-2.34 for bgp-mrai patch.
 
sir
i want to use ns-2.34 in ubuntu 12.04 so, i need gcc 4.1.
i have read your several posts in which you suggested to install gcc41 & g++41. Therefore installed
gcc41-compat*1210 //https://docs.google.com/file/d/0B7S255p3kFXNTlNURldUenRyb3c/edit?pli=1
g++41-compat //https://docs.google.com/file/d/0B7S255p3kFXNODIyODhhNDctZTRhMy00MDk4LWEzZDAtMThjMjljN2M2MGU4/edit?pli=1
when i used command
shipra@ubuntu:~/Desktop/ns-allinone-2.34$ export CC=gcc41 CXX=g++41 && ./install

it gives following errors.

Build tcl8.4.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc-4.1
checking whether the C compiler works... no
configure: error: in `/home/shipra/Desktop/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see
to see if they have a fix for your platform.

Please help..its urgent









Quote:

Originally Posted by knudfl (Post 4892819)
# 13




# 12
If sudo was used for any commands, you will have no access : Permission denied.
Delete everything, and do :
Code:

tar xvf ns-allinone-2.34.tar.gz && cd ns-allinone-2.34/ && tar xvf ns-2.34-bgp_2.0.tgz && patch -p0 < ns-2.34-bgp_2.0_patch && export CC=gcc41 CXX=g++41 && ./install


knudfl 02-15-2015 02:24 PM

← Post #49, @ershiprashukla88.

Still : Duplicate posts are not allowed at LQ.
! Read #164 → http://www.linuxquestions.org/questi...ml#post5317262

Ubuntu 12.04 : Use gcc-4.4 / g++-4.4, otcl_ns234_gcc-4.4.patch
http://www.linuxquestions.org/questi...-4175532199/#2
.... You have a `bgp´ button below the posts : Tags → All bgp at LQ.
http://www.linuxquestions.org/questions/tags/bgp/


What do you mean by `urgent´ ?
We are volunteers, answering in our spare time. Not urgent to us.


-


All times are GMT -5. The time now is 11:15 AM.