Yeah, pretty much like that. 1. Please use diff -U3 to create the .patch files, as that gives context and allows fuzzy applies (i.e. if a few lines move, are added/subtracted).
2. Do both sys/sysctl.h and net/if_dl.h require sys/param.h? Otherwise, it's best to split it into two test lines: AC_CHECK_HEADERS([sys/sysctl.h]) AC_CHECK_HEADERS([net/if_dl.h], [], [], [ #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif]) Cool isn't it - how easy it is to get sucked in... -----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Julien TOUCHE > Sent: Tuesday, December 23, 2003 8:34 AM > To: [EMAIL PROTECTED] > Subject: Re: [Ntop] ntop + openbsd > > > Burton M. Strauss III wrote: > > > 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.in > > at 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 > > > _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
