I have not attempted any recent release of ntop on OpenBSD 3.4.  However
to get anywhere when trying to build a recent version of ntop on OpenBSD
3.3 I had to disable the stack protection built in to OpenBSD's version
of GCC.

I believe you will need to modify the ntop Makefile to include the flag
"-fno-stack-protector" whenever gcc is called.

Doing this on OpenBSD 3.3 got me a whole lot further than I could
without it.

But then, I may be wrong.  ;)

BenR.

On Fri, 2003-11-07 at 23:58, Burton Strauss wrote:
> Read the back traffic on openBSD - we've NEVER gotten it to work.  With 3.4 being an 
> ELF (vs. aopen) system, I have HOPES it might work.  But prepare yourself for a lot 
> of detective work...
> 
> Find the offending code, check the underlying structure, fix the problem, recompile, 
> etc.
> 
> -----Burton
> 
> ---------- Original Message ----------------------------------
> From: Julien TOUCHE <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date:  Fri, 07 Nov 2003 09:04:27 +0100
> 
> >
> >manage to pass configure with the following:
> >+ ./configure --prefix=/opt --with-rrd-root=/usr/local 
> >-enable-iknowbetter --enable-sslv3 
> >--with-libpng-include=/usr/local/include/libpng 
> >--with-localedir=/usr/local/share/locale --disable-mt
> >+ LDFLAGS=-L/usr/local/lib -lttf -lpng -ljpeg NTOPCONFIGDEBUG=yes 
> >CFLAGS=-I/usr/include/glib-1.2
> >
> >compile stops here:
> >
> >gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include/libpng 
> >-I/share2/tmp/ntop-2.2.95/myrrd -DOPENBSD -I/usr/local/include 
> >-I/usr/local/include/libpng -I/share2/tmp/ntop-2.2.95/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 
> >globals-core.c -Wp,-MD,.deps/globals-core.TPlo  -fPIC -DPIC -o 
> >.libs/globals-core.lo
> >globals-core.c: In function `initNtopGlobals':
> >globals-core.c:376: sizeof applied to an incomplete type
> >globals-core.c:377: sizeof applied to an incomplete type
> >gmake[2]: *** [globals-core.lo] Error 1
> >gmake[2]: Leaving directory `/share2/tmp/ntop-2.2.95'
> >gmake[1]: *** [all-recursive] Error 1
> >gmake[1]: Leaving directory `/share2/tmp/ntop-2.2.95'
> >gmake: *** [all] Error 2
> >
> >Regards
> >
> >             Julien
> >
> >_______________________________________________
> >Ntop mailing list
> >[EMAIL PROTECTED]
> >http://listgateway.unipi.it/mailman/listinfo/ntop
> >
> 
> 
> ____________________________________________________________
> Free 20MB Web Site Hosting and Personalized E-mail Service!
> Get It Now At Doteasy.com http://www.doteasy.com/et/
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop

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

Reply via email to