Project

General

Profile

Actions

Bug #66

closed

nsmiracle: nsallinone.m4 breaks with ns-allinone-2.34

Added by Vincenzo Cimino about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
08/19/2026
Due date:
% Done:

0%

Estimated time:

Description

The nsallinone.m4 of nsmiracle is broken as it doesn't properly add the tcl path to the ns cpp flags.
Moreover the one in the desert branch is incompatible with ns-allinone due to this error:

In file included from /home/cimino/Documents/ns-allinone-2.34/ns-2.34/common/packet.h:47,
                 from conftest.cpp:27:
/home/cimino/Documents/ns-allinone-2.34/ns-2.34/common/packet-stamp.h:20:10: fatal error: antenna.h: No such file or directory
   20 | #include <antenna.h>
      |          ^~~~~~~~~~~
[...]
configure:17445: result: FAILED!
configure:17447: error: Could not find NS headers. Is --with-ns-allinone set correctly? 

This is because in the stripped ns-2 version there's no mobile/antenna module hence it was removed from the nsallinone.m4 file.

We should change the name of nsallinone.m4 in the desert branch and make it clear it's not compatible and fix the one in the master branch.

Actions

Also available in: Atom PDF