This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure --prefix=/usr/local i386-unknown-gnu ## --------- ## ## Platform. ## ## --------- ## hostname = darwintel uname -m = x86 uname -r = 8.0.1 uname -s = Darwin uname -v = Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = Mach kernel version: Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 Kernel configured for up to 4 processors. 4 processors are physically available. Processor type: pentpro (Intel Pentium Pro) Processors active: 0 1 2 3 Primary memory available: 1023.00 megabytes Default processor set: 81 tasks, 136 threads, 4 processors Load average: 0.91, Mach factor: 3.08 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /var/root/usr/local/bin PATH: /var/root/usr/bin PATH: /var/root/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /var/root/usr/local/bin PATH: /var/root/usr/bin PATH: /var/root/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1284: checking build system type configure:1302: result: i386-unknown-gnu configure:1310: checking host system type configure:1324: result: i386-unknown-gnu configure:1332: checking target system type configure:1346: result: i386-unknown-gnu configure:1380: checking for a BSD-compatible install configure:1434: result: /usr/bin/install -c -o root -g wheel configure:1445: checking whether build environment is sane configure:1488: result: yes configure:1521: checking for gawk configure:1537: found /usr/local/bin/gawk configure:1547: result: gawk configure:1557: checking whether make sets $(MAKE) configure:1577: result: yes configure:1733: checking for i386-unknown-gnu-g++ configure:1759: result: c++ configure:1817: checking for C++ compiler version configure:1820: c++ --version &5 c++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1823: $? = 0 configure:1825: c++ -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:1828: $? = 0 configure:1830: c++ -V &5 c++: `-V' option must have argument configure:1833: $? = 1 configure:1857: checking for C++ compiler default output configure:1860: c++ -fno-common conftest.cc >&5 configure:1863: $? = 0 configure:1909: result: a.out configure:1914: checking whether the C++ compiler works configure:1920: ./a.out configure:1923: $? = 0 configure:1940: result: yes configure:1947: checking whether we are cross compiling configure:1949: result: no configure:1952: checking for suffix of executables configure:1954: c++ -o conftest -fno-common conftest.cc >&5 configure:1957: $? = 0 configure:1982: result: configure:1988: checking for suffix of object files configure:2010: c++ -c -fno-common conftest.cc >&5 configure:2013: $? = 0 configure:2035: result: configure:2039: checking whether we are using the GNU C++ compiler configure:2064: c++ -c -fno-common conftest.cc >&5 configure:2067: $? = 0 configure:2070: test -s conftest. configure:2073: $? = 1 configure: failed program was: | #line 2044 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2086: result: no configure:2092: checking whether c++ accepts -g configure:2114: c++ -c -g conftest.cc >&5 configure:2117: $? = 0 configure:2120: test -s conftest. configure:2123: $? = 1 configure: failed program was: | #line 2097 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2134: result: no configure:2178: c++ -c -fno-common conftest.cc >&5 configure:2181: $? = 0 configure:2184: test -s conftest. configure:2187: $? = 1 configure: failed program was: | #line 2160 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | #include | | int | main () | { | exit (42); | ; | return 0; | } configure:2178: c++ -c -fno-common conftest.cc >&5 configure:2181: $? = 0 configure:2184: test -s conftest. configure:2187: $? = 1 configure: failed program was: | #line 2160 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | #include | #include | int | main () | { | exit (42); | ; | return 0; | } configure:2178: c++ -c -fno-common conftest.cc >&5 configure:2181: $? = 0 configure:2184: test -s conftest. configure:2187: $? = 1 configure: failed program was: | #line 2160 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | #include | extern "C" void std::exit (int) throw (); using std::exit; | int | main () | { | exit (42); | ; | return 0; | } configure:2178: c++ -c -fno-common conftest.cc >&5 configure:2181: $? = 0 configure:2184: test -s conftest. configure:2187: $? = 1 configure: failed program was: | #line 2160 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | #include | extern "C" void std::exit (int); using std::exit; | int | main () | { | exit (42); | ; | return 0; | } configure:2178: c++ -c -fno-common conftest.cc >&5 configure:2181: $? = 0 configure:2184: test -s conftest. configure:2187: $? = 1 configure: failed program was: | #line 2160 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | #include | extern "C" void exit (int) throw (); | int | main () | { | exit (42); | ; | return 0; | } configure:2178: c++ -c -fno-common conftest.cc >&5 configure:2181: $? = 0 configure:2184: test -s conftest. configure:2187: $? = 1 configure: failed program was: | #line 2160 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | #include | extern "C" void exit (int); | int | main () | { | exit (42); | ; | return 0; | } configure:2178: c++ -c -fno-common conftest.cc >&5 configure:2181: $? = 0 configure:2184: test -s conftest. configure:2187: $? = 1 configure: failed program was: | #line 2160 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | /* end confdefs.h. */ | #include | void exit (int); | int | main () | { | exit (42); | ; | return 0; | } configure:2265: checking for style of include used by make configure:2293: result: GNU configure:2321: checking dependency style of c++ configure:2383: result: gcc3 configure:2393: checking how to run the C++ preprocessor configure:2425: c++ -E conftest.cc configure:2431: $? = 0 configure:2463: c++ -E conftest.cc configure:2467:28: ac_nonexistent.h: No such file or directory configure:2469: $? = 1 configure: failed program was: | #line 2454 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include configure:2507: result: c++ -E configure:2532: c++ -E conftest.cc configure:2538: $? = 0 configure:2570: c++ -E conftest.cc configure:2574:28: ac_nonexistent.h: No such file or directory configure:2576: $? = 1 configure: failed program was: | #line 2561 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include configure:2630: checking for a BSD-compatible install configure:2684: result: /usr/bin/install -c -o root -g wheel configure:2704: checking for i386-unknown-gnu-gcc configure:2730: result: cc configure:3012: checking for C compiler version configure:3015: cc --version &5 cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3018: $? = 0 configure:3020: cc -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:3023: $? = 0 configure:3025: cc -V &5 cc: `-V' option must have argument configure:3028: $? = 1 configure:3031: checking whether we are using the GNU C compiler configure:3056: cc -c -fno-common conftest.c >&5 configure:3059: $? = 0 configure:3062: test -s conftest. configure:3065: $? = 1 configure: failed program was: | #line 3036 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:3078: result: no configure:3084: checking whether cc accepts -g configure:3106: cc -c -g conftest.c >&5 configure:3109: $? = 0 configure:3112: test -s conftest. configure:3115: $? = 1 configure: failed program was: | #line 3089 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3126: result: no configure:3143: checking for cc option to accept ANSI C configure:3204: cc -c -fno-common conftest.c >&5 configure:3207: $? = 0 configure:3210: test -s conftest. configure:3213: $? = 1 configure: failed program was: | #line 3150 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3204: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:3207: $? = 0 configure:3210: test -s conftest. configure:3213: $? = 1 configure: failed program was: | #line 3150 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3204: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:3207: $? = 1 configure: failed program was: | #line 3150 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3204: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:3207: $? = 1 configure: failed program was: | #line 3150 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3204: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:3207: $? = 1 configure: failed program was: | #line 3150 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3204: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:3207: $? = 0 configure:3210: test -s conftest. configure:3213: $? = 1 configure: failed program was: | #line 3150 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3231: result: none needed configure:3249: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:3252: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3363: checking dependency style of cc configure:3425: result: gcc3 configure:3472: checking for sdl-config configure:3503: result: /usr/local/bin/sdl-config configure:3511: checking for SDL - version >= 1.2.0 configure:3604: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -L/lib -lSDL -pthread >&5 cc: unrecognized option `-pthread' ld: can't locate file for: -lSDL configure:3607: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 3537 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | | #include | #include | #include | #include "SDL.h" | | char* | my_strdup (char *str) | { | char *new_str; | | if (str) | { | new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); | strcpy (new_str, str); | } | else | new_str = NULL; | | return new_str; | } | | int main (int argc, char *argv[]) | { | int major, minor, micro; | char *tmp_version; | | /* This hangs on some systems (?) | system ("touch conf.sdltest"); | */ | { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } | | /* HP/UX 9 (%@#!) writes to sscanf strings */ | tmp_version = my_strdup("1.2.0"); | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | printf("%s, bad version string\n", "1.2.0"); | exit(1); | } | | if ((1 > major) || | ((1 == major) && (2 > minor)) || | ((1 == major) && (2 == minor) && (11 >= micro))) | { | return 0; | } | else | { | printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", 1, 2, 11); | printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); | printf("*** best to upgrade to the required version.\n"); | printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); | printf("*** to point to the correct copy of sdl-config, and remove the file\n"); | printf("*** config.cache before re-running configure\n"); | return 1; | } | } | | configure:3635: result: no configure:3675: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -L/lib -lSDL -pthread >&5 cc: unrecognized option `-pthread' ld: can't locate file for: -lSDL configure:3678: $? = 1 configure: failed program was: | #line 3650 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "SIDPlayer" | #define VERSION "4.4" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | | #include | #include "SDL.h" | | int main(int argc, char *argv[]) | { return 0; } | #undef main | #define main K_and_R_C_main | | int | main () | { | return 0; | ; | return 0; | } configure:3712: error: You need SDL 1.2 to SIDPlayer. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-unknown-gnu ac_cv_build_alias=i386-unknown-gnu ac_cv_c_compiler_gnu=no ac_cv_cxx_compiler_gnu=no ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-fno-common ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-fno-common ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=c++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-unknown-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i386-unknown-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i386-unknown-gnu ac_cv_exeext= ac_cv_host=i386-unknown-gnu ac_cv_host_alias=i386-unknown-gnu ac_cv_objext= ac_cv_path_SDL_CONFIG=/usr/local/bin/sdl-config ac_cv_prog_AWK=gawk ac_cv_prog_CC=cc ac_cv_prog_CXX=c++ ac_cv_prog_CXXCPP='c++ -E' ac_cv_prog_cc_g=no ac_cv_prog_cc_stdc=no ac_cv_prog_cxx_g=no ac_cv_prog_make_make_set=yes ac_cv_target=i386-unknown-gnu ac_cv_target_alias=i386-unknown-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_sys_max_cmd_len= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /mnt/gmirror/ports/audio/sidplayer/work/SIDPlayer-4.4/missing --run aclocal-1.6' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /mnt/gmirror/ports/audio/sidplayer/work/SIDPlayer-4.4/missing --run tar' AUTOCONF='${SHELL} /mnt/gmirror/ports/audio/sidplayer/work/SIDPlayer-4.4/missing --run autoconf' AUTOHEADER='${SHELL} /mnt/gmirror/ports/audio/sidplayer/work/SIDPlayer-4.4/missing --run autoheader' AUTOMAKE='${SHELL} /mnt/gmirror/ports/audio/sidplayer/work/SIDPlayer-4.4/missing --run automake-1.6' AWK='gawk' CC='cc' CCDEPMODE='depmode=gcc3' CFLAGS='-fno-common ' CPPFLAGS='' CXX='c++' CXXCPP='c++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-fno-common ' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='${SHELL} /mnt/gmirror/ports/audio/sidplayer/work/SIDPlayer-4.4/missing --run makeinfo' OBJEXT='' PACKAGE='SIDPlayer' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SDL_CFLAGS='' SDL_CONFIG='/usr/local/bin/sdl-config' SDL_LIBS='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='4.4' ac_ct_CC='' ac_ct_CXX='' ac_ct_STRIP='' am__include='include' am__quote='' bindir='${exec_prefix}/bin' build='i386-unknown-gnu' build_alias='i386-unknown-gnu' build_cpu='i386' build_os='gnu' build_vendor='unknown' datadir='${prefix}/share' exec_prefix='NONE' host='i386-unknown-gnu' host_alias='i386-unknown-gnu' host_cpu='i386' host_os='gnu' host_vendor='unknown' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/mnt/gmirror/ports/audio/sidplayer/work/SIDPlayer-4.4/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='' program_transform_name='s,^,i386-unknown-gnu-,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i386-unknown-gnu' target_alias='i386-unknown-gnu' target_cpu='i386' target_os='gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "SIDPlayer" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION "4.4" #endif #ifdef __cplusplus void exit (int); configure: exit 1