![在 NS2.35 中安装 MP-OLSR](https://linux22.com/image/923851/%E5%9C%A8%20NS2.35%20%E4%B8%AD%E5%AE%89%E8%A3%85%20MP-OLSR.png)
先生,我想在 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.
请帮我解决这个问题,谢谢先生。