[Ndn-interest] NLSR and ndn-cxx : Compiler version?

Davide Pesavento davide.pesavento at lip6.fr
Fri Mar 20 07:49:01 PDT 2015


Hi Divya,

Yes, part of the problem is outlined in bug #2209, after note-8. We
should have reverted the commit as I requested in note-12.

This case is slightly different however. I'm assuming you are
exporting CXX=/path/to/g++4.8 to the environment, and that confuses
the logic that waf uses for compiler detection.

In any case, Ubuntu 12.04 is a supported platform, therefore I'm
wondering why you had to upgrade the compiler. That shouldn't have
been necessary. What error did you get with the stock compiler (which
should be gcc-4.6)?

Thanks,
Davide

On Fri, Mar 20, 2015 at 3:18 PM, Junxiao Shi
<shijunxiao at email.arizona.edu> wrote:
> Hi Divyashri
>
> Bug 2209 <http://redmine.named-data.net/issues/2209> has a similar error
> message. Does the system happen to have clang? If yes, uninstall clang and
> try again.
>
> Otherwise, please post:
>
> * which project has build errors, ndn-cxx or NLSR?
> * the exact waf configure line you used
> * the complete output of configure step
> * the contents of build/config.log
> * the complete output of `./waf -v`
>
> Yours, Junxiao
>
> On Mar 20, 2015 7:10 AM, "Divyashri Bhat" <dbhat at umass.edu> wrote:
>>
>> Hi,
>>
>> I am trying to configure the NLSR routing tool at
>> https://github.com/named-data/NLSR for a Ubuntu 12.04 machine. However, I am
>> running into compiler version problems while doing so. I upgraded to gcc-4.8
>> g++4.8 and was able to get rid of some errors such as “std=c++11 not found”
>> but I still have an error that says: “g++: error: unrecognized command line
>> option ‘-stdlib=libc++’” .
>>
>> As far as I understand NLSR depends on nan-cxx which I obtained from
>> https://github.com/named-data/ndn-cxx.
>>
>> What is the correct procedure for configuring and building NLSR?
>>
>> Thanks.
>> Regards,
>> Divyashri Bhat
>> dbhat at umass.edu<mailto:dbhat at umass.edu>
>> Graduate Student
>> Department of Electrical and Computer Engineering,
>> University of Massachusetts, Amherst
>>
>>
>> _______________________________________________
>> Ndn-interest mailing list
>> Ndn-interest at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>




More information about the Ndn-interest mailing list