[ndnSIM] compiling error
Alex Afanasyev
alexander.afanasyev at ucla.edu
Sun Jun 23 22:08:33 PDT 2013
Hi Xiaoke,
No, I haven't seen this error, though I'm using OSX to compile NS-3 all the time. Are you using clang or gcc compiler?
I checked ipv4-header.h:88 file and the line corresponds to definition of CS5 identifier. It is possible (but not sure why) that something is defining CS5 as something else, which confuses the compilation.
--
Alex
On Jun 23, 2013, at 1:46 AM, Xiaoke Jiang <shock.jiang at gmail.com> wrote:
> Hi Alex,
> Today I reconfigure my local code on my mac os, then compiling gives me an error. Do you meet this before?
>
> [ 987/2043] cxx: src/internet/model/ipv4-raw-socket-factory-impl.cc -> build/src/internet/model/ipv4-raw-socket-factory-impl.cc.1.o
> In file included from ./ns3/ipv4-routing-protocol.h:25,
> from ./ns3/ipv4-list-routing.h:23,
> from ./ns3/ipv4-routing-helper.h:26,
> from ./ns3/ipv4-nix-vector-helper.h:25,
> from ./ns3/nix-vector-routing-module.h:10,
> from src/nix-vector-routing/bindings/ns3module.h:63,
> from src/nix-vector-routing/bindings/ns3module.cc:1:
> ./ns3/ipv4-header.h:88: error: expected identifier before numeric constant
> ./ns3/ipv4-header.h:88: error: expected `}' before numeric constant
> ./ns3/ipv4-header.h:88: error: expected unqualified-id before numeric constant
> ./ns3/ipv4-header.h:99: error: variable or field ‘SetDscp’ declared void
>
>
> thanks
>
> My Regards,
> Xiaoke (Shock) Jiang (蒋小可)
>
> Ph.D. Candidate,
> Department of Computer Science and Technology,
> Tsinghua University, Beijing, P.R.China. 100084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130623/94d039a9/attachment.html>
More information about the ndnSIM
mailing list