I have loaded OpenNHRP source code in to eclipse but it seems that there are many sips between the cup and lips :)
- First of all, libev is showing strange problems. For example, in ev_kqueue.c, eclipse cannot resolve the #include <sys/event.h>. After this, I am getting errors - semicolon missing and syntax error in multiple places in the inline function definition:void inline_speed
kqueue_change (EV_P_ int fd, int filter, int flags, int fflags)
array_needsize (struct kevent, kqueue_changes, kqueue_changemax, kqueue_changecnt, EMPTY2);
EV_SET (&kqueue_changes [kqueue_changecnt - 1], fd, filter, flags, fflags, 0, 0);
- Similarly, in the ev_port.c, eclipse cannot resolve the #include <port.h>
- In OpenNHRP.c a constant is used OPENNHRP_ADMIN_SOCKET, which is taken from the Makefile, Eclipse is unable to resolve this symbol. May be I should put it in Envoirnment Tab in eclipse and this might work.
- Similarly, #include <ares.h> cannot be resolved.