Jac,
yes, that error occurs because although IPv6 is
enabled, its structures and their members (for
example, s6_addr) are only declared if you have
#included the files in config.h. But from my
experience, it doesn't hurt to compile with IPv6
enabled. I just didn't submit config.h as-is because I
thought it could cause problems in the *nix world.
Burton, we could include config.h directly into the
sources, but with the following text:

---
/* config.h for MingW */
#if defined(WIN32) && defined(__GNUC__)
#include <winsock2.h>
#include <ws2tcpip.h>
#endif /* WIN32 && __GNUC__ */

---
That way, things would work out of the box for both
platforms. What do you think?

Jac, about the second problem, I really have no idea
what's wrong. It seldom happens in my environment, and
doesn't give me any trouble at all.
I manage to run ntop on https, but it is flaky and
unresponsive. I'm working on other topics right now
(upgrading the libs, rrdtool and fixing arbitrary
graphs) to look at this now, maybe later. Regards,

Georger

--- jacengel <[EMAIL PROTECTED]> escreveu:

> Georger,
> FYI
> Thanks for the files but I have problems to compile
> I got  Error:
> In file included from ntop.h:490,
>                  from address.c:21:
> globals-core.h:556: warning: `struct timespec'
> declared inside parameter
> list
> address.c: In function `queueAddress':
> address.c:553: structure has no member named
> `s6_addr'
> address.c: In function `dequeueAddress':
> address.c:637: structure has no member named
> `s6_addr'
> make: *** [MingW_obj/address.o] Error 1
> 
> When I compile with IPv6 support by renaming
> config.h.win32 in
>     C:\MinGW\ntop3.1\ntop to config.h
> it compiles OK !!!
> 
> But still the known error:
> - 08/30/05 19:28:59 [MSGID8962748] **ERROR** errno
> 73330508 during sending
> of page
>   to web client
> - and https  on port 3001 does not work
> 
> Cheers
> Jac

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to