J:
At this point I've lost you. Why don't you fix it yourself and send me the patch? It's pretty easy.
not really familiar with autoconf, but i give it a look. simpler than i think.
here a patch
another needed because sys/socket.h must be included before route.h on OpenBSD.
i think i correct most abnormal "fail" from config.log
one note for ipv6 dev, have an option for <netinet/{ip,icmp}6.h>.
i included them in configure.inat this point, compile goes 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 sessions.c -Wp,-MD,.deps/sessions.TPlo -fPIC -DPIC -o .libs/sessions.lo
sessions.c: In function `processScsiPkt':
sessions.c:2390: incompatible types in assignment
sessions.c:2391: incompatible types in assignment
sessions.c:2418: incompatible types in assignment
sessions.c:2419: incompatible types in assignment
sessions.c:2440: incompatible types in assignment
sessions.c:2441: incompatible types in assignment
sessions.c:2461: incompatible types in assignment
sessions.c:2479: incompatible types in assignment
sessions.c:2485: incompatible types in assignment
sessions.c:2486: incompatible types in assignment
sessions.c: In function `handleFcSession':
sessions.c:2998: incompatible types in assignment
sessions.c:3005: incompatible types in assignment
gmake[2]: *** [sessions.lo] Error 1
seems ntop related this time ;)
Regards
Julien
Index: configure.in =================================================================== RCS file: /export/home/ntop/ntop/configure.in,v retrieving revision 2.185 diff -r2.185 configure.in 1980a1981,1983 > #ifdef HAVE_SYS_TYPES_H > #include <sys/types.h> > #endif 2003a2007,2012 > #ifdef HAVE_SYS_TYPES_H > #include <sys/types.h> > #endif > #ifdef HAVE_NETINET_IN_SYSTM_H > #include <netinet/in_systm.h> > #endif 2007a2017,2019 > #ifdef HAVE_SYS_TYPES_H > #include <sys/types.h> > #endif 2021a2034,2036 > #ifdef HAVE_SYS_TYPES_H > #include <sys/types.h> > #endif 2025c2040,2044 < AC_CHECK_HEADERS([sys/sysctl.h net/if_dl.h]) --- > AC_CHECK_HEADERS([sys/param.h]) > AC_CHECK_HEADERS([sys/sysctl.h net/if_dl.h], [], [], [ > #ifdef HAVE_SYS_PARAM_H > #include <sys/param.h> > #endif]) 2026a2046,2048 > #ifdef HAVE_SYS_TYPES_H > #include <sys/types.h> > #endif 2064d2085 < AC_CHECK_HEADERS([sys/param.h]) 2095a2117,2123 > AC_CHECK_HEADERS([netinet/ip6.h netinet/icmp6.h], [], [], [ > #if HAVE_SYS_TYPES_H > #include <sys/types.h> > #endif > #if HAVE_NETINET_IN_H > #include <netinet/in.h> > #endif])
Index: ntop.h =================================================================== RCS file: /export/home/ntop/ntop/ntop.h,v retrieving revision 2.144 diff -r2.144 ntop.h 194a195,200 > > /* this must be before route.h on openbsd */ > #ifndef WIN32 > #include <sys/socket.h> > #endif > 261,264d266 < < #ifndef WIN32 < #include <sys/socket.h> < #endif
