在 NS2.35 中安装 MP-OLSR

在 NS2.35 中安装 MP-OLSR

先生,我想在 NS2.35 上安装 MP-OLSR。我已经在寻找它了,但到目前为止还没有找到,我尝试了以下代码:

tar xvf ns-allinone-2.35_gcc5.tar.gz

cd ns-allinone-2.35/
patch -p0 < mpolsr_umolsr-v1_ns235.patch
        ### Ubuntu
export CC=gcc447 CXX=g++447
        ### Fedora, RHEL, CentOS
export CC=gcc44 CXX=g++44
./install
cd ns-2.35/
cp ns ns235-mpolsr
sudo cp ns235-mpolsr /usr/local/bin/

但我在安装过程中发现了问题:

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... gcc44
checking whether the C compiler works... no
configure: error: in `/home/ubunto/Pratique/ns-allinone-2.35/tcl8.5.10/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.5.10 configuration failed! Exiting ...
Tcl is not part of the ns project.  Please see www.Scriptics.com
to see if they have a fix for your platform.

请帮我解决这个问题,谢谢先生。

相关内容