In file included from ./ns3/trace-source-accessor.h:24:0,
from ./ns3/type-id.h:25,
from ./ns3/object-base.h:23,
from ./ns3/object.h:29,
from ./ns3/object-factory.h:24,
from ./ns3/simulator.h:29,
from ../src/lte/helper/lte-helper.h:25,
from ../src/lte/helper/lte-helper.cc:23:
./ns3/callback.h: In instantiation of ‘R ns3::MemPtrCallbackImpl<OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9>::operator()(T1) [with OBJ_PTR = ns3::Ptr<ns3::LteEnbPhy>; MEM_PTR = void (ns3::LteUePhy::*)(const ns3::SpectrumValue&); R = void; T1 = const ns3::SpectrumValue&; T2 = ns3::empty; T3 = ns3::empty; T4 = ns3::empty; T5 = ns3::empty; T6 = ns3::empty; T7 = ns3::empty; T8 = ns3::empty; T9 = ns3::empty]’:
../src/lte/helper/lte-helper.cc:3626:1: required from here
./ns3/callback.h:600:63: error: pointer to member type ‘void (ns3::LteUePhy::)(const ns3::SpectrumValue&)’ incompatible with object type ‘ns3::LteEnbPhy’
return ((CallbackTraits<OBJ_PTR>::GetReference (m_objPtr)).*m_memPtr)(a1);
^
./ns3/callback.h:600:77: error: return-statement with a value, in function returning 'void' [-fpermissive]
return ((CallbackTraits<OBJ_PTR>::GetReference (m_objPtr)).*m_memPtr)(a1);
^
Waf: Leaving directory `/home/fourgreen/workspace/ns-3.25_home/build'
Build failed
-> task in 'ns3-lte' failed (exit status 1):
{task 36891600: cxx lte-helper.cc -> lte-helper.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-pthread', '-I.', '-I..', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/libxml2', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1', '../src/lte/helper/lte-helper.cc', '-c', '-o', '/home/fourgreen/workspace/ns-3.25_home/build/src/lte/helper/lte-helper.cc.1.o']