Using PRoPHET from version 12 on version 10
Hi,
We have been modifying code from version 0.10.2 (daemon and tools) and we need to use PRoPHET (which we did not modify), but we saw that version 0.10.2 has bugs which were corrected in version 0.12.0.
Is it possible to simply use PRoPHET from version 0.12.0 on version 0.10.2? We tried replacing the source code (the PRoPHET folder on dtnd) and compiling, but there was an error since there was no Makefile in the new version. We got the Makefile from the old version and pasted it there, but now we there problems:
make[7]: Entering directory `/home/builder/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/ibrdtnd-0.10.2/src/routing/prophet' Makefile:407: .deps/AcknowledgementSet.Plo: No such file or directory Makefile:408: .deps/DeliveryPredictabilityMap.Plo: No such file or directory Makefile:409: .deps/ForwardingStrategy.Plo: No such file or directory Makefile:410: .deps/ProphetRoutingExtension.Plo: No such file or directory make[7]: *** No rule to make target `.deps/ProphetRoutingExtension.Plo'. Stop.
Is there any easy way to integrate PRoPHET from version 12 with the remaning code from version 10.2?
Thank you,
Romeu
Hello Romeu.
Is there any easy way to integrate PRoPHET from version 12 with the remaning code from version 10.2?
As you already noticed, it is not that easy. The interfaces and the routing framework has changed a bit and thus, it would be necessary to review the prophet code to ensure its correctness.
Wouldn't it be a better way to port your changes to the more recent version 0.12.0? That way you would get the most recent fixes with the next version.
Kind regards, Johannes
participants (2)
-
Johannes Morgenroth
-
Romeu Monteiro