tcpdump mailing list archives
build breaker (2) ...
From: Hannes Gredler <hannes () juniper net>
Date: Fri, 7 Nov 2003 09:47:58 +0100
guy, seems that the configure script is broken; it does generate from line 170 my config.h file <<<<<<< config.h.in /* Define to 1 if you have the `pcap_dump_flush' function. */ ======= /* Define if you have the pcap_breakloop function. */ /* #undef HAVE_PCAP_BREAKLOOP */ /* Define if you have the pcap_dump_flush function. */
1.50
--- i am not good in unix autoconf tools and probably do more damage than something good - so i leave ithe fix to the pros ;-) /hannes --- it seems your last commit does break the build [at least on my linux redhat 7.2]; (01:31 hannes@ghostrider:~/dev/tcpdump) uname -a Linux ghostrider.gredler.at 2.4.21 #1 Tue Feb 26 07:11:02 EST 2002 i686 unknown (01:31 hannes@ghostrider:~/dev/tcpdump) make gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -W -DHAVE_CONFIG_H -I. -I./../libpcap -I./missing -I/usr/include -c ./addrtoname.c In file included from ./addrtoname.c:30: config.h:170: parse error before `<' In file included from /usr/include/bits/types.h:143, from /usr/include/ctype.h:27, from tcpdump-stdinc.h:93, from ./addrtoname.c:33: /usr/include/bits/pthreadtypes.h:48: parse error before `size_t' /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or union /usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize' /usr/include/bits/pthreadtypes.h:51: warning: type defaults to `int' in declaration of `__stacksize' /usr/include/bits/pthreadtypes.h:51: warning: data definition has no type or storage class /usr/include/bits/pthreadtypes.h:52: warning: type defaults to `int' in declaration of `pthread_attr_t' /usr/include/bits/pthreadtypes.h:52: warning: data definition has no type or storage class In file included from tcpdump-stdinc.h:94, from ./addrtoname.c:33: /usr/include/unistd.h:310: parse error before `size_t' /usr/include/unistd.h:310: warning: function declaration isn't a prototype /usr/include/unistd.h:313: parse error before `size_t' /usr/include/unistd.h:313: warning: function declaration isn't a prototype /usr/include/unistd.h:423: parse error before `size_t' /usr/include/unistd.h:423: warning: function declaration isn't a prototype In file included from tcpdump-stdinc.h:94, from ./addrtoname.c:33: /usr/include/unistd.h:513: parse error before `confstr' /usr/include/unistd.h:513: parse error before `size_t' /usr/include/unistd.h:513: warning: type defaults to `int' in declaration of `confstr' /usr/include/unistd.h:513: warning: function declaration isn't a prototype /usr/include/unistd.h:513: warning: data definition has no type or storage class /usr/include/unistd.h:664: parse error before `size_t' /usr/include/unistd.h:664: warning: function declaration isn't a prototype /usr/include/unistd.h:689: parse error before `size_t' /usr/include/unistd.h:689: warning: function declaration isn't a prototype In file included from tcpdump-stdinc.h:94, from ./addrtoname.c:33: /usr/include/unistd.h:734: parse error before `size_t' /usr/include/unistd.h:734: warning: function declaration isn't a prototype /usr/include/unistd.h:741: parse error before `size_t' /usr/include/unistd.h:741: warning: function declaration isn't a prototype /usr/include/unistd.h:751: parse error before `size_t' /usr/include/unistd.h:751: warning: function declaration isn't a prototype /usr/include/unistd.h:752: parse error before `size_t' /usr/include/unistd.h:752: warning: function declaration isn't a prototype /usr/include/unistd.h:769: parse error before `size_t' /usr/include/unistd.h:770: warning: function declaration isn't a prototype In file included from /usr/include/netinet/in.h:212, from /usr/include/netdb.h:28, from tcpdump-stdinc.h:95, from ./addrtoname.c:33: /usr/include/bits/socket.h:232: parse error before `size_t' /usr/include/bits/socket.h:232: warning: no semicolon at end of struct or union /usr/include/bits/socket.h:238: parse error before `}' /usr/include/bits/socket.h: In function `__cmsg_nxthdr': /usr/include/bits/socket.h:265: `size_t' undeclared (first use in this function) /usr/include/bits/socket.h:265: (Each undeclared identifier is reported only once /usr/include/bits/socket.h:265: for each function it appears in.) /usr/include/bits/socket.h:265: parse error before `__cmsg' /usr/include/bits/socket.h:270: dereferencing pointer to incomplete type /usr/include/bits/socket.h:270: parse error before `~' /usr/include/bits/socket.h:270: parse error before `)' /usr/include/bits/socket.h:271: arithmetic on pointer to an incomplete type /usr/include/bits/socket.h:273: dereferencing pointer to incomplete type /usr/include/bits/socket.h:273: parse error before `~' /usr/include/bits/socket.h:274: parse error before `>' /usr/include/bits/socket.h:271: warning: empty body in an if-statement In file included from /usr/include/netdb.h:33, from tcpdump-stdinc.h:95, from ./addrtoname.c:33: /usr/include/rpc/netdb.h: At top level: /usr/include/rpc/netdb.h:61: parse error before `size_t' /usr/include/rpc/netdb.h:62: warning: function declaration isn't a prototype /usr/include/rpc/netdb.h:65: parse error before `size_t' /usr/include/rpc/netdb.h:66: warning: function declaration isn't a prototype /usr/include/rpc/netdb.h:69: parse error before `size_t' /usr/include/rpc/netdb.h:69: warning: function declaration isn't a prototype In file included from tcpdump-stdinc.h:95, from ./addrtoname.c:33: /usr/include/netdb.h:154: parse error before `size_t' /usr/include/netdb.h:156: warning: function declaration isn't a prototype /usr/include/netdb.h:161: parse error before `size_t' /usr/include/netdb.h:163: warning: function declaration isn't a prototype /usr/include/netdb.h:167: parse error before `size_t' /usr/include/netdb.h:169: warning: function declaration isn't a prototype /usr/include/netdb.h:173: parse error before `size_t' /usr/include/netdb.h:175: warning: function declaration isn't a prototype /usr/include/netdb.h:205: parse error before `size_t' /usr/include/netdb.h:207: warning: function declaration isn't a prototype /usr/include/netdb.h:211: parse error before `size_t' /usr/include/netdb.h:213: warning: function declaration isn't a prototype /usr/include/netdb.h:217: parse error before `size_t' /usr/include/netdb.h:219: warning: function declaration isn't a prototype /usr/include/netdb.h:258: parse error before `size_t' /usr/include/netdb.h:259: warning: function declaration isn't a prototype /usr/include/netdb.h:264: parse error before `size_t' /usr/include/netdb.h:265: warning: function declaration isn't a prototype /usr/include/netdb.h:269: parse error before `size_t' /usr/include/netdb.h:270: warning: function declaration isn't a prototype /usr/include/netdb.h:304: parse error before `size_t' /usr/include/netdb.h:305: warning: function declaration isn't a prototype /usr/include/netdb.h:309: parse error before `size_t' /usr/include/netdb.h:310: warning: function declaration isn't a prototype /usr/include/netdb.h:314: parse error before `size_t' /usr/include/netdb.h:315: warning: function declaration isn't a prototype /usr/include/netdb.h:340: parse error before `size_t' /usr/include/netdb.h:340: warning: function declaration isn't a prototype In file included from /usr/include/sys/uio.h:29, from /usr/include/sys/socket.h:27, from tcpdump-stdinc.h:99, from ./addrtoname.c:33: /usr/include/bits/uio.h:45: parse error before `size_t' /usr/include/bits/uio.h:45: warning: no semicolon at end of struct or union In file included from tcpdump-stdinc.h:99, from ./addrtoname.c:33: /usr/include/sys/socket.h:131: parse error before `size_t' /usr/include/sys/socket.h:132: warning: function declaration isn't a prototype /usr/include/sys/socket.h:136: parse error before `size_t' /usr/include/sys/socket.h:137: warning: function declaration isn't a prototype /usr/include/sys/socket.h:141: parse error before `size_t' /usr/include/sys/socket.h:143: warning: function declaration isn't a prototype /usr/include/sys/socket.h:149: parse error before `size_t' /usr/include/sys/socket.h:151: warning: function declaration isn't a prototype In file included from tcpdump-stdinc.h:103, from ./addrtoname.c:33: /usr/include/time.h:179: parse error before `strftime' /usr/include/time.h:179: parse error before `size_t' /usr/include/time.h:181: warning: type defaults to `int' in declaration of `strftime' /usr/include/time.h:181: warning: function declaration isn't a prototype /usr/include/time.h:181: warning: data definition has no type or storage class In file included from tcpdump-stdinc.h:106, from ./addrtoname.c:33: /usr/include/arpa/inet.h:78: parse error before `size_t' /usr/include/arpa/inet.h:78: warning: function declaration isn't a prototype /usr/include/arpa/inet.h:84: parse error before `size_t' /usr/include/arpa/inet.h:84: warning: function declaration isn't a prototype /usr/include/arpa/inet.h:90: parse error before `size_t' /usr/include/arpa/inet.h:90: warning: function declaration isn't a prototype In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:65, from ../libpcap/pcap.h:51, from ./addrtoname.c:47: /usr/include/gconv.h:72: parse error before `size_t' /usr/include/gconv.h:72: warning: function declaration isn't a prototype /usr/include/gconv.h:85: parse error before `size_t' /usr/include/gconv.h:85: warning: function declaration isn't a prototype /usr/include/gconv.h:94: parse error before `size_t' /usr/include/gconv.h:94: warning: function declaration isn't a prototype /usr/include/gconv.h:170: parse error before `size_t' /usr/include/gconv.h:170: warning: no semicolon at end of struct or union /usr/include/gconv.h:173: parse error before `}' /usr/include/gconv.h:173: warning: type defaults to `int' in declaration of `__gconv_t' /usr/include/gconv.h:173: warning: data definition has no type or storage class In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:65, from ../libpcap/pcap.h:51, from ./addrtoname.c:47: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:53: confused by earlier errors, bailing out make: *** [addrtoname.o] Error 1 - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- build breaker (2) ... Hannes Gredler (Nov 07)
- Re: build breaker (2) ... Guy Harris (Nov 07)
- Re: build breaker (2) ... Hannes Gredler (Nov 07)
- Re: build breaker (2) ... Guy Harris (Nov 07)