Dear all
it seems to me that for some reason the libevent was not detected but
ntop configure did not realize this. Please check this and send me a
configure patch for FreeBSD
Thanks Luca
On May 7, 2009, at 8:26 PM, Gary Gatten wrote:
> <!-- /* Font Definitions */ @font-face {font-family:Tahoma;
> panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal,
> li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-
> size:12.0pt; font-family:"Times New Roman";} a:link,
> span.MsoHyperlink {color:blue; text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed {color:purple; text-
> decoration:underline;} span.EmailStyle17 {mso-style-type:personal;
> font-family:Arial; color:windowtext;} span.EmailStyle18 {mso-style-
> type:personal-reply; color:black;} @page Section1 {size:8.5in
> 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1
> {page:Section1;} -->
> Ok, at the end of my limited hacking ability. Looks like this
> change was put in place in r3749 in ntop.h. I tried commenting them
> out, but of course still get a bunch of compile errors and it
> halts. Any help would be greatly appreciated – I’m stuck!
>
>
>
> Also, during autogen there was some warning about “something” I
> needed a newer version of but it scrolled out of my buffer. I
> looked through config.log and saw nothing! Also grep’d files in the
> autom4ke dir. Where is the output from autogen? I guess I can run
> it again with a larger screen buffer….
>
>
>
>
>
>
>
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Gary Gatten
> Sent: Thursday, May 07, 2009 12:42 PM
> To: [email protected]; [email protected]
> Subject: [Ntop] gmake error on FreeBSD; no event.h and evdns.h
>
>
>
> Got latest code from svn yesterday. Autogen.sh worked ok, reviewed
> logs and nothing critical (what are all the logs?)
>
>
>
> When trying to make or gmake get this:
>
>
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -I/tmp/ntop-
> svn/ntop/lua-5.1.4/src -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/
> BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -
> pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE -
> DFREEBSD -I/usr/local/include -I/opt/local/include -g -O2 -I/usr/
> local/include -I/opt/local/include -Wshadow -Wpointer-arith -
> Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -
> DPIC -I/tmp/ntop-svn/ntop/GeoIP-1.4.6/libGeoIP/ -MT address.lo -MD -
> MP -MF .deps/address.Tpo -c address.c -fPIC -DPIC -o .libs/address.o
>
> In file included from address.c:21:
>
> ntop.h:416:19: event.h: No such file or directory
>
> ntop.h:417:19: evdns.h: No such file or directory
>
> address.c: In function `dns_response_callback':
>
> address.c:123: error: `DNS_ERR_NONE' undeclared (first use in this
> function)
>
> address.c:123: error: (Each undeclared identifier is reported only
> once
>
> address.c:123: error: for each function it appears in.)
>
> address.c:129: error: `DNS_IPv6_AAAA' undeclared (first use in this
> function)
>
> address.c:142: warning: assignment discards qualifiers from pointer
> target type
>
> address.c:150: error: `DNS_IPv4_A' undeclared (first use in this
> function)
>
> address.c:164: error: `DNS_PTR' undeclared (first use in this
> function)
>
> address.c:217: warning: nested extern declaration of `event_loopexit'
>
> address.c: In function `queueAddress':
>
> address.c:243: warning: nested extern declaration of
> `evdns_resolve_reverse'
>
> address.c:243: error: `DNS_ERR_NONE' undeclared (first use in this
> function)
>
> address.c:249: warning: nested extern declaration of
> `evdns_resolve_reverse_ipv6'
>
> gmake[2]: *** [address.lo] Error 1
>
> gmake[2]: Leaving directory `/tmp/ntop-svn/ntop'
>
> gmake[1]: *** [all-recursive] Error 1
>
> gmake[1]: Leaving directory `/tmp/ntop-svn/ntop'
>
> gmake: *** [all] Error 2
>
>
>
> "This email is intended to be reviewed by only the intended
> recipient and may contain information that is privileged and/or
> confidential. If you are not the intended recipient, you are hereby
> notified that any review, use, dissemination, disclosure or copying
> of this email and its attachments, if any, is strictly prohibited.
> If you have received this email in error, please immediately notify
> the sender by return email and delete this email from your system."
>
> "This email is intended to be reviewed by only the intended
> recipient and may contain information that is privileged and/or
> confidential. If you are not the intended recipient, you are hereby
> notified that any review, use, dissemination, disclosure or copying
> of this email and its attachments, if any, is strictly prohibited.
> If you have received this email in error, please immediately notify
> the sender by return email and delete this email from your system."
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop