First, I patch the patch set 1 in ns3-3.24, and got some Hunk FAILED & Hunk succeeded
I try to manually modified those FAILED element of files individually according to the patch set 1
But I builded ns3 again, still got error message
sudo ./waf configure --enable-examples --enable-tests --disable-python
sudo ./waf build
../src/internet/test/ipv4-netfilter-test.cc: In constructor ‘Ipv4NetfilterTestSuite::Ipv4NetfilterTestSuite()’:
../src/internet/test/ipv4-netfilter-test.cc:130:43: error: no matching function for call to ‘Ipv4NetfilterTestSuite::AddTestCase(Ipv4NetfilterRemovePacket*)’
AddTestCase(new Ipv4NetfilterRemovePacket);
^
../src/internet/test/ipv4-netfilter-test.cc:130:43: note: candidate is:
In file included from ../src/internet/test/ipv4-netfilter-test.cc:18:0:
./ns3/test.h:1181:8: note: void ns3::TestCase::AddTestCase(ns3::TestCase*, ns3::TestCase::TestDuration)
void AddTestCase (TestCase *testCase, enum TestDuration duration);
^
./ns3/test.h:1181:8: note: candidate expects 2 arguments, 1 provided
It seems like the function of "ipv4-netfilter-test.cc" is too old for the definition of ns3/test.h
How could I fix the problem ?
Am I missing something or something wrong ?
Please do help me
Best Regards,