Welcome! Log In Create A New Profile

Advanced

[SDL_mixer] try to compile with mad lib to enable mp3

Posted by TheDrev 
[SDL_mixer] try to compile with mad lib to enable mp3
April 18, 2009 01:58AM
Hello !

Here we go again, this time I try to compile SDL_mixer with libmad to play mp3.
For the moment I've compiled it without madlib and that one was tricky
anyway, now, I want to add that mp3 support...

The README file says :
libmad decoding is disabled by default; you can enable it by passing
--enable-music-mp3-mad
to configure, or by defining MP3_MAD_MUSIC


I've compiled with libmad, but it freeze when I try to play a mp3.
Just in case someone would try it : here is my config.log and other informations :

Change to source or make :

hange sdl #include "SDL..." with
comment typedef unsigned int BOOL; into gctypes.h to prevent BOOL declaration conflict (don't forget to uncomment after compilation)
Add -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE
undefined -Uunix (msys or gcc might unix define it somewhere, but unix id and user right and exec (setuid etc, execvp etc) are not supported in IOS/OGC)

-DHAVING_MALLOC -DHAVING_FREE --> configure don't find standard memory managent functions, I think the error comes from here, see SDL/std_inc.h if the malloc function is not found, SDL_malloc is declared...
./music_mad.c: In function 'mad_openFileRW':
./music_mad.c:46: warning: incompatible implicit declaration of built-in function 'malloc'


--enable-music-mp3-mad don't work, only --enable-music-mp3-mad-gpl works, and the configure test for libmad header is "mad.h" you can change it to

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.59. Invocation command line was

$ ./configure --host=ppc --disable-sdltest --disable-shared --enable-music-mp3-mad-gpl --with-sdl-prefix=/i/usr/devkitpro/libogc --x-includes=/i/usr/devkitpro/libogc/include/mad

## --------- ##
## Platform. ##
## --------- ##

hostname = xxx
uname -m = i686
uname -r = 1.0.10(0.46/3/2)
uname -s = MINGW32_NT-5.1
uname -v = 2004-03-15 07:17

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/program files/imagemagick-6.4.7-q16
PATH: /c/WINDOWS/system32
PATH: /c/WINDOWS
PATH: /c/WINDOWS/System32/Wbem
PATH: /c/Program Files/ATI Technologies/ATI.ACE/
PATH: /f/usr/wbin
PATH: /i/usr/MinGW/bin
PATH: /i/usr/msys/bin
PATH: /i/usr/wbin
PATH: /c/Program Files/GTK2-Runtime/lib
PATH: /i/usr/devkitpro/devkitppc/bin
PATH: /i/Program Files/Graphviz2.18/bin
PATH: /i/Program Files/nasm
PATH: /i/Program Files/alink
PATH: /i/usr/gtk2/bin
PATH: %DBUSDIR%/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1585: checking build system type
configure:1603: result: i686-pc-mingw32
configure:1611: checking host system type
configure:1625: result: powerpc-unknown-none
configure:1744: checking for ppc-gcc
configure:1770: result: powerpc-gekko-gcc
configure:2052: checking for C compiler version
configure:2055: powerpc-gekko-gcc --version &5
powerpc-gekko-gcc.exe (GCC) 4.2.3 (devkitPPC release 15)
Copyright (C) 2007 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:2058: $? = 0
configure:2060: powerpc-gekko-gcc -v &5
Using built-in specs.
Target: powerpc-gekko
Configured with: ../../gcc-4.2.3/configure --enable-languages=c,c++ --with-cpu=750 --without-headers --disable-nls --disable-shared --enable-threads --disable-multilib --disable-win32-registry --disable-libstdcxx-pch --target=powerpc-gekko --with-newlib --prefix=c:/devkitPro/devkitPPC
Thread model: single
gcc version 4.2.3 (devkitPPC release 15)
configure:2063: $? = 0
configure:2065: powerpc-gekko-gcc -V &5
powerpc-gekko-gcc.exe: '-V' option must have argument
configure:2068: $? = 1
configure:2091: checking for C compiler default output file name
configure:2094: powerpc-gekko-gcc -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
i:/usr/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 01800054
configure:2097: $? = 0
configure:2143: result: a.out
configure:2148: checking whether the C compiler works
configure:2154: ./a.out
./a.out: ./a.out: cannot execute binary file
configure:2157: $? = 126
configure:2174: result: yes
configure:2181: checking whether we are cross compiling
configure:2183: result: yes
configure:2186: checking for suffix of executables
configure:2188: powerpc-gekko-gcc -o conftest -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
i:/usr/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 01800054
configure:2191: $? = 0
configure:2216: result: 
configure:2222: checking for suffix of object files
configure:2243: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:2246: $? = 0
configure:2268: result: o
configure:2272: checking whether we are using the GNU C compiler
configure:2296: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:2302: $? = 0
configure:2306: test -z 
|| test ! -s conftest.err
configure:2309: $? = 0
configure:2312: test -s conftest.o
configure:2315: $? = 0
configure:2328: result: yes
configure:2334: checking whether powerpc-gekko-gcc accepts -g
configure:2355: powerpc-gekko-gcc -c -g -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:2361: $? = 0
configure:2365: test -z 
|| test ! -s conftest.err
configure:2368: $? = 0
configure:2371: test -s conftest.o
configure:2374: $? = 0
configure:2385: result: yes
configure:2402: checking for powerpc-gekko-gcc option to accept ANSI C
configure:2472: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:2478: $? = 0
configure:2482: test -z 
|| test ! -s conftest.err
configure:2485: $? = 0
configure:2488: test -s conftest.o
configure:2491: $? = 0
configure:2509: result: none needed
configure:2527: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2533: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2666: checking for a sed that does not truncate output
configure:2720: result: /bin/sed
configure:2723: checking for egrep
configure:2733: result: grep -E
configure:2749: checking for ld used by powerpc-gekko-gcc
configure:2816: result: i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe
configure:2825: checking if the linker (i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe) is GNU ld
configure:2840: result: yes
configure:2845: checking for i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe option to reload object files
configure:2852: result: -r
configure:2870: checking for BSD-compatible nm
configure:2919: result: nm
configure:2923: checking whether ln -s works
configure:2927: result: yes
configure:2934: checking how to recognise dependent libraries
configure:3112: result: unknown
configure:3591: checking how to run the C preprocessor
configure:3626: powerpc-gekko-gcc -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c
configure:3632: $? = 0
configure:3664: powerpc-gekko-gcc -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3670: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include 
configure:3709: result: powerpc-gekko-gcc -E
configure:3733: powerpc-gekko-gcc -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c
configure:3739: $? = 0
configure:3771: powerpc-gekko-gcc -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3777: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include 
configure:3821: checking for ANSI C header files
configure:3846: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:3852: $? = 0
configure:3856: test -z 
|| test ! -s conftest.err
configure:3859: $? = 0
configure:3862: test -s conftest.o
configure:3865: $? = 0
configure:3974: result: yes
configure:3998: checking for sys/types.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:3998: checking for sys/stat.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:3998: checking for stdlib.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:3998: checking for string.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:3998: checking for memory.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:3998: checking for strings.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
conftest.c:50:21: error: strings.h: No such file or directory
configure:4020: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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
| /* end confdefs.h. */
| #include 
| #if HAVE_SYS_TYPES_H
| # include 
| #endif
| #if HAVE_SYS_STAT_H
| # include 
| #endif
| #if STDC_HEADERS
| # include 
| # include 
| #else
| # if HAVE_STDLIB_H
| # include 
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include 
| # endif
| # include 
| #endif
| #if HAVE_STRINGS_H
| # include 
| #endif
| #if HAVE_INTTYPES_H
| # include 
| #else
| # if HAVE_STDINT_H
| # include 
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include 
| #endif
| 
| #include 
configure:4044: result: no
configure:3998: checking for inttypes.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:3998: checking for stdint.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:3998: checking for unistd.h
configure:4014: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:4020: $? = 0
configure:4024: test -z 
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4044: result: yes
configure:4070: checking dlfcn.h usability
configure:4082: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
conftest.c:52:19: error: dlfcn.h: No such file or directory
configure:4088: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include 
| #if HAVE_SYS_TYPES_H
| # include 
| #endif
| #if HAVE_SYS_STAT_H
| # include 
| #endif
| #if STDC_HEADERS
| # include 
| # include 
| #else
| # if HAVE_STDLIB_H
| # include 
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include 
| # endif
| # include 
| #endif
| #if HAVE_STRINGS_H
| # include 
| #endif
| #if HAVE_INTTYPES_H
| # include 
| #else
| # if HAVE_STDINT_H
| # include 
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include 
| #endif
| #include 
configure:4111: result: no
configure:4115: checking dlfcn.h presence
configure:4125: powerpc-gekko-gcc -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c
conftest.c:18:19: error: dlfcn.h: No such file or directory
configure:4131: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include 
configure:4151: result: no
configure:4186: checking for dlfcn.h
configure:4193: result: no
configure:4216: checking for ppc-g++
configure:4242: result: powerpc-gekko-g++
configure:4300: checking for C++ compiler version
configure:4303: powerpc-gekko-g++ --version &5
powerpc-gekko-g++.exe (GCC) 4.2.3 (devkitPPC release 15)
Copyright (C) 2007 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:4306: $? = 0
configure:4308: powerpc-gekko-g++ -v &5
Using built-in specs.
Target: powerpc-gekko
Configured with: ../../gcc-4.2.3/configure --enable-languages=c,c++ --with-cpu=750 --without-headers --disable-nls --disable-shared --enable-threads --disable-multilib --disable-win32-registry --disable-libstdcxx-pch --target=powerpc-gekko --with-newlib --prefix=c:/devkitPro/devkitPPC
Thread model: single
gcc version 4.2.3 (devkitPPC release 15)
configure:4311: $? = 0
configure:4313: powerpc-gekko-g++ -V &5
powerpc-gekko-g++.exe: '-V' option must have argument
configure:4316: $? = 1
configure:4319: checking whether we are using the GNU C++ compiler
configure:4343: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
configure:4349: $? = 0
configure:4353: test -z 
|| test ! -s conftest.err
configure:4356: $? = 0
configure:4359: test -s conftest.o
configure:4362: $? = 0
configure:4375: result: yes
configure:4381: checking whether powerpc-gekko-g++ accepts -g
configure:4402: powerpc-gekko-g++ -c -g -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
configure:4408: $? = 0
configure:4412: test -z 
|| test ! -s conftest.err
configure:4415: $? = 0
configure:4418: test -s conftest.o
configure:4421: $? = 0
configure:4432: result: yes
configure:4474: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
configure:4480: $? = 0
configure:4484: test -z 
|| test ! -s conftest.err
configure:4487: $? = 0
configure:4490: test -s conftest.o
configure:4493: $? = 0
configure:4519: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:22: error: 'exit' was not declared in this scope
configure:4525: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| 
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4474: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
conftest.cc:18: error: 'void std::exit(int)' should have been declared inside 'std'
In file included from conftest.cc:19:
i:\usr\devkitpro\devkitppc\bin\../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/include/stdlib.h:79: error: declaration of 'void std::exit(int)' throws different exceptions
conftest.cc:18: error: from previous declaration 'void std::exit(int) throw ()'
configure:4480: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include 
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4474: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
conftest.cc:18: error: 'void std::exit(int)' should have been declared inside 'std'
configure:4480: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include 
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4474: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
In file included from conftest.cc:19:
i:\usr\devkitpro\devkitppc\bin\../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/include/stdlib.h:79: error: declaration of 'void exit(int)' throws different exceptions
conftest.cc:18: error: from previous declaration 'void exit(int) throw ()'
configure:4480: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include 
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4474: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
configure:4480: $? = 0
configure:4484: test -z 
|| test ! -s conftest.err
configure:4487: $? = 0
configure:4490: test -s conftest.o
configure:4493: $? = 0
configure:4519: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc >&5
configure:4525: $? = 0
configure:4529: test -z 
|| test ! -s conftest.err
configure:4532: $? = 0
configure:4535: test -s conftest.o
configure:4538: $? = 0
configure:4571: checking how to run the C++ preprocessor
configure:4602: powerpc-gekko-g++ -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc
configure:4608: $? = 0
configure:4640: powerpc-gekko-g++ -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc
conftest.cc:21:28: error: ac_nonexistent.h: No such file or directory
configure:4646: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| #include 
configure:4685: result: powerpc-gekko-g++ -E
configure:4709: powerpc-gekko-g++ -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc
configure:4715: $? = 0
configure:4747: powerpc-gekko-g++ -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cc
conftest.cc:21:28: error: ac_nonexistent.h: No such file or directory
configure:4753: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| #include 
configure:4808: checking for ppc-g77
configure:4837: result: no
configure:4808: checking for ppc-f77
configure:4837: result: no
configure:4808: checking for ppc-xlf
configure:4837: result: no
configure:4808: checking for ppc-frt
configure:4837: result: no
configure:4808: checking for ppc-pgf77
configure:4837: result: no
configure:4808: checking for ppc-fort77
configure:4837: result: no
configure:4808: checking for ppc-fl32
configure:4837: result: no
configure:4808: checking for ppc-af77
configure:4837: result: no
configure:4808: checking for ppc-f90
configure:4837: result: no
configure:4808: checking for ppc-xlf90
configure:4837: result: no
configure:4808: checking for ppc-pgf90
configure:4837: result: no
configure:4808: checking for ppc-epcf90
configure:4837: result: no
configure:4808: checking for ppc-f95
configure:4837: result: no
configure:4808: checking for ppc-fort
configure:4837: result: no
configure:4808: checking for ppc-xlf95
configure:4837: result: no
configure:4808: checking for ppc-ifc
configure:4837: result: no
configure:4808: checking for ppc-efc
configure:4837: result: no
configure:4808: checking for ppc-pgf95
configure:4837: result: no
configure:4808: checking for ppc-lf95
configure:4837: result: no
configure:4808: checking for ppc-gfortran
configure:4837: result: no
configure:4850: checking for g77
configure:4866: found /i/usr/MinGW/bin/g77
configure:4876: result: g77
configure:4894: checking for Fortran 77 compiler version
configure:4894: g77 --version &5
GNU Fortran (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
configure:4897: $? = 0
configure:4899: g77 -v &5
Reading specs from i:/usr/MinGW/bin/../lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.2 (mingw-special)
configure:4902: $? = 0
configure:4904: g77 -V &5
g77.exe: `-V' option must have argument
configure:4907: $? = 1
configure:4915: checking whether we are using the GNU Fortran 77 compiler
configure:4929: g77 -c conftest.F >&5
configure:4935: $? = 0
configure:4939: test -z 
|| test ! -s conftest.err
configure:4942: $? = 0
configure:4945: test -s conftest.o
configure:4948: $? = 0
configure:4961: result: yes
configure:4967: checking whether g77 accepts -g
configure:4979: g77 -c -g conftest.f >&5
configure:4985: $? = 0
configure:4989: test -z 
|| test ! -s conftest.err
configure:4992: $? = 0
configure:4995: test -s conftest.o
configure:4998: $? = 0
configure:5010: result: yes
configure:5040: checking the maximum length of command line arguments
configure:5155: result: 8192
configure:5166: checking command to parse nm output from powerpc-gekko-gcc object
configure:5271: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:5274: $? = 0
configure:5278: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 \2 \2/p' \> conftest.nm
configure:5281: $? = 0
configure:5333: powerpc-gekko-gcc -o conftest -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c conftstm.o >&5
i:/usr/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 01800074
configure:5336: $? = 0
configure:5374: result: ok
configure:5378: checking for objdir
configure:5393: result: .libs
configure:5445: checking for ppc-ar
configure:5474: result: no
configure:5483: checking for ar
configure:5499: found /mingw/bin/ar
configure:5510: result: ar
configure:5525: checking for ppc-ranlib
configure:5554: result: no
configure:5563: checking for ranlib
configure:5579: found /mingw/bin/ranlib
configure:5590: result: ranlib
configure:5605: checking for ppc-strip
configure:5634: result: no
configure:5643: checking for strip
configure:5659: found /mingw/bin/strip
configure:5670: result: strip
configure:5946: checking if powerpc-gekko-gcc supports -fno-rtti -fno-exceptions
configure:5967: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 -fno-rtti -fno-exceptions conftest.c >&5
cc1.exe: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:5971: $? = 0
configure:5981: result: no
configure:5996: checking for powerpc-gekko-gcc option to produce PIC
configure:6206: result: -fPIC
configure:6214: checking if powerpc-gekko-gcc PIC flag -fPIC works
configure:6235: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 -fPIC -DPIC conftest.c >&5
configure:6239: $? = 0
configure:6249: result: yes
configure:6277: checking if powerpc-gekko-gcc static flag -static works
i:/usr/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 01800054
configure:6305: result: yes
configure:6315: checking if powerpc-gekko-gcc supports -c -o file.o
configure:6339: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 -o out/conftest2.o conftest.c >&5
configure:6343: $? = 0
configure:6362: result: yes
configure:6388: checking whether the powerpc-gekko-gcc linker (i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe) supports shared libraries
configure:7346: result: yes
configure:7413: checking dynamic linker characteristics
configure:8003: result: no
configure:8012: checking how to hardcode library paths into programs
configure:8037: result: immediate
configure:8051: checking whether stripping libraries is possible
configure:8056: result: yes
configure:8890: checking if libtool supports shared libraries
configure:8892: result: no
configure:8895: checking whether to build shared libraries
configure:8916: result: no
configure:8919: checking whether to build static libraries
configure:8923: result: yes
configure:9015: creating libtool
configure:9603: checking for ld used by powerpc-gekko-g++
configure:9670: result: i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe
configure:9679: checking if the linker (i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe) is GNU ld
configure:9694: result: yes
configure:9745: checking whether the powerpc-gekko-g++ linker (i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe) supports shared libraries
configure:10683: result: no
configure:10705: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.cpp >&5
configure:10708: $? = 0
configure:10827: checking for powerpc-gekko-g++ option to produce PIC
configure:11101: result: -fPIC
configure:11109: checking if powerpc-gekko-g++ PIC flag -fPIC works
configure:11130: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 -fPIC -DPIC conftest.cpp >&5
configure:11134: $? = 0
configure:11144: result: yes
configure:11172: checking if powerpc-gekko-g++ static flag -static works
i:/usr/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 01800074
configure:11200: result: no
configure:11210: checking if powerpc-gekko-g++ supports -c -o file.o
configure:11234: powerpc-gekko-g++ -c -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 -o out/conftest2.o conftest.cpp >&5
configure:11238: $? = 0
configure:11257: result: yes
configure:11283: checking whether the powerpc-gekko-g++ linker (i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe) supports shared libraries
configure:11308: result: no
configure:11375: checking dynamic linker characteristics
configure:11965: result: no
configure:11974: checking how to hardcode library paths into programs
configure:11999: result: immediate
configure:12525: checking if libtool supports shared libraries
configure:12527: result: no
configure:12530: checking whether to build shared libraries
configure:12550: result: no
configure:12553: checking whether to build static libraries
configure:12557: result: yes
configure:12567: checking for g77 option to produce PIC
configure:12777: result: -fPIC
configure:12785: checking if g77 PIC flag -fPIC works
configure:12806: g77 -c -g -O2 -fPIC conftest.f >&5
conftest.f:0: warning: -fPIC ignored for target (all code is position independent)
configure:12810: $? = 0
configure:12820: result: no
configure:12848: checking if g77 static flag -static works
configure:12876: result: yes
configure:12886: checking if g77 supports -c -o file.o
configure:12910: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5
configure:12914: $? = 0
configure:12933: result: yes
configure:12959: checking whether the g77 linker (i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe) supports shared libraries
configure:13897: result: yes
configure:13964: checking dynamic linker characteristics
configure:14554: result: no
configure:14563: checking how to hardcode library paths into programs
configure:14588: result: immediate
configure:18165: checking for ppc-gcc
configure:18191: result: powerpc-gekko-gcc
configure:18473: checking for C compiler version
configure:18476: powerpc-gekko-gcc --version &5
powerpc-gekko-gcc.exe (GCC) 4.2.3 (devkitPPC release 15)
Copyright (C) 2007 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:18479: $? = 0
configure:18481: powerpc-gekko-gcc -v &5
Using built-in specs.
Target: powerpc-gekko
Configured with: ../../gcc-4.2.3/configure --enable-languages=c,c++ --with-cpu=750 --without-headers --disable-nls --disable-shared --enable-threads --disable-multilib --disable-win32-registry --disable-libstdcxx-pch --target=powerpc-gekko --with-newlib --prefix=c:/devkitPro/devkitPPC
Thread model: single
gcc version 4.2.3 (devkitPPC release 15)
configure:18484: $? = 0
configure:18486: powerpc-gekko-gcc -V &5
powerpc-gekko-gcc.exe: '-V' option must have argument
configure:18489: $? = 1
configure:18492: checking whether we are using the GNU C compiler
configure:18548: result: yes
configure:18554: checking whether powerpc-gekko-gcc accepts -g
configure:18605: result: yes
configure:18622: checking for powerpc-gekko-gcc option to accept ANSI C
configure:18729: result: none needed
configure:18747: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:18753: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:18899: checking for a BSD-compatible install
configure:18954: result: /bin/install -c
configure:18965: checking whether make sets $(MAKE)
configure:18985: result: yes
configure:19003: checking for windres
configure:19019: found /i/usr/MinGW/bin/windres
configure:19029: result: windres
configure:19040: checking for an ANSI C-conforming const
configure:19107: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:19113: $? = 0
configure:19117: test -z 
|| test ! -s conftest.err
configure:19120: $? = 0
configure:19123: test -s conftest.o
configure:19126: $? = 0
configure:19137: result: yes
configure:19235: checking for sdl-config
configure:19266: result: /i/usr/devkitpro/libogc/bin/sdl-config
configure:19274: checking for SDL - version >= 1.2.10
configure:19393: result: yes
configure:19980: checking vorbis/vorbisfile.h usability
configure:19992: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
conftest.c:55:31: error: vorbis/vorbisfile.h: No such file or directory
configure:19998: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| #include 
| #if HAVE_SYS_TYPES_H
| # include 
| #endif
| #if HAVE_SYS_STAT_H
| # include 
| #endif
| #if STDC_HEADERS
| # include 
| # include 
| #else
| # if HAVE_STDLIB_H
| # include 
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include 
| # endif
| # include 
| #endif
| #if HAVE_STRINGS_H
| # include 
| #endif
| #if HAVE_INTTYPES_H
| # include 
| #else
| # if HAVE_STDINT_H
| # include 
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include 
| #endif
| #include 
configure:20021: result: no
configure:20025: checking vorbis/vorbisfile.h presence
configure:20035: powerpc-gekko-gcc -E -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c
conftest.c:21:31: error: vorbis/vorbisfile.h: No such file or directory
configure:20041: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| #include 
configure:20061: result: no
configure:20096: checking for vorbis/vorbisfile.h
configure:20103: result: no
configure:20112: checking for ov_open_callbacks in -lvorbisfile
configure:20142: powerpc-gekko-gcc -o conftest -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c -lvorbisfile >&5
i:/usr/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.3/../../../../powerpc-gekko/bin/ld.exe: cannot find -lvorbisfile
collect2: ld returned 1 exit status
configure:20148: $? = 1
configure: failed program was:
| /* confdefs.h. */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| 
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char ov_open_callbacks ();
| int
| main ()
| {
| ov_open_callbacks ();
| ;
| return 0;
| }
configure:20174: result: no
configure:20254: checking for smpeg-config
configure:20285: result: no
configure:20293: checking for SMPEG - version >= 0.4.3
configure:20413: result: no
configure:20539: checking for libmad headers
configure:20561: powerpc-gekko-gcc -c -DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1 conftest.c >&5
configure:20567: $? = 0
configure:20571: test -z 
|| test ! -s conftest.err
configure:20574: $? = 0
configure:20577: test -s conftest.o
configure:20580: $? = 0
configure:20591: result: yes
configure:20743: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was

CONFIG_FILES = 
CONFIG_HEADERS = 
CONFIG_LINKS = 
CONFIG_COMMANDS = 
$ ./config.status 

on xxx

config.status:706: creating Makefile
config.status:706: creating SDL_mixer.spec
config.status:706: creating SDL_mixer.qpg
config.status:889: executing default commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_build_alias=i686-pc-mingw32
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=powerpc-gekko-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=powerpc-gekko-g++
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=ppc
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_f77_compiler_gnu=yes
ac_cv_header_dlfcn_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vorbis_vorbisfile_h=no
ac_cv_host=powerpc-unknown-none
ac_cv_host_alias=ppc
ac_cv_lib_vorbisfile_ov_open_callbacks=no
ac_cv_objext=o
ac_cv_path_SDL_CONFIG=/i/usr/devkitpro/libogc/bin/sdl-config
ac_cv_path_SMPEG_CONFIG=no
ac_cv_path_install='/bin/install -c'
ac_cv_prog_CC=powerpc-gekko-gcc
ac_cv_prog_CPP='powerpc-gekko-gcc -E'
ac_cv_prog_CXX=powerpc-gekko-g++
ac_cv_prog_CXXCPP='powerpc-gekko-g++ -E'
ac_cv_prog_WINDRES=windres
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_F77=g77
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_f77_g=yes
ac_cv_prog_make_make_set=yes
lt_cv_deplibs_check_method=unknown
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe
lt_cv_path_LDCXX=i:/usr/devkitpro/devkitppc/powerpc-gekko/bin/ld.exe
lt_cv_path_NM=nm
lt_cv_path_SED=/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_F77=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)
\{0,1\}$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
lt_cv_sys_max_cmd_len=8192
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_prog_compiler_c_o_F77='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)
\\{0,1\\}\$/\\1 \\2 \\2/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AS='as'
BINARY_AGE='8'
BUILD_CFLAGS='-DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad'
BUILD_LDFLAGS=''
CC='powerpc-gekko-gcc'
CFLAGS='-DMP3_MAD_MUSIC -DSDL_BYTEORDER=SDL_BIG_ENDIAN -DHAVING_MALLOC -DHAVING_FREE -Uunix -UCMD_MUSIC -D_GNU_SOURCE=1'
CPP='powerpc-gekko-gcc -E'
CPPFLAGS='-I/i/usr/devkitpro/libogc/include -I/i/usr/devkitpro/libogc/include/mad -D_GNU_SOURCE=1'
CXX='powerpc-gekko-g++'
CXXCPP='powerpc-gekko-g++ -E'
CXXFLAGS=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 '
DLLTOOL='dlltool'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXE=''
EXEEXT=''
EXTRA_CFLAGS=' -D_GNU_SOURCE=1 -I/i/usr/devkitpro/libogc/include -Dmain=SDL_main -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I$(srcdir)/mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I$(srcdir)/timidity -DMP3_MAD_MUSIC'
EXTRA_LDFLAGS=' -L/i/usr/devkitpro/libogc/lib -lSDL -lmad'
F77='g77'
FFLAGS='-g -O2'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INTERFACE_AGE='6'
LDFLAGS=' '
LIBMIKMOD_CONFIG=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
LT_AGE='2'
LT_CURRENT='2'
LT_RELEASE='1.2'
LT_REVISION='6'
MAJOR_VERSION='1'
MICRO_VERSION='8'
MINOR_VERSION='2'
OBJDUMP='objdump'
OBJECTS='$(objects)/effect_position.lo $(objects)/effect_stereoreverse.lo $(objects)/effects_internal.lo $(objects)/load_aiff.lo $(objects)/load_voc.lo $(objects)/mixer.lo $(objects)/music.lo $(objects)/music_cmd.lo $(objects)/wavestream.lo $(objects)/drv_nos.lo $(objects)/load_it.lo $(objects)/load_mod.lo $(objects)/load_s3m.lo $(objects)/load_xm.lo $(objects)/mdreg.lo $(objects)/mdriver.lo $(objects)/mloader.lo $(objects)/mlreg.lo $(objects)/mlutil.lo $(objects)/mmalloc.lo $(objects)/mmerror.lo $(objects)/mmio.lo $(objects)/mplayer.lo $(objects)/munitrk.lo $(objects)/mwav.lo $(objects)/npertab.lo $(objects)/sloader.lo $(objects)/virtch.lo $(objects)/virtch2.lo $(objects)/virtch_common.lo $(objects)/common.lo $(objects)/ctrlmode.lo $(objects)/filter.lo $(objects)/instrum.lo $(objects)/mix.lo $(objects)/output.lo $(objects)/playmidi.lo $(objects)/readmidi.lo $(objects)/resample.lo $(objects)/sdl_a.lo $(objects)/sdl_c.lo $(objects)/tables.lo $(objects)/timidity.lo $(objects)/music_mad.lo'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SDL_CFLAGS='-I/i/usr/devkitpro/libogc/include -Dmain=SDL_main'
SDL_CONFIG='/i/usr/devkitpro/libogc/bin/sdl-config'
SDL_LIBS='-L/i/usr/devkitpro/libogc/lib -lSDL'
SET_MAKE=''
SHELL='/bin/sh'
SMPEG_CFLAGS=''
SMPEG_CONFIG='no'
SMPEG_LIBS=''
SOURCES=' ./effect_position.c ./effect_stereoreverse.c ./effects_internal.c ./load_aiff.c ./load_voc.c ./mixer.c ./music.c ./music_cmd.c ./wavestream.c ./mikmod/*.c ./timidity/*.c ./music_mad.c'
STRIP='strip'
VERSION='1.2.8'
WINDRES='windres'
ac_aux_dir='./build-scripts'
ac_ct_AR='ar'
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77='g77'
ac_ct_OBJDUMP=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='${prefix}'
host='powerpc-unknown-none'
host_alias='ppc'
host_cpu='powerpc'
host_os='none'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#endif
#ifdef __cplusplus
extern "C" void exit (int);

configure: exit 0


this part seems wired

conftest.cc: In function 'int main()':
conftest.cc:22: error: 'exit' was not declared in this scope
configure:4525: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }



Edited 10 time(s). Last edit at 04/19/2009 07:21PM by TheDrev.
Re: [SDL_mixer] try to compile with mad lib to enable mp3
April 20, 2009 06:53PM
Wow a lot of info :)

Are you trying to build libmad from scratch? If you are there's already a working libmad with devkitpro. I'd suggest linking in that to start with.
Re: [SDL_mixer] try to compile with mad lib to enable mp3
April 21, 2009 01:46PM
That's what I did, everything compile, I got the object music_mad.o in the library, but when i play the music (loading seems ok) the application freeze. I can't have more information with.... (no debug). maybe with the madlib from devkitpro 1.4.10 will work...
Re: [SDL_mixer] try to compile with mad lib to enable mp3
April 21, 2009 08:45PM
Maybe it was not a good idea to undefine unix.
But if I don't the application can't link. to libSDL_mixer.a
mdriver.c:(.text+0x2b74): undefined reference to `geteuid'
mdriver.c:(.text+0x2b84): undefined reference to `getuid'
mdriver.c:(.text+0x2b94): undefined reference to `getuid'
mdriver.c:(.text+0x2ba0): undefined reference to `setuid'
mdriver.c:(.text+0x2bc4): undefined reference to `getpwnam'
mdriver.c:(.text+0x2c1c): undefined reference to `setuid'

Does the wii can use exevp, setuid... (I don't think so.... but....)



Edited 1 time(s). Last edit at 04/21/2009 08:47PM by TheDrev.
Sorry, only registered users may post in this forum.

Click here to login