Hi, Thanks to all
Thanks for help me to overcome it.
I did the changes that Konstantinos recommended.
I did
./waf -d debug --enable-examples --enable-tests configure and everything is ok
I did
./waf but i get the next mistake
...
...
[1002/2470] cxx: src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc -> build/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc.3.o
../src/clwpr/test/bug780-test.cc: In member function ‘void ns3::clwpr::Bug780Test::CreateNodes()’:
../src/clwpr/test/bug780-test.cc:176:73: error: ‘GetTempDir’ was not declared in this scope
std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : GetTempDir ()) + PREFIX;
^
../src/clwpr/test/bug780-test.cc: In member function ‘void ns3::clwpr::Bug780Test::CheckResults()’:
../src/clwpr/test/bug780-test.cc:188:26: error: ‘GetTempDir’ was not declared in this scope
os2 << GetTempDir () << PREFIX << "-" << i << "-0.pcap";
Waf: Leaving directory `/home/christian/ns-3.23/build'
Build failed
-> task in 'ns3-clwpr-test' failed (exit status 1):
{task 140089298300496: cxx bug780-test.cc -> bug780-test.cc.3.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-I../src/clwpr', '-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/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-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_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNS_TEST_SOURCEDIR="src/clwpr/test"', '../src/clwpr/test/bug780-test.cc', '-c', '-o', 'src/clwpr/test/bug780-test.cc.3.o']
I downloaded again the new version from your Dropbox, did the same steps and everything ok with
./waf -d debug --enable-examples --enable-tests configure , but with
./waf i get the next mistake:
...
...
[1079/2470] cxx: src/dsdv/model/dsdv-routing-protocol.cc -> build/src/dsdv/model/dsdv-routing-protocol.cc.1.o
../src/loc-service/test/loc-service-test-suite.cc:14:10: error: expected unqualified-id before ‘-’ token
class Loc-serviceTestCase1 : public TestCase
^
../src/loc-service/test/loc-service-test-suite.cc:25:4: error: expected unqualified-id before ‘-’ token
Loc-serviceTestCase1::Loc-serviceTestCase1 ()
^
../src/loc-service/test/loc-service-test-suite.cc:32:4: error: expected unqualified-id before ‘-’ token
Loc-serviceTestCase1::~Loc-serviceTestCase1 ()
^
../src/loc-service/test/loc-service-test-suite.cc:41:4: error: expected initializer before ‘-’ token
Loc-serviceTestCase1::DoRun (void)
^
Waf: Leaving directory `/home/christian/ns-3.23/build'
Build failed
-> task in 'ns3-loc-service-test' failed (exit status 1):
{task 140053402043088: cxx loc-service-test-suite.cc -> loc-service-test-suite.cc.3.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-I../src/loc-service', '-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/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-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_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNS_TEST_SOURCEDIR="src/loc-service/test"', '../src/loc-service/test/loc-service-test-suite.cc', '-c', '-o', 'src/loc-service/test/loc-service-test-suite.cc.3.o']
Any recommendation will be helpfull, thanks in ancvance