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." 






<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'>
</div>
"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."
</font>

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

Reply via email to