Dear All,
Greetings. I was trying to change the code of dmtcp_coordinator to include
some more packets while connecting to a node. These are the steps that I
did:
1. Include external header files in dmtcp_coordinator.cpp
i.e.
#include "packet.h"
#include "uri.h"
2. placed "packet.h" and "uri.h" files to dmtcp-master/include folder.
These are also present in system "usr/local/include" for global include.
3. Used functions packet_create() and packet_connect() in
dmtcp_coordinator.cpp. Both these functions have been defined in packet.h
header file.
4. On terminal:
i) ./configure
ii) sudo make
This is giving me the following error:
/home/iiitd/dmtcp-master/src/dmtcp_coordinator.cpp:1923: undefined
reference to `packet_create()'
/home/iiitd/dmtcp-master/src/dmtcp_coordinator.cpp:1931: undefined
reference to `packet_connect(packet*, char const*)'
collect2: ld returned 1 exit status
make[2]: *** [../bin/dmtcp_coordinator] Error 1
make[2]: Leaving directory `/home/iiitd/dmtcp-master/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/iiitd/dmtcp-master/src'
make: *** [dmtcp] Error 2
I have made sure that the code is syntactically correct and the parameters
in the functions have been used correctly.
Any tips would be highly valuable.
Thanks and Regards
Nitinder Mohan
MTech (CE) IIIT Delhi
http://home.iiitd.edu.in/~nitinder1369/
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum