"Choke Me"? Well that certainly sounds like FreeBSD doesn't like SOME .h file... If you look in configure just before the indicated line #s (e.g. 2993, 4060, etc.) it should show you what is being tested for.
BUT: Not every error is going to be a problem - that's the nature of ./configure processing - you test for multiple things and record what does / does not work in #define constants for the program to deal with. "... has incomplete type" errors usually are missing related .h files. You'll need to look further back in the config.log file to see what it's testing and how. -----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 10:08 AM > To: [EMAIL PROTECTED] > Subject: RE: [Ntop] ntop build failure - CVSUP from > thismorningonFreeBSD5.2.1-RELEASE-p9 > > > OK, here goes: > > # grep -A 4 error config.log > > conftest.c:2: error: syntax error before "me" > configure:2993: $? = 1 > configure: failed program was: > | #ifndef __cplusplus > | choke me > -- > conftest.c:2: error: syntax error before "me" > configure:4060: $? = 1 > configure: failed program was: > | #ifndef __cplusplus > | choke me > -- > conftest.c:2: error: syntax error before "me" > configure:7018: $? = 1 > configure: failed program was: > | #ifndef __cplusplus > | choke me > -- > conftest.c:29: error: syntax error before "big" > configure:9137: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > -- > /usr/include/net/if.h:247: error: field `ifru_addr' has incomplete type > /usr/include/net/if.h:248: error: field `ifru_dstaddr' has incomplete > type > /usr/include/net/if.h:249: error: field `ifru_broadaddr' has incomplete > type > /usr/include/net/if.h:281: error: field `ifra_addr' has incomplete type > /usr/include/net/if.h:282: error: field `ifra_broadaddr' has incomplete > type > /usr/include/net/if.h:283: error: field `ifra_mask' has incomplete type > /usr/include/net/if.h:334: error: field `addr' has incomplete type > /usr/include/net/if.h:335: error: field `dstaddr' has incomplete type > In file included from /usr/include/netinet/if_ether.h:41, > from conftest.c:80: > /usr/include/net/if_arp.h:91: error: field `arp_pa' has incomplete type > /usr/include/net/if_arp.h:92: error: field `arp_ha' has incomplete type > In file included from conftest.c:80: > /usr/include/netinet/if_ether.h:100: error: field `sin_addr' has > incomplete type > /usr/include/netinet/if_ether.h:101: error: field `sin_srcaddr' has > incomplete type > conftest.c:83:28: linux/if_pppox.h: No such file or directory > configure:15401: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > -- > /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by > <stdlib.h>" > configure:18186: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > -- > /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by > <stdlib.h>" > configure:18229: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > -- > /usr/include/sys/sched.h:106: error: `curthread' undeclared (first use > in this function) > /usr/include/sys/sched.h:106: error: (Each undeclared identifier is > reported only once > /usr/include/sys/sched.h:106: error: for each function it appears in.) > /usr/include/sys/sched.h: In function `sched_unpin': > /usr/include/sys/sched.h:112: error: `curthread' undeclared (first use > in this function) > configure:18638: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > -- > -- > conftest.c:143: error: conflicting types for `setvbuf' > /usr/include/stdio.h:243: error: previous declaration of `setvbuf' > configure:24099: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > -- > conftest.c:189: error: `IPPROTO_SCTP' undeclared (first use in this > function) > conftest.c:189: error: (Each undeclared identifier is reported only once > conftest.c:189: error: for each function it appears in.) > configure:28374: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > -- > configure:28532: WARNING: error > configure:28564: checking pthread_atfork > configure:28584: gcc -o conftest -g -O2 -I/usr/local/include -Wshadow > -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -fPIC -DHAVE_FILEDESCRIPTORBUG -DFREEBSD > -I/usr/local/include -L/usr/local/lib conftest.c -lc_r -lc -lc -lz -lc > -lc -lcrypt -lcrypt -lssl -lcrypto -lpng -lgd -lgdbm -lpcap -lpcap > -lgdbm -lgd -lpng -lz >&5 > /var/tmp//cc6lYYVx.o: In function `main': > /home/fordm5/src/ntop/conftest.c:188: undefined reference to > `pthread_atfork' > -- > conftest.c:198: error: request for member `ether_addr_octet' in > something not a structure or union > configure:28768: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > > On , [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) wrote: > > > In config.log is the actual test program and real error message - > > that's the key. There's probably a (new) prereq for sched.h in > > FreeBSD. > > > > -----Burton > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of > >> [EMAIL PROTECTED] > >> Sent: Thursday, November 04, 2004 3:46 AM > >> To: [EMAIL PROTECTED] > >> Subject: [Ntop] ntop build failure - CVSUP from this morning > >> onFreeBSD5.2.1-RELEASE-p9 > >> > >> > >> Just in case any of this indicates an obvious problem to somebody I > >> thought I'd post it here. Oh, and the configure output asked me to > >> do so as well :) > >> > >> Mat > >> > >> # ./configure > >> > >> *** Warning: the command libtool uses to detect shared libraries, > >> *** /usr/bin/file, produces output that libtool cannot recognize. > >> *** The result is that libtool may fail to recognize shared libraries > >> *** as such. This will affect the creation of libtool libraries that > >> *** depend on shared libraries, but programs linked with such libtool > >> *** libraries will work regardless of this problem. Nevertheless, you > >> *** may want to report the problem to your system manager and/or to > >> *** [EMAIL PROTECTED] > >> > >> configure: WARNING: sys/sched.h: present but cannot be compiled > >> configure: WARNING: sys/sched.h: check for missing prerequisite > >> headers? configure: WARNING: sys/sched.h: see the Autoconf > >> documentation configure: WARNING: sys/sched.h: section "Present > >> But Cannot Be Compiled" configure: WARNING: sys/sched.h: proceeding > >> with the preprocessor's result configure: WARNING: sys/sched.h: in > >> the future, the compiler will take precedence configure: WARNING: > >> ## ------------------------------- ## configure: WARNING: ## > >> Report this to the ntop lists. ## configure: WARNING: ## > >> ------------------------------- ## configure: WARNING: error > >> > >> ******************************************************************* * > >> * WARNING: One or more items required for the xmldump plugin are > >> * missing: > >> * > >> * xmlversion.h...no > >> * libxml2.so or libxml2.a...no > >> * gdome.h...no > >> * libgdome.so or libgdome.a...no > >> * glib.h...no > >> * libglib.so or libglib.a...no > >> * glibconfig.h...no > >> * > >> * (yes means it was found, no means it was not found) * > >> * ntop will run just fine without this plugin. * > >> *>>> If you want to use the xmldump plugin, > >> * > >> *??? 1. Install the necessary headers and libraries. > >> *??? and rerun ./configure > >> * > >> ******************************************************************* > >> > >> # gmake > >> > >> Making all in plugins > >> gmake[2]: Entering directory `/usr/home/fordm5/src/ntop/plugins' > >> Makefile:53: *** missing separator. Stop. > >> gmake[2]: Leaving directory `/usr/home/fordm5/src/ntop/plugins' > >> gmake[1]: *** [all-recursive] Error 1 > >> gmake[1]: Leaving directory `/usr/home/fordm5/src/ntop' > >> gmake: *** [all] Error 2 > >> _______________________________________________ > >> 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
