Ns3 Installation Problem

238 views
Skip to first unread message

Xingyuan

unread,
Apr 20, 2009, 11:31:17 PM4/20/09
to ns-3-users
Hi All,

I've downloaded the latest version of ns3. When trying building it,
the compiler treats warnings as errors. Can anyone please tell me how
to modify build.py to disable this warning check functionality?

Thanks in advance.

Eddie

rigo _

unread,
Apr 21, 2009, 12:11:05 AM4/21/09
to ns-3-...@googlegroups.com
Hello! Have you done everything referring there?

Xingyuan

unread,
Apr 21, 2009, 12:30:44 AM4/21/09
to ns-3-users
Actually i am stuck at ./build.py, which is before using ./waf...
The thing is that the compiler treats warning as error, so I cannot
proceed.



On Apr 20, 6:11 pm, rigo _ <kass...@gmail.com> wrote:
> Hello! Have you done everything referring
> there<http://www.nsnam.org/getting_started.html#compiling>
> ?

Arthur King

unread,
Apr 21, 2009, 2:23:16 AM4/21/09
to ns-3-...@googlegroups.com
Check the C++ version and the Python version first,and then ./waf configure
That's what I've done, I didn't experience the build process and did nothing to the build.py file.

2009/4/21 Xingyuan <eddie....@gmail.com>
--
Arthur

Xingyuan

unread,
Apr 21, 2009, 4:23:21 AM4/21/09
to ns-3-users
As indicated in the tutorial

3.1.2 Downloading ns-3 Using a Tarball
3.2.1 Building with build.py ---------i am stuck here
3.2.2 Building with Waf


On Apr 20, 8:23 pm, Arthur King <sist.sw...@gmail.com> wrote:
> Check the C++ version and the Python version first,and then ./waf configure
> That's what I've done, I didn't experience the build process and did nothing
> to the build.py file.
>
> 2009/4/21 Xingyuan <eddie.xyc...@gmail.com>

cra...@ee.washington.edu

unread,
Apr 21, 2009, 4:47:20 AM4/21/09
to ns-3-...@googlegroups.com
Having the compiler treat warnings as errors is intentional. You should see
no warnings in the build -- we work hard to make sure this is the case in
the ns-3 part.

What warning are you getting? What environment are you using? Is this in
code you have added or in the ns-3 distribution?

-- Craig

Xingyuan

unread,
Apr 21, 2009, 3:10:55 PM4/21/09
to ns-3-users
I am using gcc 4.1.2. These are errors when building the latest
distribution of ns-3.4

