Hi all
I adding new protocol (with ceaodv name) in ns-2.35 on fedora 10 and afte 
changed makefile,ns-lib and... when I try to run these commans
./configure ;make clean ;make ; I got these messages:

tk8.5 -L/home/arabi/ns-allinone-2.35/lib -ltcl8.5 -lXext -lX11 -lnsl -ldl -lm 
-lm 
aodv/aodv.o: In function `BroadcastTimer::handle(Event*)':
aodv.cc:(.text+0x45a): multiple definition of `BroadcastTimer::handle(Event*)'
ceaodv/ceaodv.o:ceaodv.cc:(.text+0x468): first defined here
aodv/aodv.o: In function `HelloTimer::handle(Event*)':
aodv.cc:(.text+0xab4): multiple definition of
 `HelloTimer::handle(Event*)'
ceaodv/ceaodv.o:ceaodv.cc:(.text+0xa5e): first defined here
aodv/aodv.o: In function `LocalRepairTimer::handle(Event*)':
aodv.cc:(.text+0xce6): multiple definition of `LocalRepairTimer::handle(Event*)'
ceaodv/ceaodv.o:ceaodv.cc:(.text+0xc9e): first defined here
aodv/aodv.o: In function `RouteCacheTimer::handle(Event*)':
aodv.cc:(.text+0x1d9c): multiple definition of `RouteCacheTimer::handle(Event*)'
ceaodv/ceaodv.o:ceaodv.cc:(.text+0x1df0): first defined here
aodv/aodv.o: In function `NeighborTimer::handle(Event*)':
aodv.cc:(.text+0x2410): multiple definition of `NeighborTimer::handle(Event*)'
ceaodv/ceaodv.o:ceaodv.cc:(.text+0x242e): first defined here
ceaodv/ceaodv.o: In function `CEAODV::sendReply(int, unsigned int, int, 
unsigned int, unsigned int, double, unsigned short, unsigned short)':
ceaodv.cc:(.text+0xb1f): undefined reference to
 `ceaodv_rtable::rt_lookup(int)'
ceaodv/ceaodv.o: In function `LocalRepairTimer::handle(Event*)':
ceaodv.cc:(.text+0xcd2): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv/ceaodv.o: In function `CEAODV::sendRequest(int)':
ceaodv.cc:(.text+0xd5c): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0xe17): undefined reference to `ceaodv_rqueue::deque(int)'
ceaodv/ceaodv.o: In function `CEAODV::recvError(Packet*)':
ceaodv.cc:(.text+0x1172): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0x1251): undefined reference to `ceaodv_rt_entry::pc_empty()'
ceaodv.cc:(.text+0x12a4): undefined reference to `ceaodv_rt_entry::pc_delete()'
ceaodv/ceaodv.o: In function `CEAODV::recvReply(Packet*)':
ceaodv.cc:(.text+0x1343): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0x1366): undefined reference to
 `ceaodv_rtable::rt_add(int)'
ceaodv.cc:(.text+0x1528): undefined reference to `ceaodv_rqueue::deque(int)'
ceaodv.cc:(.text+0x159c): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0x1604): undefined reference to 
`ceaodv_rt_entry::pc_insert(int)'
ceaodv/ceaodv.o: In function `CEAODV::recvRequest(Packet*)':
ceaodv.cc:(.text+0x16e2): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0x1705): undefined reference to `ceaodv_rtable::rt_add(int)'
ceaodv.cc:(.text+0x18f1): undefined reference to `ceaodv_rqueue::deque(int)'
ceaodv.cc:(.text+0x1919): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0x1adb): undefined reference to 
`ceaodv_rt_entry::pc_insert(int)'
ceaodv.cc:(.text+0x1af0): undefined reference to 
`ceaodv_rt_entry::pc_insert(int)'
ceaodv/ceaodv.o: In function `CEAODV::rt_purge()':
ceaodv.cc:(.text+0x1d08): undefined reference to
 `ceaodv_rqueue::deque(int)'
ceaodv.cc:(.text+0x1d91): undefined reference to `ceaodv_rqueue::deque(int)'
ceaodv.cc:(.text+0x1dbb): undefined reference to `ceaodv_rqueue::find(int)'
ceaodv/ceaodv.o: In function `CEAODV::rt_resolve(Packet*)':
ceaodv.cc:(.text+0x1e89): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0x1eb3): undefined reference to `ceaodv_rtable::rt_add(int)'
ceaodv.cc:(.text+0x1f1b): undefined reference to `ceaodv_rqueue::enque(Packet*)'
ceaodv.cc:(.text+0x1f58): undefined reference to `ceaodv_rqueue::enque(Packet*)'
ceaodv/ceaodv.o: In function `CEAODV::local_rt_repair(ceaodv_rt_entry*, 
Packet*)':
ceaodv.cc:(.text+0x21c6): undefined reference to `ceaodv_rqueue::enque(Packet*)'
ceaodv/ceaodv.o: In function `CEAODV::handle_link_failure(int)':
ceaodv.cc:(.text+0x22f5): undefined reference to 
`ceaodv_rt_entry::pc_delete(int)'
ceaodv/ceaodv.o: In function
 `CEAODV::nb_delete(int)':
ceaodv.cc:(.text+0x235f): undefined reference to `CEAODV::log_link_del(int)'
ceaodv/ceaodv.o: In function `CEAODV::rt_ll_failed(Packet*)':
ceaodv.cc:(.text+0x2582): undefined reference to 
`CEAODV::log_link_broke(Packet*)'
ceaodv.cc:(.text+0x25a3): undefined reference to `ceaodv_rtable::rt_lookup(int)'
ceaodv.cc:(.text+0x25ec): undefined reference to `CEAODV::log_link_del(int)'
ceaodv/ceaodv.o: In function `CEAODV::CEAODV(int)':
ceaodv.cc:(.text+0x2791): undefined reference to 
`ceaodv_rqueue::ceaodv_rqueue()'
ceaodv/ceaodv.o: In function `CEAODV::CEAODV(int)':
ceaodv.cc:(.text+0x2967): undefined reference to 
`ceaodv_rqueue::ceaodv_rqueue()'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
[root@arabi ns-2.35]# 


Could you please help me
Thanks
Samira

Reply via email to