@Ahouari Lynda , Hi.
Please delete the post with all the warning lines.
You can repeat the content, but without the surplus lines about warnings.
Warnings are to be ignored. These warnings are meant for ns2 developers only.
( .... There is no development of ns2. Ended years ago. ns2 was replaced by ns3.)
»» invalid command name "Agent/ZRP" «« : You are definitely not following my instructions of `Apr 21, 2019´.
.... Seems you are trying to add ZRP to an ns-2.35/ already patched with OLSR.
? Do you want to run simulations with two main protocols. May be possible?, if you also have two complete sections with "ns_ node-config" in your simulation :
1.
$ns_ node-config -adhocRouting OLSR \
.
.
2.
$ns_ node-config -adhocRouting ZRP \
.
.
Usually you would just setup multiple ns-allinone-2.35 :
You can have as many as you want, installed at the same time, see ns2-INFO
Example :
/home/name/ns2/a/ns-allinone-2.35/
/home/name/ns2/b/ns-allinone-2.35/
/home/name/ns2/c/ns-allinone-2.35/
/home/name/ns2/d/ns-allinone-2.35/
/home/name/ns2/e/ns-allinone-2.35/
.... and with all the executable "ns-name" in /usr/local/bin/
.... My example is attached (More than 200 installs on one OS.)