Has anyone succeeded in compiling udpcast under Solaris 9 (SPARC)? I've included entries from config.log below. With respect to the stdint.h errors I found the following
(http://www.squid-cache.org/mail-archive/squid-dev/200305/0146.html)
"`inttypes.h' vs. `stdint.h' Paul Eggert notes that: ISO C 1999 says that `inttypes.h' includes `stdint.h', so there's no need to include `stdint.h' separately in a standard environment. Many implementations have `inttypes.h' but not `stdint.h' (e.g., Solaris 7), but I don't know of any implementation that has `stdint.h' but not `inttypes.h'. Nor do I know of any free software that includes `stdint.h'; `stdint.h' seems to be a creation of the committee."
-Tom C.
==================================================================
config.log entries ------------------
configure:3806: checking for stdint.h configure:3827: gcc -c -g -O2 conftest.c >&5 conftest.c:52:20: stdint.h: No such file or directory configure:3833: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 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 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdint.h> configure:3849: result: no
[...SNIP...]
configure:3894: checking net/if.h usability configure:3911: gcc -c -g -O2 conftest.c >&5 In file included from conftest.c:65: /usr/include/net/if.h:234: error: field `ifa_addr' has incomplete type /usr/include/net/if.h:236: error: field `ifu_broadaddr' has incomplete type /usr/include/net/if.h:237: error: field `ifu_dstaddr' has incomplete type /usr/include/net/if.h:269: error: field `lnr_addr' has incomplete type /usr/include/net/if.h:344: error: field `lifru_addr' has incomplete type /usr/include/net/if.h:345: error: field `lifru_dstaddr' has incomplete type /usr/include/net/if.h:346: error: field `lifru_broadaddr' has incomplete type /usr/include/net/if.h:347: error: field `lifru_token' has incomplete type /usr/include/net/if.h:348: error: field `lifru_subnet' has incomplete type /usr/include/net/if.h:387: error: field `sa_addr' has incomplete type /usr/include/net/if.h:397: error: field `slr_src' has incomplete type /usr/include/net/if.h:398: error: field `slr_grp' has incomplete type /usr/include/net/if.h:417: error: field `ifru_addr' has incomplete type /usr/include/net/if.h:418: error: field `ifru_dstaddr' has incomplete type /usr/include/net/if.h:420: error: field `ifru_broadaddr' has incomplete type /usr/include/net/if.h:488: error: parse error before "sa_family_t" /usr/include/net/if.h:491: error: parse error before '}' token /usr/include/net/if.h:501: error: parse error before "sa_family_t" /usr/include/net/if.h:510: error: parse error before '}' token /usr/include/net/if.h:641: error: field `ifta_saddr' has incomplete type /usr/include/net/if.h:642: error: field `ifta_daddr' has incomplete type configure:3917: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 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_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SIGNAL_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <net/if.h> configure:3931: result: no configure:3935: checking net/if.h presence configure:3950: gcc -E conftest.c configure:3956: $? = 0 configure:3970: result: yes configure:3983: WARNING: net/if.h: present but cannot be compiled configure:3985: WARNING: net/if.h: check for missing prerequisite headers? configure:3987: WARNING: net/if.h: see the Autoconf documentation configure:3989: WARNING: net/if.h: section "Present But Cannot Be Compiled" configure:3991: WARNING: net/if.h: proceeding with the preprocessor's result configure:3993: WARNING: net/if.h: in the future, the compiler will take precedence configure:3998: checking for net/if.h configure:4006: result: yes configure:3894: checking netinet/in.h usability configure:3911: gcc -c -g -O2 conftest.c >&5 configure:3917: $? = 0 configure:3931: result: yes