What do you want me to tell you? The d*mn thing has never worked under OpenBSD? OK...
I have never been able to make ntop work under OpenBSD. There, I've said it (sounds like a 12 step program, huh?) With 3.3 & below, it was a losing cause because of the A.OUT vs. ELF issues. Capitalized items are usually constants, so it sounds like we're missing yet another .h file. Best be is to grep in /usr/include to find the #define and add that to the list in ntop.h. Then when you confirm it works, add the fallback test to configure.in like we have for Solaris (look for "failed recheck" in configure.in). -----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Julien TOUCHE > Sent: Tuesday, December 16, 2003 8:18 AM > To: Ntop > Subject: [Ntop] ntop + openbsd > > > > i just test ntop cvs HEAD against openbsd 3.4-stable/i386 > > pb when compiling: > > 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 > address.c -Wp,-MD,.deps/address.TPlo -fPIC -DPIC -o .libs/address.lo > In file included from /usr/include/sys/sysctl.h:46, > from ntop.h:186, > from address.c:21: > /usr/include/sys/ucred.h:46: `NGROUPS' undeclared here (not in a function) > In file included from /usr/include/sys/sysctl.h:47, > from ntop.h:186, > from address.c:21: > /usr/include/sys/proc.h:57: `MAXLOGNAME' undeclared here (not in > a function) > /usr/include/sys/proc.h:206: `MAXCOMLEN' undeclared here (not in > a function) > /usr/include/sys/proc.h:206: size of array `p_comm' has non-integer type > In file included from ntop.h:186, > from address.c:21: > /usr/include/sys/sysctl.h:316: `MAXLOGNAME' undeclared here (not in a > function) > In file included from ntop.h:192, > from address.c:21: > /usr/include/net/route.h:54: field `ro_dst' has incomplete type > In file included from ntop.h:192, > from address.c:21: > /usr/include/net/route.h:118: field `rt_dst' has incomplete type > /usr/include/net/route.h:119: field `rt_gateway' has incomplete type > gmake[2]: *** [address.lo] Error 1 > gmake[2]: Leaving directory `/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop' > gmake: *** [all] Error 2 > > > Regards > > Julien > > > option: ./configure --prefix=/opt --with-rrd-root=/usr/local > --enable-sslv3 -enable-iknowbetter --with-libpng-include=/usr/lo > cal/include/libpng --with-localedir=/usr/local/share/locale > --with-gdbm-root=/usr/local _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
