On 10/30/2017 06:37 PM, Yuxin Tang wrote:
> Hi Juan:
>
> I think you should check the version of *gccxml *and *ubuntu*.
> Actually, I have ever encountered the same problem as you.
> According to my memory, the *gccxml* is not compatible with
> *gcc5*, which is the default version of *gcc *in *ubuntu 16.04. *You can
> google it and find more information. My solution is to use
> *ubuntu14.04*, *gcc4.5* and *gccxml. *If you want to use *ubuntu16.04*,
> you can try but I think the *gccxml *may not work.
gccxml can work for compiler version gcc-4.9, for ns-3.26 and earlier
(but not for the latest release ns-3.27). gcc-4.9 is available for
Ubuntu 16.04:
https://www.howtoinstall.co/en/ubuntu/xenial/gcc-4.9
The project is migrating to castxml for ns-3.27 and later releases, for
which the C++-11 support is better.
- Tom