I'm installing ns-3.44 on a Debian 12 system.
I downloaded and extracted the .bz2 release file
I ran the configure process `$ ./ns3 configure --enable-examples --enable-tests`
I ran the build `$ ./ns3 build`
At 12%, I see a number of errors:
[ 12%] Building CXX object src/antenna/CMakeFiles/antenna-test.dir/test/test-adjacency-matrix.cc.o
In file included from /home/tim/ns-3/ns-allinone-3.44/ns-3.44/build/include/ns3/symmetric-adjacency-matrix.h:1,
from /home/tim/ns-3/ns-allinone-3.44/ns-3.44/src/antenna/test/test-adjacency-matrix.cc:9:
/home/tim/ns-3/ns-allinone-3.44/ns-3.44/src/antenna/utils/symmetric-adjacency-matrix.h:240:36: error: expected ‘)’ before ‘numRows’
240 | SymmetricAdjacencyMatrix(size_t numRows = 0, T value = {})
| ~ ^~~~~~~~
| )
The build process stopped at 16% with these errors:
[ 16%] Building CXX object src/network/CMakeFiles/network.dir/utils/timestamp-tag.cc.o
[ 16%] Linking CXX shared library /home/tim/ns-3/ns-allinone-3.44/ns-3.44/build/lib/libns3.44-network-default.so
gmake: *** [Makefile:136: all] Error 2
Finished executing the following commands:
/usr/bin/cmake --build /home/tim/ns-3/ns-allinone-3.44/ns-3.44/cmake-cache -j 3
tim@test03:~/ns-3/ns-allinone-3.44/ns-3.44$
Where should I start to resolve these errors?