Try adding an #ifdef INET6 around those lines:

#ifndef HAVE_IPV6_H
#include <netinet/ip6.h>
#endif

#ifndef HAVE_ICMPV6_H
#include <netinet/icmp6.h>
#endif
#endif

becomes

#ifdef INET6
#ifndef HAVE_IPV6_H
#include <netinet/ip6.h>
#endif

#ifndef HAVE_ICMPV6_H
#include <netinet/icmp6.h>
#endif
#endif
#endif /* INET6 */


Those lines are trying to cover OSes which put the ipv6 stuff in differently
named files.  Obviously Irix has found yet another way to package them...

-----Burton


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark
> Bednarczyk
> Sent: Wednesday, April 07, 2004 9:22 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Ntop] NetFlow collect
>
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > Burton M. Strauss III
> > Sent: Wednesday, April 07, 2004 9:35 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Ntop] NetFlow collect
> >
> >
> > Why don't you just disable IPv6?  ./configure
> > --disable-ipv6 (You would have
> > found this if you checked the ./configure --help).
> > Otherwise, use the cvs
> > log and check yourself.
>
> I did check and use the --disable-ipv6 option, but it still
> fails:
>
> Here is the exact command line:
> ./configure --with-pcap-root=/usr/local --with-gdbm-include=/usr
> /freeware/include --with-gdbm-lib=/usr/freeware/lib32 --with-gd-
> include=/usr/freeware/include --with-gd-lib=/usr/freeware/lib32
> --with-gd-root=/usr/freeware --disable-ipv6
>
> <...snip....>
>
>         source='address.c' object='address.lo' libtool=yes
> depfile='.deps/address.Plo' tmpdepfile='.deps/address.TPlo'
> depmode=gcc /bin/sh ./depcomp  /bin/sh ./libtool --mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I/usr/local/include -I/usr
> /freeware/include -I/home/markbe/pds/ntop-3.0/myrrd   -DUNKNOWN
> -I/usr/local/include -I/usr/local/include -I/usr/freeware/includ
> e -I/usr/freeware/include -I/home/markbe/pds/ntop-3.0/myrrd -g -
> O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-proto
> types -Wmissing-declarations -Wnested-externs  -g -O2 -I/usr/loc
> al/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissi
> ng-declarations -Wnested-externs  -c -o address.lo `test -f
> 'address.c' || echo './'`address.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -I/usr/
> freeware/include -I/home/markbe/pds/ntop-3.0/myrrd -DUNKNOWN -I/
> usr/local/include -I/usr/local/include -I/usr/freeware/include -
> I/usr/freeware/include -I/home/markbe/pds/ntop-3.0/myrrd -g -O2
> -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototyp
> es -Wmissing-declarations -Wnested-externs -g -O2 -I/usr/local/i
> nclude -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-d
> eclarations -Wnested-externs -c
> address.c -Wp,-MD,.deps/address.TPlo  -DPIC -o .libs/address.lo
> In file included from address.c:21:
> ntop.h:294: netinet/ip6.h: No such file or directory
> ntop.h:298: netinet/icmp6.h: No such file or directory
>
>
> >
> > However, no version other than 3.0 is currently
> > supported, and I can all but
> > guarantee that none of the Irix specific coding that
> > used to be in ntop has
> > survived.  Expect to be starting a fairly significant
> > piece of work.
>
>
> Yes, I agree. I played around with the #ifdef switches because
> the IP v6 structures do exist not in "netinet/ip6.h" but in
> "netinet/in.h", specifically the "in6_addr", but its a never
> ending chase, when 1 thing gets defined, several more structures
> don't work for another reason.
>
> I will try and send en email to freeware.sgi.com asking them if
> they want to tackle the Irix port and use linux for now.
>
> Cheers,
> mark....
>
>
> >
> > -----Burton
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Mark
> > > Bednarczyk
> > > Sent: Wednesday, April 07, 2004 7:09 AM
> > > To: ntop
> > > Subject: [Ntop] NetFlow collect
> > >
> > >
> > > I'm trying to install NTOP with the NetFlow plugin.
> > Can someone
> > > tell me what version it was first introduced, I
> > checked in the
> > > ChangeLog file but it doesn't specify what version
> > it was first
> > > included.
> > >
> > > Basically 3.0 release won't compile on my Irix 6.5.10 system
> > > because of the IPv6 header files it can't locate. So I would
> > > like to install other older versions without IPv6
> > support since
> > > I don't need it for my purposes.
> > >
> > > SGI does provide an installable package for Irix
> > but its version
> > > 2.0; doesn't have the NetFlow plugin.
> > >
> > > Also I noticed the the SGI download link is invalid
> > on the main
> > > ntop download page.
> > >
> > > Cheers,
> > > mark...
> > >
> > >
> > > _______________________________________________
> > > Ntop mailing list
> > > [EMAIL PROTECTED]
> > > http://listgateway.unipi.it/mailman/listinfo/ntop
> >
> > _______________________________________________
> > Ntop mailing list
> > [EMAIL PROTECTED]
> > http://listgateway.unipi.it/mailman/listinfo/ntop
> >
>
>
> _______________________________________________
> 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