Ubuntu install Nox, compile make error, what should I do?

  
                

In the Ubuntu system operation, after compiling Nox and installing make error, what should I do if I encounter this problem? The following small series will introduce you to the solution to Make error when Ubuntu installs Nox. Interested friends may wish to understand it.

nox mounted at Ubuntu, make mistakes as follows:

"" "" collect2: ld returned 1 exit status

"" "" make [3] : *** [nox_core] Error 1

》》》 make[3]: Leaving directory `/usr/nox/build/src‘

》》》 make[2] : *** [all-recursive] Error 1

》》》 make[2]: Leaving directory `/usr/nox/build/src’

》》》 make[ 1]: *** [all-recursive] Error 1

》》》 make[1]: Leaving directory `/usr/nox/nox13oflib/build‘

》》》 Make: *** [all] Error 2 After checking the information, it was found in the reference [1] because nox can only be compiled successfully in the version above boost 1.50, and the boost version of Ubuntu 12.10 is 1.42. So to update boost, the method is to download the source code and compile it on the boost official website.

The following is a brief installation process

Installing a virtual machine: OpenFlow1.3_BiangHoo

IP:10.10.134.124

OS: ubuntu 12.10LTS

nox installation:

Install related dependencies:

sudo apt-get install autoconf automake g++ libtool swig make git-core libboost-dev libboost-test-dev libboost-filesystem- Dev libssl-dev libpcap-dev python-twisted python-simplejson python-dev

Also install libboost-all-dev and libttb-dev

apt-get install libboost-all-dev libttb -dev

Then go to the boost official website to download the source code and compile. I downloaded the 1.55 version. Then install boost to the /usr/local/directory

ie

. /bootstrap.sh --prefix=/usr/local/boost

Then

. /b2 install

Then run ldconfig to make the relevant libraries effective

Then download the nox source

git clone git://github.com/noxrepo/nox

cd nox

. /boot.sh

mkdir build

cd build

. . /. /configure --with-boost=/usr/local/boost #boost installation location

make

make install

can be installed successfully

Start nox

cd PATH_TO_NOX/nox/build/src

. /nox_core -i ptcp:6633

The above is the way Ubuntu does not pass the build after installing Nox. If you don't install Nox, or you can't pass make after installation, you can try this article. The way to solve it.

Copyright © Windows knowledge All Rights Reserved