你好,游客 登录 注册 搜索
背景:
阅读新闻

Ubuntu下Nox编译make不通过的解决方法和简要安装过程

[日期:2014-02-25] 来源:Linux社区  作者:bianghoo [字体:大 中 小]
From akram.hakiri at gmail.com  Sun May 12 03:46:33 2013
From: akram.hakiri at gmail.com (Akram Hakiri)
Date: Sun, 12 May 2013 12:46:33 +0200
Subject: [nox-dev] building nox and nox1.3
Message-ID: <518F7309.1050706@gmail.com>

Hi folks,

I want to build nox and nox1.3 on Ubuntu 12.04 but all the time I found 
the below errors. Someone can help me to fix this.

thanks,

Hakiri

./builtin/.libs/libbuiltin.so: undefined reference to 
`boost::filesystem::directory_entry::m_get_status(boost::system::error_code*) 
const'
./builtin/.libs/libbuiltin.so: undefined reference to 
`boost::filesystem::path::codecvt()'
collect2: ld returned 1 exit status
make[3]: *** [nox_core] Error 1
make[3]: Leaving directory `/home/hakiri/nox13oflib/build/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hakiri/nox13oflib/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hakiri/nox13oflib/build'
make: *** [all] Error 2




From zoltan.lajos.kis at ericsson.com  Sun May 12 05:34:52 2013
From: zoltan.lajos.kis at ericsson.com (=?iso-8859-1?Q?Zolt=E1n_Lajos_Kis?=)
Date: Sun, 12 May 2013 12:34:52 +0000
Subject: [nox-dev] building nox and nox1.3
In-Reply-To: <518F7309.1050706@gmail.com>
References: <518F7309.1050706@gmail.com>
Message-ID: <31933B4DC7AA83429608C10A9B1310751A2177D6@ESESSMB105.ericsson.se>

Hi,

Do you have the Boost libraries installed? You probably need at least libboost-dev and libboost-filesystem-dev.

Check out https://github.com/CPqD/ofsoftswitch13/wiki/OpenFlow-1.3-Tutorial for some info on building this NOX.

Regards,
Zoltan.

>-----Original Message-----
>From: nox-dev-bounces at lists.noxrepo.org [mailto:nox-dev-
>bounces at lists.noxrepo.org] On Behalf Of Akram Hakiri
>Sent: Sunday, May 12, 2013 12:47 PM
>To: nox-dev at lists.noxrepo.org
>Subject: [nox-dev] building nox and nox1.3
>
>Hi folks,
>
>I want to build nox and nox1.3 on ubuntu 12.04 but all the time I found the
>below errors. Someone can help me to fix this.
>
>thanks,
>
>Hakiri
>
>./builtin/.libs/libbuiltin.so: undefined reference to
>`boost::filesystem::directory_entry::m_get_status(boost::system::error_code
>*)
>const'
>./builtin/.libs/libbuiltin.so: undefined reference to
>`boost::filesystem::path::codecvt()'
>collect2: ld returned 1 exit status
>make[3]: *** [nox_core] Error 1
>make[3]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/hakiri/nox13oflib/build'
>make: *** [all] Error 2
>
>


From akram.hakiri at gmail.com  Sun May 12 08:03:38 2013
From: akram.hakiri at gmail.com (Akram Hakiri)
Date: Sun, 12 May 2013 17:03:38 +0200
Subject: [nox-dev] building nox and nox1.3
In-Reply-To: <31933B4DC7AA83429608C10A9B1310751A2177D6@ESESSMB105.ericsson.se>
References: <518F7309.1050706@gmail.com>
	<31933B4DC7AA83429608C10A9B1310751A2177D6@ESESSMB105.ericsson.se>
Message-ID: <518FAF4A.4080408@gmail.com>

I have all the dependencies installed, but I still have the same problem 
and the same output errors
when trying $make for noxcore and nox13.

How can I do, is there any other solution to solve this !

Thanks




Le 12/05/2013 14:34, Zolt?n Lajos Kis a ?crit :
> Hi,
>
> Do you have the Boost libraries installed? You probably need at least libboost-dev and libboost-filesystem-dev.
>
> Check out https://github.com/CPqD/ofsoftswitch13/wiki/OpenFlow-1.3-Tutorial for some info on building this NOX.
>
> Regards,
> Zoltan.
>
>> -----Original Message-----
>> From: nox-dev-bounces at lists.noxrepo.org [mailto:nox-dev-
>> bounces at lists.noxrepo.org] On Behalf Of Akram Hakiri
>> Sent: Sunday, May 12, 2013 12:47 PM
>> To: nox-dev at lists.noxrepo.org
>> Subject: [nox-dev] building nox and nox1.3
>>
>> Hi folks,
>>
>> I want to build nox and nox1.3 on ubuntu 12.04 but all the time I found the
>> below errors. Someone can help me to fix this.
>>
>> thanks,
>>
>> Hakiri
>>
>> ./builtin/.libs/libbuiltin.so: undefined reference to
>> `boost::filesystem::directory_entry::m_get_status(boost::system::error_code
>> *)
>> const'
>> ./builtin/.libs/libbuiltin.so: undefined reference to
>> `boost::filesystem::path::codecvt()'
>> collect2: ld returned 1 exit status
>> make[3]: *** [nox_core] Error 1
>> make[3]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/hakiri/nox13oflib/build'
>> make: *** [all] Error 2
>>
>>


From zoltan.lajos.kis at ericsson.com  Sun May 12 08:18:00 2013
From: zoltan.lajos.kis at ericsson.com (=?iso-8859-1?Q?Zolt=E1n_Lajos_Kis?=)
Date: Sun, 12 May 2013 15:18:00 +0000
Subject: [nox-dev] building nox and nox1.3
In-Reply-To: <518FAF4A.4080408@gmail.com>
References: <518F7309.1050706@gmail.com>
	<31933B4DC7AA83429608C10A9B1310751A2177D6@ESESSMB105.ericsson.se>
	<518FAF4A.4080408@gmail.com>
Message-ID: <31933B4DC7AA83429608C10A9B1310751A2179E4@ESESSMB105.ericsson.se>

There is definitely a solution; and it is more likely to be found in the boost community... I guess you are using a newer boost version than the one used for NOX. You could try downgrading to 1.42. Are the boost_system and boost_filesystem libraries linked by the build system when you get this error?


Zoltan

>-----Original Message-----
>From: Akram Hakiri [mailto:akram.hakiri at gmail.com]
>Sent: Sunday, May 12, 2013 5:04 PM
>To: Zolt?n Lajos Kis
>Cc: nox-dev at lists.noxrepo.org
>Subject: Re: [nox-dev] building nox and nox1.3
>
>I have all the dependencies installed, but I still have the same problem and
>the same output errors when trying $make for noxcore and nox13.
>
>How can I do, is there any other solution to solve this !
>
>Thanks
>
>
>
>
>Le 12/05/2013 14:34, Zolt?n Lajos Kis a ?crit :
>> Hi,
>>
>> Do you have the Boost libraries installed? You probably need at least
>libboost-dev and libboost-filesystem-dev.
>>
>> Check out https://github.com/CPqD/ofsoftswitch13/wiki/OpenFlow-1.3-
>Tutorial for some info on building this NOX.
>>
>> Regards,
>> Zoltan.
>>
>>> -----Original Message-----
>>> From: nox-dev-bounces at lists.noxrepo.org [mailto:nox-dev-
>>> bounces at lists.noxrepo.org] On Behalf Of Akram Hakiri
>>> Sent: Sunday, May 12, 2013 12:47 PM
>>> To: nox-dev at lists.noxrepo.org
>>> Subject: [nox-dev] building nox and nox1.3
>>>
>>> Hi folks,
>>>
>>> I want to build nox and nox1.3 on ubuntu 12.04 but all the time I
>>> found the below errors. Someone can help me to fix this.
>>>
>>> thanks,
>>>
>>> Hakiri
>>>
>>> ./builtin/.libs/libbuiltin.so: undefined reference to
>>> `boost::filesystem::directory_entry::m_get_status(boost::system::erro
>>> r_code
>>> *)
>>> const'
>>> ./builtin/.libs/libbuiltin.so: undefined reference to
>>> `boost::filesystem::path::codecvt()'
>>> collect2: ld returned 1 exit status
>>> make[3]: *** [nox_core] Error 1
>>> make[3]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/hakiri/nox13oflib/build'
>>> make: *** [all] Error 2
>>>
>>>


From akram.hakiri at gmail.com  Sun May 12 09:21:10 2013
From: akram.hakiri at gmail.com (Akram Hakiri)
Date: Sun, 12 May 2013 18:21:10 +0200
Subject: [nox-dev] building nox and nox1.3
In-Reply-To: <31933B4DC7AA83429608C10A9B1310751A2179E4@ESESSMB105.ericsson.se>
References: <518F7309.1050706@gmail.com>
	<31933B4DC7AA83429608C10A9B1310751A2177D6@ESESSMB105.ericsson.se>
	<518FAF4A.4080408@gmail.com>
	<31933B4DC7AA83429608C10A9B1310751A2179E4@ESESSMB105.ericsson.se>
Message-ID: <518FC176.8080403@gmail.com>

Yes, boost are linked by the system. Boost 1.46 is installed as default 
packages from ubuntu repo.
This is seems because I am using Ubuntu 12.04 and 12.10 which provides 
boost 1.46 and 1.48.

Thanks.


Le 12/05/2013 17:18, Zolt?n Lajos Kis a ?crit :
> There is definitely a solution; and it is more likely to be found in the boost community... I guess you are using a newer boost version than the one used for NOX. You could try downgrading to 1.42. Are the boost_system and boost_filesystem libraries linked by the build system when you get this error?
>
>
> Zoltan
>
>> -----Original Message-----
>> From: Akram Hakiri [mailto:akram.hakiri at gmail.com]
>> Sent: Sunday, May 12, 2013 5:04 PM
>> To: Zolt?n Lajos Kis
>> Cc: nox-dev at lists.noxrepo.org
>> Subject: Re: [nox-dev] building nox and nox1.3
>>
>> I have all the dependencies installed, but I still have the same problem and
>> the same output errors when trying $make for noxcore and nox13.
>>
>> How can I do, is there any other solution to solve this !
>>
>> Thanks
>>
>>
>>
>>
>> Le 12/05/2013 14:34, Zolt?n Lajos Kis a ?crit :
>>> Hi,
>>>
>>> Do you have the Boost libraries installed? You probably need at least
>> libboost-dev and libboost-filesystem-dev.
>>> Check out https://github.com/CPqD/ofsoftswitch13/wiki/OpenFlow-1.3-
>> Tutorial for some info on building this NOX.
>>> Regards,
>>> Zoltan.
>>>
>>>> -----Original Message-----
>>>> From: nox-dev-bounces at lists.noxrepo.org [mailto:nox-dev-
>>>> bounces at lists.noxrepo.org] On Behalf Of Akram Hakiri
>>>> Sent: Sunday, May 12, 2013 12:47 PM
>>>> To: nox-dev at lists.noxrepo.org
>>>> Subject: [nox-dev] building nox and nox1.3
>>>>
>>>> Hi folks,
>>>>
>>>> I want to build nox and nox1.3 on ubuntu 12.04 but all the time I
>>>> found the below errors. Someone can help me to fix this.
>>>>
>>>> thanks,
>>>>
>>>> Hakiri
>>>>
>>>> ./builtin/.libs/libbuiltin.so: undefined reference to
>>>> `boost::filesystem::directory_entry::m_get_status(boost::system::erro
>>>> r_code
>>>> *)
>>>> const'
>>>> ./builtin/.libs/libbuiltin.so: undefined reference to
>>>> `boost::filesystem::path::codecvt()'
>>>> collect2: ld returned 1 exit status
>>>> make[3]: *** [nox_core] Error 1
>>>> make[3]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/home/hakiri/nox13oflib/build/src'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/home/hakiri/nox13oflib/build'
>>>> make: *** [all] Error 2
>>>>
>>>>


From lrbbs at cin.ufpe.br  Mon May 13 06:59:57 2013
From: lrbbs at cin.ufpe.br (Lucas Brasilino)
Date: Mon, 13 May 2013 10:59:57 -0300
Subject: [nox-dev] building nox and nox1.3
In-Reply-To: <518FC176.8080403@gmail.com>
References: <518F7309.1050706@gmail.com>
	<31933B4DC7AA83429608C10A9B1310751A2177D6@ESESSMB105.ericsson.se>
	<518FAF4A.4080408@gmail.com>
	<31933B4DC7AA83429608C10A9B1310751A2179E4@ESESSMB105.ericsson.se>
	<518FC176.8080403@gmail.com>
Message-ID: <CAGE5s_AbLrHatPqMLmh_3h=jyRsYKTDo7VWMTP4qc3f+OXfONQ@mail.gmail.com>

Hi

> Yes, boost are linked by the system. Boost 1.46 is installed as default
> packages from ubuntu repo.
> This is seems because I am using Ubuntu 12.04 and 12.10 which provides boost
> 1.46 and 1.48.

I was able to compile NOX (from git verity branch) against Boost 1.53.
Before that I tried to
compile  against Boost 1.42 with no success.

First I compiled boost and installed it at '/usr/local/boost'
directory, then I compiled NOX using '--with-boost=/usr/local/boost'
configure option.

Well, I was not using Ubuntu, but you will probably be successful doing so.

regar
linux
相关资讯       Nox编译 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款