scons: Reading SConscript files ...
Checking target architecure...(cached) x86
scons: done reading SConscript files.
scons: Building targets ...
scons: `linux-2.6.18' is up to date.
scons: done building targets.
scons: Reading SConscript files ...
Checking target architecure...(cached) x86
scons: done reading SConscript files.
scons: Building targets ...
scons: `linux-2.6.26' is up to date.
scons: done building targets.
Checking for program g++ : ok /usr/bin/g++
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for g++ : ok
Checking for program pkg-config : ok /usr/bin/pkg-config
Checking for regression traces location : ok ../ns-3.4-ref-traces
(given)
Checking for -Wno-error=deprecated-declarations support : no
Checking for header stdlib.h : ok
Checking for header signal.h : ok
Checking for header pthread.h : ok
Checking for high precision time implementation : 128-bit
integer
Checking for header stdint.h : ok
Checking for header inttypes.h : ok
Checking for header sys/inttypes.h : not found
Checking for library rt : ok
Checking for header netpacket/packet.h : ok
Checking for header linux/if_tun.h : ok
Requested 'gtk+-2.0 >= 2.12' but version of GTK+ is 2.10.13
Checking for pkg-config flags for GTK_CONFIG_STORE : not found
Checking for pkg-config flags for LIBXML2 : ok
Checking for library sqlite3 : ok
Checking for NSC location : ok ../
nsc-0.5.0 (given)
Checking for library dl : ok
Checking for NSC supported architecture i686 : ok
Package goocanvas was not found in the pkg-config search path.
Perhaps you should add the directory containing `goocanvas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'goocanvas' found
Checking for pkg-config flags for MOBILITY_VISUALIZER : not found
Checking for program python : ok /usr/bin/
python
Checking for Python version >= 2.3 : ok 2.4.4
Checking for library python2.4 : ok
Checking for program python2.4-config : not found
Checking for program python-config-2.4 : not found
Checking for header Python.h : ok
Checking for -fvisibility=hidden support : yes
Checking for pybindgen location : ok ../
pybindgen-0.10.0.630 (given)
Checking for Python module pybindgen : ok
Checking for pybindgen version : ok
0.10.0.630
Checking for Python module pygccxml : not found
Checking for program sudo : ok /usr/bin/
sudo
Checking for program hg : not found
Checking for program valgrind : ok /usr/bin/
valgrind
Configuration finished successfully (00:00:02); project is now ready
to build.
---- Summary of optional NS-3 features:
Threading Primitives : enabled
Real Time Simulator : enabled
Emulated Net Device : enabled
Tap Bridge : enabled
GtkConfigStore : not enabled (library 'gtk+-2.0 >=
2.12' not found)
XmlIo : enabled
SQlite stats data output : enabled
Network Simulation Cradle : enabled
Python Bindings : enabled
Python API Scanning Support : not enabled (Missing 'pygccxml' Python
module)
Use sudo to set suid bit : not enabled (option --enable-sudo not
selected)
[562/645] cxx: build/debug/bindings/python/ns3module.cc -> build/debug/
bindings/python/ns3module_3.o
[563/645] cxx: bindings/python/ns3module_helpers.cc -> build/debug/
bindings/python/ns3module_helpers_3.o
cc1plus: warnings being treated as errors
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::AttributeAccessor>’:
debug/ns3/attribute-accessor-helper.h:98: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::AttributeAccessor]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::AttributeAccessor]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::AttributeChecker>’:
debug/ns3/attribute-helper.h:32: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AttributeChecker]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AttributeChecker]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::AttributeValue>’:
debug/ns3/attribute-helper.h:48: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AttributeValue]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AttributeValue]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::CallbackImplBase>’:
debug/ns3/callback.h:208: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::CallbackImplBase]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::CallbackImplBase]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::CallbackImplBase>’:
debug/ns3/callback.h:342: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImplBase]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImplBase]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::AttributeValue>’:
debug/ns3/type-id.h:304: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::AttributeValue]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::AttributeValue]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::AttributeChecker>’:
debug/ns3/type-id.h:308: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::AttributeChecker]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::AttributeChecker]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const ns3::Object>’:
debug/ns3/object.h:89: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::Object]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::Object]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Object>’:
debug/ns3/object.h:355: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Object]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Object]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::ArfWifiManager>’:
debug/ns3/arf-wifi-manager.h:91: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ArfWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ArfWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::DcaTxop>’:
debug/ns3/adhoc-wifi-mac.h:91: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::DcaTxop]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::DcaTxop]’
to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::WifiRemoteStationManager>’:
debug/ns3/adhoc-wifi-mac.h:93: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiRemoteStationManager]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::WifiRemoteStationManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::WifiPhy>’:
debug/ns3/adhoc-wifi-mac.h:94: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiPhy]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiPhy]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::MacLow>’:
debug/ns3/adhoc-wifi-mac.h:97: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::MacLow]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::MacLow]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::AmrrWifiManager>’:
debug/ns3/amrr-wifi-manager.h:88: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AmrrWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AmrrWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::EventImpl>’:
debug/ns3/event-id.h:78: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::EventImpl]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::EventImpl]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::NetDevice>’:
debug/ns3/node.h:202: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::NetDevice]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::NetDevice]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Node>’:
debug/ns3/application.h:146: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Node]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Node]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::BridgeChannel>’:
debug/ns3/bridge-net-device.h:142: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::BridgeChannel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::BridgeChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::ConstantRateWifiManager>’:
debug/ns3/constant-rate-wifi-manager.h:71: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ConstantRateWifiManager]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ConstantRateWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CsmaNetDevice>’:
debug/ns3/csma-channel.h:43: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CsmaNetDevice]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CsmaNetDevice]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Packet>’:
debug/ns3/csma-channel.h:301: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Packet]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Packet]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CsmaChannel>’:
debug/ns3/csma-net-device.h:627: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CsmaChannel]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CsmaChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Queue>’:
debug/ns3/csma-net-device.h:636: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Queue]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Queue]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::ErrorModel>’:
debug/ns3/csma-net-device.h:643: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ErrorModel]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ErrorModel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Scheduler>’:
debug/ns3/default-simulator-impl.h:69: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Scheduler]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Scheduler]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::SystemThread>’:
debug/ns3/emu-net-device.h:419: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SystemThread]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SystemThread]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::MobilityModel>’:
debug/ns3/hierarchical-mobility-model.h:66: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::MobilityModel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::MobilityModel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::IdealWifiManager>’:
debug/ns3/ideal-wifi-manager.h:89: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::IdealWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::IdealWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::ErrorRateModel>’:
debug/ns3/interference-helper.h:105: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ErrorRateModel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ErrorRateModel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::PcapWriter>’:
debug/ns3/internet-stack-helper.h:124: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PcapWriter]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PcapWriter]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PropagationLossModel>’:
debug/ns3/propagation-loss-model.h:64: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PropagationLossModel]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PropagationLossModel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PositionAllocator>’:
debug/ns3/mobility-helper.h:247: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PositionAllocator]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PositionAllocator]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Ipv4>’:
debug/ns3/olsr-routing-table.h:64: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Ipv4]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Ipv4]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::OnoeWifiManager>’:
debug/ns3/onoe-wifi-manager.h:77: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::OnoeWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::OnoeWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Socket>’:
debug/ns3/onoff-application.h:118: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Socket]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Socket]’ to
match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PointToPointNetDevice>’:
debug/ns3/point-to-point-channel.h:113: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PointToPointNetDevice]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PointToPointNetDevice]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PointToPointChannel>’:
debug/ns3/point-to-point-net-device.h:379: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PointToPointChannel]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PointToPointChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Synchronizer>’:
debug/ns3/realtime-simulator-impl.h:103: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Synchronizer]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::Synchronizer]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::RraaWifiManager>’:
debug/ns3/rraa-wifi-manager.h:123: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::RraaWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::RraaWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::SimpleChannel>’:
debug/ns3/simple-net-device.h:80: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SimpleChannel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SimpleChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::SqliteDataOutput>’:
debug/ns3/sqlite-data-output.h:75: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SqliteDataOutput]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SqliteDataOutput]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::TraceSourceAccessor>’:
debug/ns3/trace-source-accessor.h:91: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::TraceSourceAccessor]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::TraceSourceAccessor]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::WifiMac>’:
debug/ns3/wifi-net-device.h:117: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiMac]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiMac]’
to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PropagationDelayModel>’:
debug/ns3/yans-wifi-channel.h:92: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PropagationDelayModel]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PropagationDelayModel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::YansWifiChannel>’:
debug/ns3/yans-wifi-helper.h:313: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::YansWifiChannel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::YansWifiChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::WifiPhyStateHelper>’:
debug/ns3/yans-wifi-phy.h:152: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiPhyStateHelper]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::WifiPhyStateHelper]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<void,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty> >’:
debug/bindings/python/ns3module.h:5638: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<void,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<void, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3SimpleNetDevice__PythonHelper::SetLinkChangeCallback__parent_caller
(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’:
debug/bindings/python/ns3module.h:5638: error: initializing argument
1 of ‘virtual void ns3::SimpleNetDevice::SetLinkChangeCallback
(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, const ns3::Address&,
ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> >’:
debug/bindings/python/ns3module.h:5658: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, const ns3::Address&,
ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty>]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, const
ns3::Address&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty,
ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3SimpleNetDevice__PythonHelper::SetPromiscReceiveCallback__parent_caller
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, const
ns3::Address&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty,
ns3::empty>)’:
debug/bindings/python/ns3module.h:5658: error: initializing argument
1 of ‘virtual void ns3::SimpleNetDevice::SetPromiscReceiveCallback
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, const
ns3::Address&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty,
ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty> >’:
debug/bindings/python/ns3module.h:5722: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3SimpleNetDevice__PythonHelper::SetReceiveCallback__parent_caller
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’:
debug/bindings/python/ns3module.h:5722: error: initializing argument
1 of ‘virtual void ns3::SimpleNetDevice::SetReceiveCallback
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Channel>’:
debug/bindings/python/ns3module.h:5738: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Channel]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Channel]’
to match its type
cc1plus: warnings being treated as errors
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::AttributeAccessor>’:
debug/ns3/attribute-accessor-helper.h:98: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::AttributeAccessor]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::AttributeAccessor]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::AttributeChecker>’:
debug/ns3/attribute-helper.h:32: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AttributeChecker]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AttributeChecker]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::AttributeValue>’:
debug/ns3/attribute-helper.h:48: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AttributeValue]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AttributeValue]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::CallbackImplBase>’:
debug/ns3/callback.h:208: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::CallbackImplBase]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::CallbackImplBase]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::CallbackImplBase>’:
debug/ns3/callback.h:342: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImplBase]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImplBase]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const ns3::Packet>’:
debug/bindings/python/ns3module.h:8022: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::Packet]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::Packet]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::AttributeValue>’:
debug/ns3/type-id.h:304: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::AttributeValue]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::AttributeValue]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::AttributeChecker>’:
debug/ns3/type-id.h:308: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::AttributeChecker]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::AttributeChecker]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const ns3::Object>’:
debug/ns3/object.h:89: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::Object]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::Object]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Object>’:
debug/ns3/object.h:355: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Object]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Object]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::WifiChannel>’:
debug/bindings/python/ns3module.h:9445: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiChannel]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::WifiChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::AarfWifiManager>’:
debug/bindings/python/ns3module.h:9557: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AarfWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AarfWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<void,
ns3::Ptr<ns3::Packet>, ns3::Mac48Address, ns3::Mac48Address,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty> >’:
debug/bindings/python/ns3module.h:9703: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<void,
ns3::Ptr<ns3::Packet>, ns3::Mac48Address, ns3::Mac48Address,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<void, ns3::Ptr<ns3::Packet>, ns3::Mac48Address,
ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3AdhocWifiMac__PythonHelper::SetForwardUpCallback__parent_caller
(ns3::Callback<void, ns3::Ptr<ns3::Packet>, ns3::Mac48Address,
ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>)’:
debug/bindings/python/ns3module.h:9703: error: initializing argument
1 of ‘virtual void ns3::AdhocWifiMac::SetForwardUpCallback
(ns3::Callback<void, ns3::Ptr<ns3::Packet>, ns3::Mac48Address,
ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>)’
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::ArfWifiManager>’:
debug/ns3/arf-wifi-manager.h:91: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ArfWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ArfWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::DcaTxop>’:
debug/ns3/adhoc-wifi-mac.h:91: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::DcaTxop]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::DcaTxop]’
to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::WifiRemoteStationManager>’:
debug/ns3/adhoc-wifi-mac.h:93: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiRemoteStationManager]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::WifiRemoteStationManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::WifiPhy>’:
debug/ns3/adhoc-wifi-mac.h:94: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiPhy]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiPhy]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::MacLow>’:
debug/ns3/adhoc-wifi-mac.h:97: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::MacLow]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::MacLow]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::AmrrWifiManager>’:
debug/ns3/amrr-wifi-manager.h:88: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AmrrWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AmrrWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::EventImpl>’:
debug/ns3/event-id.h:78: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::EventImpl]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::EventImpl]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::NetDevice>’:
debug/ns3/node.h:202: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::NetDevice]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::NetDevice]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Node>’:
debug/ns3/application.h:146: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Node]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Node]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::BridgeChannel>’:
debug/ns3/bridge-net-device.h:142: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::BridgeChannel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::BridgeChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::ConstantRateWifiManager>’:
debug/ns3/constant-rate-wifi-manager.h:71: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ConstantRateWifiManager]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ConstantRateWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CsmaNetDevice>’:
debug/ns3/csma-channel.h:43: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CsmaNetDevice]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CsmaNetDevice]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Packet>’:
debug/ns3/csma-channel.h:301: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Packet]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Packet]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CsmaChannel>’:
debug/ns3/csma-net-device.h:627: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CsmaChannel]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CsmaChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Queue>’:
debug/ns3/csma-net-device.h:636: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Queue]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Queue]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::ErrorModel>’:
debug/ns3/csma-net-device.h:643: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ErrorModel]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ErrorModel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Scheduler>’:
debug/ns3/default-simulator-impl.h:69: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Scheduler]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Scheduler]’
to match its type
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::SimpleNetDevice>’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
bits/stl_vector.h:119: instantiated from ‘std::_Vector_base<_Tp,
_Alloc>::~_Vector_base() [with _Tp = ns3::Ptr<ns3::SimpleNetDevice>,
_Alloc = std::allocator<ns3::Ptr<ns3::SimpleNetDevice> >]’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
bits/stl_vector.h:274: instantiated from ‘std::vector<_Tp,
_Alloc>::~vector() [with _Tp = ns3::Ptr<ns3::SimpleNetDevice>, _Alloc
= std::allocator<ns3::Ptr<ns3::SimpleNetDevice> >]’
debug/ns3/simple-channel.h:37: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SimpleNetDevice]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SimpleNetDevice]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::SystemThread>’:
debug/ns3/emu-net-device.h:419: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SystemThread]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SystemThread]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::MobilityModel>’:
debug/ns3/hierarchical-mobility-model.h:66: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::MobilityModel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::MobilityModel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::IdealWifiManager>’:
debug/ns3/ideal-wifi-manager.h:89: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::IdealWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::IdealWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::ErrorRateModel>’:
debug/ns3/interference-helper.h:105: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::ErrorRateModel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::ErrorRateModel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::PcapWriter>’:
debug/ns3/internet-stack-helper.h:124: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PcapWriter]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PcapWriter]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PropagationLossModel>’:
debug/ns3/propagation-loss-model.h:64: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PropagationLossModel]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PropagationLossModel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PositionAllocator>’:
debug/ns3/mobility-helper.h:247: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PositionAllocator]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PositionAllocator]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Ipv4>’:
debug/ns3/olsr-routing-table.h:64: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Ipv4]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Ipv4]’ to
match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::OnoeWifiManager>’:
debug/ns3/onoe-wifi-manager.h:77: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::OnoeWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::OnoeWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Socket>’:
debug/ns3/onoff-application.h:118: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Socket]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Socket]’ to
match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PointToPointNetDevice>’:
debug/ns3/point-to-point-channel.h:113: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PointToPointNetDevice]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PointToPointNetDevice]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PointToPointChannel>’:
debug/ns3/point-to-point-net-device.h:379: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PointToPointChannel]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PointToPointChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Synchronizer>’:
debug/ns3/realtime-simulator-impl.h:103: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Synchronizer]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::Synchronizer]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::RraaWifiManager>’:
debug/ns3/rraa-wifi-manager.h:123: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::RraaWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::RraaWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::SimpleChannel>’:
debug/ns3/simple-net-device.h:80: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SimpleChannel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SimpleChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::SqliteDataOutput>’:
debug/ns3/sqlite-data-output.h:75: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SqliteDataOutput]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SqliteDataOutput]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const
ns3::TraceSourceAccessor>’:
debug/ns3/trace-source-accessor.h:91: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::TraceSourceAccessor]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::TraceSourceAccessor]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::WifiMac>’:
debug/ns3/wifi-net-device.h:117: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiMac]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiMac]’
to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::PropagationDelayModel>’:
debug/ns3/yans-wifi-channel.h:92: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::PropagationDelayModel]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::PropagationDelayModel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::YansWifiChannel>’:
debug/ns3/yans-wifi-helper.h:313: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::YansWifiChannel]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::YansWifiChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::WifiPhyStateHelper>’:
debug/ns3/yans-wifi-phy.h:152: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiPhyStateHelper]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::WifiPhyStateHelper]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<void,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty> >’:
debug/bindings/python/ns3module.h:5638: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<void,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<void, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3SimpleNetDevice__PythonHelper::SetLinkChangeCallback__parent_caller
(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’:
debug/bindings/python/ns3module.h:5638: error: initializing argument
1 of ‘virtual void ns3::SimpleNetDevice::SetLinkChangeCallback
(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, const ns3::Address&,
ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> >’:
debug/bindings/python/ns3module.h:5658: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, const ns3::Address&,
ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty>]’ to
match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, const
ns3::Address&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty,
ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3SimpleNetDevice__PythonHelper::SetPromiscReceiveCallback__parent_caller
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, const
ns3::Address&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty,
ns3::empty>)’:
debug/bindings/python/ns3module.h:5658: error: initializing argument
1 of ‘virtual void ns3::SimpleNetDevice::SetPromiscReceiveCallback
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, const
ns3::Address&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty,
ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty> >’:
debug/bindings/python/ns3module.h:5722: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<bool,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const ns3::Packet>, short unsigned
int, const ns3::Address&, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3SimpleNetDevice__PythonHelper::SetReceiveCallback__parent_caller
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’:
debug/bindings/python/ns3module.h:5722: error: initializing argument
1 of ‘virtual void ns3::SimpleNetDevice::SetReceiveCallback
(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<const
ns3::Packet>, short unsigned int, const ns3::Address&, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::Channel>’:
debug/bindings/python/ns3module.h:5738: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::Channel]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::Channel]’
to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<const ns3::Packet>’:
debug/bindings/python/ns3module.h:8022: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = const ns3::Packet]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = const
ns3::Packet]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::WifiChannel>’:
debug/bindings/python/ns3module.h:9445: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::WifiChannel]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::WifiChannel]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::AarfWifiManager>’:
debug/bindings/python/ns3module.h:9557: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::AarfWifiManager]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::AarfWifiManager]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<void,
ns3::Ptr<ns3::Packet>, ns3::Mac48Address, ns3::Mac48Address,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty> >’:
debug/bindings/python/ns3module.h:9703: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<void,
ns3::Ptr<ns3::Packet>, ns3::Mac48Address, ns3::Mac48Address,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<void, ns3::Ptr<ns3::Packet>, ns3::Mac48Address,
ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>]’ to match its type
debug/bindings/python/ns3module.h: In member function ‘void
PyNs3AdhocWifiMac__PythonHelper::SetForwardUpCallback__parent_caller
(ns3::Callback<void, ns3::Ptr<ns3::Packet>, ns3::Mac48Address,
ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>)’:
debug/bindings/python/ns3module.h:9703: error: initializing argument
1 of ‘virtual void ns3::AdhocWifiMac::SetForwardUpCallback
(ns3::Callback<void, ns3::Ptr<ns3::Packet>, ns3::Mac48Address,
ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<PythonEventImpl>’:
../bindings/python/ns3module_helpers.cc:71: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = PythonEventImpl]’ to match its
type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
PythonEventImpl]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<CommandLinePythonValueSetter>’:
../bindings/python/ns3module_helpers.cc:275: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = CommandLinePythonValueSetter]’
to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
CommandLinePythonValueSetter]’ to match its type
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::CallbackImpl<bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty> >’:
../bindings/python/ns3module_helpers.cc:276: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::CallbackImpl<bool, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>]’ to match its type
../bindings/python/ns3module_helpers.cc: In function ‘PyObject*
_wrap_CommandLine_AddValue(PyNs3CommandLine*, PyObject*, PyObject*,
PyObject**)’:
../bindings/python/ns3module_helpers.cc:276: error: initializing
argument 3 of ‘void ns3::CommandLine::AddValue(const std::string&,
const std::string&, ns3::Callback<bool, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, ns3::empty,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty>)’
debug/ns3/ptr.h: At global scope:
debug/ns3/ptr.h: In instantiation of ‘ns3::Ptr<ns3::SimpleNetDevice>’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
bits/stl_vector.h:119: instantiated from ‘std::_Vector_base<_Tp,
_Alloc>::~_Vector_base() [with _Tp = ns3::Ptr<ns3::SimpleNetDevice>,
_Alloc = std::allocator<ns3::Ptr<ns3::SimpleNetDevice> >]’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
bits/stl_vector.h:274: instantiated from ‘std::vector<_Tp,
_Alloc>::~vector() [with _Tp = ns3::Ptr<ns3::SimpleNetDevice>, _Alloc
= std::allocator<ns3::Ptr<ns3::SimpleNetDevice> >]’
debug/ns3/simple-channel.h:37: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T = ns3::SimpleNetDevice]’ to match
its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::SimpleNetDevice]’ to match its type
debug/ns3/ptr.h: In instantiation of
‘ns3::Ptr<ns3::MemPtrCallbackImpl<ns3::Ptr<CommandLinePythonValueSetter>,
bool (CommandLinePythonValueSetter::*)(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >), bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty> >’:
debug/ns3/callback.h:395: instantiated from ‘ns3::Callback<R, T1,
T2, T3, T4, T5, T6, T7, T8, T9>::Callback(const OBJ_PTR&, MEM_PTR)
[with OBJ_PTR = ns3::Ptr<CommandLinePythonValueSetter>, MEM_PTR = bool
(CommandLinePythonValueSetter::*)(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >), R = bool, T1 =
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, T2 = ns3::empty, T3 = ns3::empty, T4 = ns3::empty, T5 = ns3::empty,
T6 = ns3::empty, T7 = ns3::empty, T8 = ns3::empty, T9 = ns3::empty]’
debug/ns3/callback.h:532: instantiated from ‘ns3::Callback<R, T1,
ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty> ns3::MakeCallback(R (T::*)(T1),
OBJ) [with T = CommandLinePythonValueSetter, OBJ =
ns3::Ptr<CommandLinePythonValueSetter>, R = bool, T1 = std::string]’
../bindings/python/ns3module_helpers.cc:276: instantiated from here
debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer
(const ns3::Ptr<U>&) [with U = U, T =
ns3::MemPtrCallbackImpl<ns3::Ptr<CommandLinePythonValueSetter>, bool
(CommandLinePythonValueSetter::*)(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >), bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty>]’ to match its type
debug/ns3/ptr.h:71: warning: lowering visibility of ‘U*
ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T =
ns3::MemPtrCallbackImpl<ns3::Ptr<CommandLinePythonValueSetter>, bool
(CommandLinePythonValueSetter::*)(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >), bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty,
ns3::empty, ns3::empty, ns3::empty>]’ to match its type
Build failed
-> task failed (err #1):
{task: cxx ns3module.cc -> ns3module_3.o}
-> task failed (err #1):
{task: cxx ns3module_helpers.cc -> ns3module_helpers_3.o}
Entering directory `/home/xingyuan/repos/ns-allinone-3.4/ns-3.4/build'
# Build NSC
Entering directory `nsc-0.5.0'
=> python scons.py linux-2.6.18
=> python scons.py linux-2.6.26
Leaving directory `nsc-0.5.0'
# Build NS-3
Entering directory `./ns-3.4'
=> python waf configure --with-regression-traces ../ns-3.4-ref-
traces --with-pybindgen ../pybindgen-0.10.0.630 --with-nsc ../
nsc-0.5.0
=> python waf
Traceback (most recent call last):
File "./build.py", line 106, in ?
sys.exit(main(sys.argv))
File "./build.py", line 97, in main
build_ns3(config)
File "./build.py", line 56, in build_ns3
run_command(["python", "waf"])
File "/home/xingyuan/repos/ns-allinone-3.4/util.py", line 24, in
run_command
raise CommandError("Command %r exited with code %i" % (argv,
retval))
util.CommandError: Command ['python', 'waf'] exited with code 1


********************************************************************************************************************

cra...@ee.washington.edu

unread,
Apr 23, 2009, 6:28:30 AM4/23/09
to ns-3-...@googlegroups.com
I am unable to duplicate this problem. I don't have a machine with gcc
4.1.2, but I have one with gcc 4.1.1:

gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)
Linux version 2.6.20-1.2320.fc5 Red Hat 4.1.1-51

I did what it suggests in the ns-3 tutorial:

cd
mkdir tarballs
cd tarballs
wget http://www.nsnam.org/releases/ns-allinone-3.4.tar.bz2
tar xjf ns-allinone-3.4.tar.bz2
cd ns-allinone-3.4
./build.py

and it works fine.

Some googling tells me that this is most likely due to a bug in a Fedora
modification of gcc (only happens on Fedora systems). Apparently turning
off -Werror just shifts the problem from compiling to linking. Are you in a
position to upgrate your compiler? If not, it appears this manifests in
compiling the python bindings,

You could disable them

./waf configure --disable-python

if you can't deal with the compiler issue.

Regards,

-- Craig



> -----Original Message-----
> From: ns-3-...@googlegroups.com
> [mailto:ns-3-...@googlegroups.com] On Behalf Of Xingyuan
> Sent: Tuesday, April 21, 2009 6:11 AM
> To: ns-3-users
> Subject: Re: Ns3 Installation Problem
>
>
Reply all
Reply to author
Forward
0 new messages