Problem with function "Click Modular Rounter Integration" - ns-3.45

10 views
Skip to first unread message

Wagner Oliveira

unread,
Sep 22, 2025, 12:27:20 PMSep 22
to ns-3-users
Good afternoon everyone, and to Tom Henderson and Gabriel Ferreira


I installed the "Click Modular Router Integration" function sequence and performed all the installation steps, as per the manual.

$ git clone https://github.com/kohler/click
$ cd click/
$ ./configure --disable-linuxmodule --enable-nsclick --enable-wifi
$ make


The "--enable-wifi" flag can be ignored if you don't intend to use Click with Wi-Fi.
* Note: You do not need to run a 'make install'. 
* After successfully compiling Click, access the ns-3 directory (ns-3.45) and configure ns-3 with "Click Integration Support":

$ ./ns3 configure --enable-examples --enable-tests --with-nsclick=/path/to/click/source
When I run the last command line, the following information appears:

Traceback (most recent call last):
File "/home/wagner123/ns-allinone-3.45/ns-3.45/./ns3", line 1974, in <module>
main()
File "/home/wagner123/ns-allinone-3.45/ns-3.45/./ns3", line 1750, in main
args = parse_args(sys.argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wagner123/ns-allinone-3.45/ns-3.45/./ns3", line 611, in parse_args
raise Exception(msg)

Exception: Unknown options were given: --with-nsclick=/path/to/click/source.
To see the allowed options, add the `--help` option.
To forward configuration or runtime options, put them after '--'.
Try: ./ns3 configure -- --with-nsclick=/path/to/click/source


I've already made some changes to this last command line and they didn't work.

Could you please help me?

Gabriel Ferreira

unread,
Sep 22, 2025, 12:45:13 PMSep 22
to ns-3-users
./ns3 configure --help will show you that the proper command is ./ns3 configure --with-click=/path/to/click/build
Reply all
Reply to author
Forward
0 new messages