[Ns-developers] ns-3-WiMAX - compiling error
Ismail Amine
amine.ismail at sophia.inria.fr
Mon May 18 08:10:02 PDT 2009
Dear Giuseppe,
The WiMAX module has been compiled using gcc-3.4 and gcc-4.2 under
linux, we did not try with other compilers.
I have just downloaded the latest version and it compiles successfully
with gcc-4.2
To compile the code with a specific version of gcc, use the following
command:
CXX="gcc path" ./waf configure; ./waf
example:
CXX="/usr/bin/gcc-4.2" ./waf configure; ./waf
Regards
Amine
Giuseppe Piro wrote:
> Hi all,
>
> I am trying to compile the most recent WiMAX modules for ns-3 but I
> got an error which I don't know how to solve.
> Currently I use Ubuntu 8.10 and gcc 4.3.
>
> At the beginning I got some errors that I have resolved by a patch
> downloaded from this discussion:
> http://groups.google.com/group/ns-3-users/browse_thread/thread/15c0972a29f80c4b/
>
> More details about the error are following written:
>
> -------------------------------------
> [491/668] cxx: src/devices/wimax/wimax-net-device.cc -> build/debug/
> src/devices/wimax/wimax-net-device_1.o
> cc1plus: warnings being treated as errors
>
> ../src/devices/wimax/wimax-net-device.h: In constructor
> ‘ns3::WimaxNetDevice::WimaxNetDevice()’:
> ../src/devices/wimax/wimax-net-device.h:189: error:
> ‘ns3::WimaxNetDevice::m_connectionManager’ will be initialized after
> ../src/devices/wimax/wimax-net-device.h:149: error:
> ‘ns3::ServiceFlowManager* ns3::WimaxNetDevice::m_serviceFlowManager’
> ../src/devices/wimax/wimax-net-device.cc:85: error: when initialized
> here
>
> Build failed
> -> task failed (err #129): [bld:///home/peppe/ns-3-wimax/src/devices/
> wimax/wimax-net-device_1.o]
> -------------------------------------
>
>
> I hope that there isn't any compiler version problems. Please, are
> there any Users that can help me?
> PS: the penultimate revision works correctly on my pc!
> Best regards,
>
> Giuseppe
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "ns-3-users" group.
> To post to this group, send email to ns-3-users at googlegroups.com
> To unsubscribe from this group, send email to ns-3-users+unsubscribe at googlegroups.com
> For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>
More information about the Ns-developers
mailing list