Burton M. Strauss III wrote:
In the future, some kind of clue about your platform would be nice.
Reason it shows up for some is that various versions have/don't have the
getopts_long already built into the libraries.
It's code ripped right out of gnu libiberty and some versions of gcc seem to
be more rigid in applying parsing rules to the #define NONOPTION_P() than
others.
It's been fixed in the cvs.
-----Burton
Sorry
it is i386
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Fanie
Smith
Sent: Tuesday, February 04, 2003 4:04 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] Ntop 2.1.56 on OpenBSD 3.2
Hi
Does anyone have any ideas
autoconf 2.57 automake 1.7.2 gcc 2.95.3
I get the following errorrs
snip ---
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include -I/usr/local/include
-I/usr/src/ntop-2.1.56/gdchart0.94c -I/usr/local/include -I/usr/local/includ
e
-I/usr/local/rrdtool-1.0.40/include -DOPENBSD -g -O2 -Wshadow -Wpointer-arit
h
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DOPENBSD
-g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -c util.c -Wp,-MD,.deps/util.TPlo -fPIC -DPIC -o
.libs/util.lo
util.c:3622: badly punctuated parameter list in `#define'
gmake[2]: *** [util.lo] Error 1
gmake[2]: Leaving directory `/usr/src/ntop-2.1.56/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/ntop-2.1.56/ntop'
gmake: *** [all] Error 2
snip---
There seems to be some header files missing?
From configure
snip ---
checking net/ethernet.h usability... no
checking net/ethernet.h presence... no
checking for net/ethernet.h... no
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for net/if.h... yes
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
configure: WARNING: netinet/if_ether.h: present but cannot be compiled
configure: WARNING: netinet/if_ether.h: check for missing prerequisite
headers?
configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for netinet/if_ether.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for netinet/ip.h... yes
checking netinet/ip_icmp.h usability... no
checking netinet/ip_icmp.h presence... yes
configure: WARNING: netinet/ip_icmp.h: present but cannot be compiled
configure: WARNING: netinet/ip_icmp.h: check for missing prerequisite
headers?
configure: WARNING: netinet/ip_icmp.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
snip ---
I have mailed autoconf
Thanks
fanie
_______________________________________________
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