[Icecast] Compiling ices2 on solaris

j.p.drawneek at durham.ac.uk j.p.drawneek at durham.ac.uk
Mon Sep 27 13:52:30 PDT 2004



configure throws an error as it does not seem to find uint64_t type, err help!

configure:19663: checking for uint64_t
configure:19688: gcc -c -g -O2  conftest.c >&5
In file included from /usr/include/iso/stdio_iso.h:34,
                 from
/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.9/3.4.1/include/stdio.h:36,
                 from configure:19697:
/usr/include/sys/feature_tests.h:281:2: #error "Compiler or options invalid;
UNIX 03 and POSIX.1-2001 applications 	require the use of c99"
configure:19691: $? = 1
configure: failed program was:
| #line 19668 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "IceS"
| #define PACKAGE_TARNAME "ices"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "IceS 2.0.0"
| #define PACKAGE_BUGREPORT "icecast at xiph.org"
| #define PACKAGE "ices"
| #define VERSION "2.0.0"
| #define STDC_HEADERS 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_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define _XOPEN_SOURCE 600
| #define __EXTENSIONS__ 1
| #define _GNU_SOURCE
| #define STDC_HEADERS 1
| #define WORDS_BIGENDIAN 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
| #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
| int
| main ()
| {
| if ((uint64_t *) 0)
|   return 0;
| if (sizeof (uint64_t))
|   return 0;
|   ;
|   return 0;
| }
configure:19708: result: no
configure:19718: error: could not find a uint64_t type

Any idea on how to fix this?


More information about the Icecast mailing list