oops forgotten some part:


#include <sys/param.h>
is needed before sysctl.h include

and there is another error related to route.h, which need before
#include <sys/socket.h>

with this + patch-config_h on today's cvs HEAD, i get compile to:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -I/usr/local/include/libpng -I/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/myrrd -DOPENBSD -I/usr/local/include -I/usr/local/include -I/usr/local/include/libpng -I/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/myrrd -g -I/usr/include/glib-1.2 -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g -I/usr/include/glib-1.2 -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -c hash.c -Wp,-MD,.deps/hash.TPlo -fPIC -DPIC -o .libs/hash.lo
hash.c: In function `lookupHost':
hash.c:874: `_in6addr_linklocal_allnodes' undeclared (first use in this function)
hash.c:874: (Each undeclared identifier is reported only once
hash.c:874: for each function it appears in.)
gmake[2]: *** [hash.lo] Error 1


Regards

                Julien
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to