Dear All,
I have loaded OpenNHRP source code in to eclipse but it seems that there
are many sips between the cup and lips :)
1. 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)
{
++kqueue_changecnt;
array_needsize (struct kevent, kqueue_changes, kqueue_changemax,
kqueue_changecnt, EMPTY2);
EV_SET (&kqueue_changes [kqueue_changecnt - 1], fd, filter, flags,
fflags, 0, 0);
}
2. Similarly, in the ev_port.c, eclipse cannot resolve the #include
<port.h>
3. 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.
4. Similarly, #include <ares.h> cannot be resolved.
Thanks
On Mon, Jul 21, 2014 at 4:08 PM, Timo Teras <timo.te...@iki.fi> wrote:
> On Mon, 21 Jul 2014 12:31:36 +0500
> masoom alam <masoom.a...@gmail.com> wrote:
>
> > We have successfully loaded OpenNHRP source code using the CDT plugin
> > in Eclipse. A confusion is that can we run it without making 'make'
> > and 'make install'. I mean it will be nice, if we can lively debug
> > the code without installing it. Is this possible, as the code read
> > several values from the kernel too.....
>
> Yes, it can be run from where ever. The only requirements are to to
> have net admin capability (or being root), and having proper
> configuration in /etc/opennhrp/opennhrp.conf or using -c parameter to
> specify valid config file.
>
> - Timo
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
opennhrp-devel mailing list
opennhrp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opennhrp-devel