A "please report me" error

Dave Collier-Brown davec-b at rogers.com
Wed Mar 26 00:17:53 GMT 2003


Righto, the background information is as follows:. --dave

uname -a
SunOS hobbes 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-1

Compiler: 
gcc version 2.95.3 20010315 (release)
 
And the log entries were:
configure:4693: checking net/if.h usability
configure:4706: gcc -c -O   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
conftest.c >&5
In file included from configure:4763:
/usr/include/net/if.h:225: field `ifa_addr' has incomplete type
/usr/include/net/if.h:227: field `ifu_broadaddr' has incomplete type
/usr/include/net/if.h:228: field `ifu_dstaddr' has incomplete type
/usr/include/net/if.h:260: field `lnr_addr' has incomplete type
/usr/include/net/if.h:329: field `lifru_addr' has incomplete type
/usr/include/net/if.h:330: field `lifru_dstaddr' has incomplete type
/usr/include/net/if.h:331: field `lifru_broadaddr' has incomplete type
/usr/include/net/if.h:332: field `lifru_token' has incomplete type
/usr/include/net/if.h:333: field `lifru_subnet' has incomplete type
/usr/include/net/if.h:372: field `sa_addr' has incomplete type
/usr/include/net/if.h:382: field `slr_src' has incomplete type
/usr/include/net/if.h:383: field `slr_grp' has incomplete type
/usr/include/net/if.h:402: field `ifru_addr' has incomplete type
/usr/include/net/if.h:403: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:405: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:473: parse error before `sa_family_t'
/usr/include/net/if.h:473: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:476: parse error before `}'
/usr/include/net/if.h:486: parse error before `sa_family_t'
/usr/include/net/if.h:486: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:495: parse error before `}'

Stephan Kulow wrote/usr/include/net/if.h:626: field `ifta_saddr' has
incomplete type
/usr/include/net/if.h:627: field `ifta_daddr' has incomplete type
configure:4709: $? = 1
configure: failed program was:
| #line 4695 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
:#define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_VOLATILE 1
| #define _LARGEFILE64_SOURCE 1
| #define _FILE_OFFSET_BITS 64

> | #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_FCNTL_H 1
 #define HAVE_SYS_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if.h>
configure:4725: result: no
configure:4729: checking net/if.h presence
configure:4740: gcc -E  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
conftest.c
configure:4746: $? = 0
configure:4765: result: yes



Tuesday 25 March 2003 21:46 schrieb Dave Collier-Brown:
> > In today's CVS, I caught this message zip by while configuring:
> > ...
> > 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 bug-autoconf at gnu.org. ##
> > configure: WARNING:     ## ------------------------------------ ##
> > checking for net/if.h... yes
> >
> > Anyone want to pass it on the gnuvians, as asked?
> >
> Better check your config.log and find out what header it requires.
> 
> Greetings, Stephan

-- 
David Collier-Brown,  | Always do right. This will gratify
Americas Customer Eng | some people and astonish the rest.
at Sun Canada         |                      -- Mark Twain
(905) 415-2849        | davecb at spamcop.net


More information about the samba-technical mailing list