[ndnSIM] ../map:1:11: error: expected constructor, destructor, or type conversion before ‘(’ token

Carl Zu carlzu8 at gmail.com
Wed Apr 11 11:49:38 PDT 2018


Hi everyone,

Any experience with the bug below?. Any guidance is highly appreciated.

Best regards,
C

In file included from ./ns3/log.h:27:0,
                 from
../src/propagation/model/kun-2600-mhz-propagation-loss-model.cc:22:
../map:9:28: warning: multi-character character constant [-Wmultichar]
     exec(compile(code,path,'exec'),module.__dict__)
                            ^
In file included from ./ns3/propagation-loss-model.h:30:0,
                 from
../src/propagation/model/kun-2600-mhz-propagation-loss-model.h:26,
                 from
../src/propagation/model/kun-2600-mhz-propagation-loss-model.cc:28:
../map:9:28: warning: multi-character character constant [-Wmultichar]
     exec(compile(code,path,'exec'),module.__dict__)
                            ^
In file included from ./ns3/log.h:27:0,
                 from
../src/propagation/model/kun-2600-mhz-propagation-loss-model.cc:22:
../map:1:11: error: expected constructor, destructor, or type conversion
before ‘(’ token
 Traceback (most recent call last):
           ^
In file included from ./ns3/callback.h:31:0,
                 from ./ns3/trace-source-accessor.h:24,
                 from ./ns3/type-id.h:25,
                 from ./ns3/object-base.h:23,
                 from ./ns3/object.h:29,
                 from ./ns3/mobility-model.h:24,
                 from
../src/propagation/model/kun-2600-mhz-propagation-loss-model.cc:25:
/usr/include/c++/5/typeinfo:39:37: error: expected declaration before end
of line

In file included from ./ns3/log.h:27:0,
                 from ../src/wifi/model/wifi-phy-state-helper.cc:22:
../map:9:28: warning: multi-character character constant [-Wmultichar]
     exec(compile(code,path,'exec'),module.__dict__)
                            ^
In file included from ./ns3/log.h:27:0,
                 from ../src/wifi/model/wifi-phy-state-helper.cc:22:
../map:1:11: error: expected constructor, destructor, or type conversion
before ‘(’ token
 Traceback (most recent call last):
           ^
In file included from
/usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:27:0,
                 from
/usr/include/x86_64-linux-gnu/c++/5/bits/opt_random.h:33,
                 from /usr/include/c++/5/random:50,
                 from /usr/include/c++/5/bits/stl_algo.h:66,
                 from /usr/include/c++/5/algorithm:62,
                 from ../src/wifi/model/wifi-phy-state-helper.cc:25:
/usr/lib/gcc/x86_64-linux-gnu/5/include/ia32intrin.h:53:25: error: expected
declaration before end of line
Waf: Leaving directory `/home/carl/ndnSIM/ns-3/build'
Build failed
 -> task in 'ns3-propagation' failed (exit status 1):
    {task 140363640448528: cxx kun-2600-mhz-propagation-loss-model.cc ->
kun-2600-mhz-propagation-loss-model.cc.1.o}
['/usr/bin/g++', '-std=c++0x', '-std=c++11', '-O0', '-ggdb', '-g3',
'-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-fPIC', '-pthread', '-Isrc/propagation',
'-I../src/propagation', '-I.', '-I..', '-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_IS_DEFAULT_CONSTRUCTIBLE=1',
'-DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1',
'-DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1', '-DHAVE_CXX_FRIEND_TYPENAME=1',
'-DHAVE_CXX_OVERRIDE_FINAL=1',
'-DNDN_CXX_HAVE_VECTOR_INSERT_ERASE_CONST_ITERATOR=1', '-DHAVE_PTHREAD=1',
'-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_SQLITE3=1',
'../src/propagation/model/kun-2600-mhz-propagation-loss-model.cc', '-c',
'-o',
'/home/carl/ndnSIM/ns-3/build/src/propagation/model/kun-2600-mhz-propagation-loss-model.cc.1.o']
 -> task in 'ns3-wifi' failed (exit status 1):
    {task 140363640790160: cxx wifi-phy-state-helper.cc ->
wifi-phy-state-helper.cc.1.o}
['/usr/bin/g++', '-std=c++0x', '-std=c++11', '-O0', '-ggdb', '-g3',
'-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..',
'-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_IS_DEFAULT_CONSTRUCTIBLE=1',
'-DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1',
'-DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1', '-DHAVE_CXX_FRIEND_TYPENAME=1',
'-DHAVE_CXX_OVERRIDE_FINAL=1',
'-DNDN_CXX_HAVE_VECTOR_INSERT_ERASE_CONST_ITERATOR=1', '-DHAVE_PTHREAD=1',
'-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_SQLITE3=1',
'-DHAVE_LIBXML2=1', '../src/wifi/model/wifi-phy-state-helper.cc', '-c',
'-o',
'/home/carl/ndnSIM/ns-3/build/src/wifi/model/wifi-phy-state-helper.cc.1.o']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180411/d1ff3b8d/attachment.html>


More information about the ndnSIM mailing list