SDL_mixer error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
risq
Posts: 3
Joined: Thu Jan 26, 2006 3:40 am

SDL_mixer error

Post by risq »

I'm trying to port a small SDL app to the PSP and am in need of the SDL_mixer. I fail to compile using the latest toolchain and the latest SDL, also using libTremor. I can build all librarys except except SDL_mixer, using a Gentoo amd64 system:

Error log:

LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix) --disable-music-mp3 --prefix=$(psp-config --psp-prefix)configure:

WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsallegrexel-psp-elf
checking target system type... mipsallegrexel-psp-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for psp-strip... psp-strip
checking whether make sets $(MAKE)... (cached) yes
checking for psp-gcc... psp-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether psp-gcc accepts -g... yes
checking for psp-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of psp-gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by psp-gcc... /usr/local/pspdev/psp/bin/ld
checking if the linker (/usr/local/pspdev/psp/bin/ld) is GNU ld... yes
checking for /usr/local/pspdev/psp/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/pspdev/bin/psp-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
checking how to run the C preprocessor... psp-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for psp-g++... psp-g++
checking whether we are using the GNU C++ compiler... yes
checking whether psp-g++ accepts -g... yes
checking dependency style of psp-g++... gcc3
checking how to run the C++ preprocessor... psp-g++ -E
checking for psp-g77... no
checking for psp-f77... no
checking for psp-xlf... no
checking for psp-frt... no
checking for psp-pgf77... no
checking for psp-fort77... no
checking for psp-fl32... no
checking for psp-af77... no
checking for psp-f90... no
checking for psp-xlf90... no
checking for psp-pgf90... no
checking for psp-epcf90... no
checking for psp-f95... no
checking for psp-fort... no
checking for psp-xlf95... no
checking for psp-pgf90... no
checking for psp-epcf90... no
checking for psp-f95... no
checking for psp-fort... no
checking for psp-xlf95... no
checking for psp-ifc... no
checking for psp-efc... no
checking for psp-pgf95... no
checking for psp-lf95... no
checking for psp-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/local/pspdev/bin/psp-nm -B output from psp-gcc object... ok
checking for objdir... .libs
checking for psp-ar... psp-ar
checking for psp-ranlib... psp-ranlib
checking for psp-strip... (cached) psp-strip
checking if psp-gcc static flag works... yes
checking if psp-gcc supports -fno-rtti -fno-exceptions... no
checking for psp-gcc option to produce PIC... -fPIC
checking if psp-gcc PIC flag -fPIC works... yes
checking if psp-gcc supports -c -o file.o... yes
checking whether the psp-gcc linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by psp-g++... /usr/local/pspdev/psp/bin/ld
checking if the linker (/usr/local/pspdev/psp/bin/ld) is GNU ld... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... no
checking for psp-g++ option to produce PIC... -fPIC
checking if psp-g++ PIC flag -fPIC works... yes
checking if psp-g++ supports -c -o file.o... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for sdl-config... /usr/local/pspdev/psp/bin/sdl-config
checking for SDL - version >= 1.2.4... cross compiling; assumed OK...
yes
checking for libmikmod-config... /usr/bin/libmikmod-config
checking for libmikmod - version >= 3.1.10... cross compiling; assumed OK...
checking for Ogg Vorbis headers and libraries... no
checking for Tremor headers and libraries... yes
checking for psp-config... psp-config
checking for PSPSDK... /usr/local/pspdev/psp/sdk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mikmod/Makefile
config.status: creating timidity/Makefile
config.status: creating native_midi/Makefile
config.status: creating native_midi_gpl/Makefile
config.status: creating SDL_mixer.spec
config.status: creating SDL_mixer.qpg
config.status: executing depfiles commands


hell SDL_mixer # make
Making all in timidity
make[1]: Entering directory `/home/mag/SDL_mixer/timidity'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mag/SDL_mixer/timidity'
make[1]: Entering directory `/home/mag/SDL_mixer'
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DLIBMIKMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -DUSE_TREMOR -G0 -I"/usr/local/pspdev/psp/sdk/include" -MT music.lo -MD -MP -MF ".deps/music.Tpo" -c -o music.lo music.c; \
then mv -f ".deps/music.Tpo" ".deps/music.Plo"; else rm -f ".deps/music.Tpo"; exit 1; fi
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DLIBMIKMOD_MUSIC -pthread -D_REENTRANT -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -DUSE_TREMOR -G0 -I/usr/local/pspdev/psp/sdk/include -MT music.lo -MD -MP -MF .deps/music.Tpo -c music.c -o music.o
psp-gcc: unrecognized option '-pthread'
music.c: In function 'open_music':
music.c:390: error: 'DMODE_HQMIXER' undeclared (first use in this function)
music.c:390: error: (Each undeclared identifier is reported only once
music.c:390: error: for each function it appears in.)
music.c:401: error: syntax error before ')' token
music.c: In function 'Mix_LoadMUS':
music.c:582: error: syntax error before ')' token
music.c:588: error: 'struct UNIMOD' has no member named 'wrap'
music.c: At top level:
music.c:1236: error: syntax error before 'MREADER'
music.c:1236: warning: no semicolon at end of struct or union
music.c:1240: error: syntax error before '}' token
music.c:1240: warning: data definition has no type or storage class
music.c:1241: warning: 'struct MREADER' declared inside parameter list
music.c:1241: warning: its scope is only this definition or declaration, which is probably not what you want
music.c: In function 'LMM_Seek':
music.c:1244: error: 'lmmmr' undeclared (first use in this function)
music.c:1244: error: syntax error before ')' token
music.c: At top level:
music.c:1250: warning: 'struct MREADER' declared inside parameter list
music.c: In function 'LMM_Tell':
music.c:1253: error: 'lmmmr' undeclared (first use in this function)
music.c:1253: error: syntax error before ')' token
music.c: At top level:
music.c:1257: warning: 'struct MREADER' declared inside parameter list
music.c: In function 'LMM_Read':
music.c:1260: error: 'lmmmr' undeclared (first use in this function)
music.c:1260: error: syntax error before ')' token
music.c: At top level:
music.c:1264: warning: 'struct MREADER' declared inside parameter list
music.c: In function 'LMM_Get':
music.c:1268: error: 'lmmmr' undeclared (first use in this function)
music.c:1268: error: syntax error before ')' token
music.c: At top level:
music.c:1273: warning: 'struct MREADER' declared inside parameter list
music.c: In function 'LMM_Eof':
music.c:1276: error: 'lmmmr' undeclared (first use in this function)
music.c:1276: error: syntax error before ')' token
music.c:1277: warning: passing argument 1 of 'LMM_Tell' from incompatible pointer type
music.c: At top level:
music.c:1280: error: syntax error before '*' token
music.c: In function 'MikMod_LoadSongRW':
music.c:1282: error: syntax error before 'lmmmr'
music.c: At top level:
music.c:1292: error: syntax error before '*' token
music.c:1292: warning: data definition has no type or storage class
music.c:1293: error: syntax error before '.' token
music.c:1294: error: syntax error before '->' token
music.c:1296: error: syntax error before '->' token
music.c:1297: error: conflicting types for 'm'
music.c:1292: error: previous declaration of 'm' was here
music.c:1297: error: 'MREADER' undeclared here (not in a function)
music.c:1297: error: syntax error before ')' token
music.c:1297: error: 'lmmmr' undeclared here (not in a function)
music.c:1297: error: 'maxchan' undeclared here (not in a function)
music.c:1297: error: initializer element is not constant
music.c:1297: warning: data definition has no type or storage class
music.c:1298: error: syntax error before 'return'
music.c: In function 'Mix_LoadMUS_RW':
music.c:1340: warning: assignment from incompatible pointer type
music.c:1342: error: syntax error before ')' token
make[1]: *** [music.lo] Error 1
make[1]: Leaving directory `/home/mag/SDL_mixer'
make: *** [all-recursive] Error 1


Any suggestions ?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Re: SDL_mixer error

Post by jimparis »

risq wrote:checking for libmikmod-config... /usr/bin/libmikmod-config
It's picking up your system libmikmod, which it can't use. Try adding --disable-music-libmikmod to the configure line.
risq
Posts: 3
Joined: Thu Jan 26, 2006 3:40 am

Post by risq »

yes, you're right ! big thanks for the quick help, i tried it, but --disable-music-libmikmod emerges another error:

LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --with-sdl-prefix=`psp-config --psp-pref
ix` --prefix=`psp-config --psp-prefix` --disable-music-libmikmod
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsallegrexel-psp-elf
checking target system type... mipsallegrexel-psp-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for psp-strip... psp-strip
checking whether make sets $(MAKE)... (cached) yes
checking for psp-gcc... psp-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether psp-gcc accepts -g... yes
checking for psp-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of psp-gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by psp-gcc... /usr/local/pspdev/psp/bin/ld
checking if the linker (/usr/local/pspdev/psp/bin/ld) is GNU ld... yes
checking for /usr/local/pspdev/psp/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/pspdev/bin/psp-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
checking how to run the C preprocessor... psp-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for psp-g++... psp-g++
checking whether we are using the GNU C++ compiler... yes
checking whether psp-g++ accepts -g... yes
checking dependency style of psp-g++... gcc3
checking how to run the C++ preprocessor... psp-g++ -E
checking for psp-g77... no
checking for psp-f77... no
checking for psp-xlf... no
checking for psp-fchecking for psp-pgf77... no
checking for psp-fort77... no
checking for psp-fl32... no
checking for psp-af77... no
checking for psp-f90... no
checking for psp-xlf90... no
checking for psp-pgf90... no
checking for psp-epcf90... no
checking for psp-f95... no
checking for psp-fort... no
checking for psp-xlf95... no
checking for psp-ifc... no
checking for psp-efc... no
checking for psp-pgf95... no
checking for psp-lf95... no
checking for psp-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/local/pspdev/bin/psp-nm -B output from psp-gcc object... ok
checking for objdir... .libs
checking for psp-ar... psp-ar
checking for psp-ranlib... psp-ranlib
checking for psp-strip... (cached) psp-strip
checking if psp-gcc static flag works... yes
checking if psp-gcc supports -fno-rtti -fno-exceptions... no
checking for psp-gcc option to produce PIC... -fPIC
checking if psp-gcc PIC flag -fPIC works... yes
checking if psp-gcc supports -c -o file.o... yes
checking whether the psp-gcc linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by psp-g++... /usr/local/pspdev/psp/bin/ld
checking if the linker (/usr/local/pspdev/psp/bin/ld) is GNU ld... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... no
checking for psp-g++ option to produce PIC... -fPIC
checking if psp-g++ PIC flag -fPIC works... yes
checking if psp-g++ supports -c -o file.o... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/local/pspdev/psp/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for sdl-config... /usr/local/pspdev/psp/bin/sdl-config
checking for SDL - version >= 1.2.4... cross compiling; assumed OK...
rt... no
yes
checking for Ogg Vorbis headers and libraries... no
checking for Tremor headers and libraries... yes
checking for smpeg-config... /usr/bin/smpeg-config
checking for SMPEG - version >= 0.4.3... cross compiling; assumed OK...
yes
checking for psp-config... psp-config
checking for PSPSDK... /usr/local/pspdev/psp/sdk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mikmod/Makefile
config.status: creating timidity/Makefile
config.status: creating native_midi/Makefile
config.status: creating native_midi_gpl/Makefile
config.status: creating SDL_mixer.spec
config.status: creating SDL_mixer.qpg
config.status: executing depfiles commands


make
Making all in timidity
make[1]: Entering directory `/home/mag/SDL_mixer/timidity'
...
...
...
psp-gcc -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidi
ty -DOGG_MUSIC -DUSE_TREMOR -DMP3_MUSIC -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -G0 -I/usr/local/pspdev/psp/sdk/include -o playwave
playwave.o -L/usr/local/pspdev/psp/sdk/lib ./.libs/libSDL_mixer.a /usr/local/pspdev/psp/lib/libvorbisidec.a -L/usr/lib64 /usr/lib64/libsmpeg.so
-L/usr/local/pspdev/psp/lib /usr/local/pspdev/psp/lib/libSDL.a /usr/local/pspdev/psp/lib/libstdc++.a -L/tmp/pspdev/gcc-4.0.2/build-psp-c++/psp/li
bstdc++-v3/src -L/tmp/pspdev/gcc-4.0.2/build-psp-c++/psp/libstdc++-v3/src/.libs -L/tmp/pspdev/gcc-4.0.2/build-psp-c++/gcc -L/usr/local/pspdev/psp
/bin -L/usr/local/pspdev/lib/gcc/psp/4.0.2 -L/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/lib -lgcc -lSDLmain /usr/lib64/libSDL.so -lpthre
ad /usr/lib64/libGL.so -lm -lX11 -lXext -ldl -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspus
er -lpsputility -lpspkernel -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/ld: attempted static link of dynamic object `/usr/lib64/libsmpeg.so'
collect2: ld returned 1 exit status
make[1]: *** [playwave] Error 1
make[1]: Leaving directory `/home/mag/SDL_mixer'
make: *** [all-recursive] Error 1


is there another solution ?
risq
Posts: 3
Joined: Thu Jan 26, 2006 3:40 am

Post by risq »

i solved the problem now by deinstalling my local libmikmod, but thats a silly workaround isnt it ?
auricoM
Posts: 1
Joined: Wed Feb 15, 2006 3:01 am

Post by auricoM »

Hi!

I dont want to open a new thread for this.
I got also an error when trying to make sdl_mixer.
SDL ,libogg, vorbis and tremor compiled without any errors.
I'm using the toolchain from 20060120 and cygwin.
I really hope someone can help me.

Here is my log:

Code: Select all

$ ./autogen.sh
/usr/share/aclocal/pstoedit.m4:7: warning: underquoted definition of AM_PATH_PS
OEDIT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of AM_PATH_LIBS
I
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_
IBMCRYPT
/usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of AM_PATH_CPP
NIT
Now you are ready to run ./configure

Administrator@blacktower ~/psptoolchain/trunk/sdl_mixer
$ LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
>      ./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix) \
>      --disable-music-mp3 --prefix=$(psp-config --psp-prefix)
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... mipsallegrexel-psp-elf
checking target system type... mipsallegrexel-psp-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for psp-strip... psp-strip
checking whether make sets $(MAKE)... (cached) yes
checking for psp-gcc... psp-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether psp-gcc accepts -g... yes
checking for psp-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of psp-gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by psp-gcc... /usr/local/pspdev/psp/bin/ld.exe
checking if the linker (/usr/local/pspdev/psp/bin/ld.exe) is GNU ld... yes
checking for /usr/local/pspdev/psp/bin/ld.exe option to reload object files...
checking for BSD-compatible nm... /usr/local/pspdev/bin/psp-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
checking how to run the C preprocessor... psp-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for psp-g++... psp-g++
checking whether we are using the GNU C++ compiler... yes
checking whether psp-g++ accepts -g... yes
checking dependency style of psp-g++... gcc3
checking how to run the C++ preprocessor... psp-g++ -E
checking for psp-g77... no
checking for psp-f77... no
checking for psp-xlf... no
checking for psp-frt... no
checking for psp-pgf77... no
checking for psp-fort77... no
checking for psp-fl32... no
checking for psp-af77... no
checking for psp-f90... no
checking for psp-xlf90... no
checking for psp-pgf90... no
checking for psp-epcf90... no
checking for psp-f95... no
checking for psp-fort... no
checking for psp-xlf95... no
checking for psp-ifc... no
checking for psp-efc... no
checking for psp-pgf95... no
checking for psp-lf95... no
checking for psp-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/local/pspdev/bin/psp-nm -B output from psp-gcc o
ject... ok
checking for objdir... .libs
checking for psp-ar... psp-ar
checking for psp-ranlib... psp-ranlib
checking for psp-strip... (cached) psp-strip
checking if psp-gcc static flag  works... yes
checking if psp-gcc supports -fno-rtti -fno-exceptions... no
checking for psp-gcc option to produce PIC... -fPIC
checking if psp-gcc PIC flag -fPIC works... yes
checking if psp-gcc supports -c -o file.o... yes
checking whether the psp-gcc linker (/usr/local/pspdev/psp/bin/ld.exe) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by psp-g++... /usr/local/pspdev/psp/bin/ld.exe
checking if the linker (/usr/local/pspdev/psp/bin/ld.exe) is GNU ld... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld.exe) supports
shared libraries... no
checking for psp-g++ option to produce PIC... -fPIC
checking if psp-g++ PIC flag -fPIC works... yes
checking if psp-g++ supports -c -o file.o... yes
checking whether the psp-g++ linker (/usr/local/pspdev/psp/bin/ld.exe) supports
shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/local/pspdev/psp/bin/ld.exe) supports shar
ed libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for sdl-config... /usr/local/pspdev/psp/bin/sdl-config
checking for SDL - version >= 1.2.4... cross compiling; assumed OK...
yes
checking for libmikmod-config... no
checking for Ogg Vorbis headers and libraries... yes
checking for Tremor headers and libraries... yes
checking for psp-config... psp-config
checking for PSPSDK... /usr/local/pspdev/psp/sdk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mikmod/Makefile
config.status: creating timidity/Makefile
config.status: creating native_midi/Makefile
config.status: creating native_midi_gpl/Makefile
config.status: creating SDL_mixer.spec
config.status: creating SDL_mixer.qpg
config.status: executing depfiles commands

Administrator@blacktower ~/psptoolchain/trunk/sdl_mixer
$ make
Making all in mikmod
make[1]: Entering directory `/home/Administrator/psptoolchain/trunk/sdl_mixer/mi
kmod'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Administrator/psptoolchain/trunk/sdl_mixer/mik
mod'
Making all in timidity
make[1]: Entering directory `/home/Administrator/psptoolchain/trunk/sdl_mixer/ti
midity'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Administrator/psptoolchain/trunk/sdl_mixer/tim
idity'
make[1]: Entering directory `/home/Administrator/psptoolchain/trunk/sdl_mixer'
if /bin/sh ./libtool --tag=CC --mode=compile psp-gcc -DPACKAGE_NAME=\"\" -DPACKA
GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT
=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TY
PES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1  -I. -I.     -g -O2 -I/usr/local/pspdev/
psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC
-I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -DOGG_MUSIC
-DUSE_TREMOR -G0 -I"/usr/local/pspdev/psp/sdk/include" -MT music.lo -MD -MP -MF
".deps/music.Tpo" -c -o music.lo music.c; \
then mv -f ".deps/music.Tpo" ".deps/music.Plo"; else rm -f ".deps/music.Tpo"; ex
it 1; fi
 psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPAC
KAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.
2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=
1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I. -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD
_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./ti
midity -DOGG_MUSIC -DOGG_MUSIC -DUSE_TREMOR -G0 -I/usr/local/pspdev/psp/sdk/incl
ude -MT music.lo -MD -MP -MF .deps/music.Tpo -c music.c -o music.o
/bin/sh ./libtool --tag=CC --mode=link psp-gcc  -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -DOGG_MUSIC -DUSE
_TREMOR -G0 -I"/usr/local/pspdev/psp/sdk/include"  -L/usr/local/pspdev/psp/sdk/l
ib -lc -lpspuser -o libSDL_mixer.la -rpath /usr/local/pspdev/psp/lib -no-undefin
ed -release 1.2 -version-info 2:4:2 -export-symbols-regex Mix_.* load_aiff.lo lo
ad_voc.lo load_ogg.lo mixer.lo music.lo music_cmd.lo music_ogg.lo wavestream.lo
effect_position.lo effect_stereoreverse.lo effects_internal.lo mikmod/libmikmod.
la timidity/libtimidity.la   -lvorbisidec -L/usr/local/pspdev/psp/lib -lSDLmain
-lSDL -lm -lGL -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lps
pge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputili
ty -lpspkernel
rm -fr  .libs/libSDL_mixer.a .libs/libSDL_mixer.la .libs/libSDL_mixer.lai
rm -fr .libs/libSDL_mixer.lax
mkdir .libs/libSDL_mixer.lax
rm -fr .libs/libSDL_mixer.lax/libmikmod.a
mkdir .libs/libSDL_mixer.lax/libmikmod.a
(cd .libs/libSDL_mixer.lax/libmikmod.a && psp-ar x /home/Administrator/psptoolch
ain/trunk/sdl_mixer/mikmod/.libs/libmikmod.a)
rm -fr .libs/libSDL_mixer.lax/libtimidity.a
mkdir .libs/libSDL_mixer.lax/libtimidity.a
(cd .libs/libSDL_mixer.lax/libtimidity.a && psp-ar x /home/Administrator/psptool
chain/trunk/sdl_mixer/timidity/.libs/libtimidity.a)
psp-ar cru .libs/libSDL_mixer.a  load_aiff.o load_voc.o load_ogg.o mixer.o music
.o music_cmd.o music_ogg.o wavestream.o effect_position.o effect_stereoreverse.o
 effects_internal.o  .libs/libSDL_mixer.lax/libmikmod.a/drv_nos.o .libs/libSDL_m
ixer.lax/libmikmod.a/drv_sdl.o .libs/libSDL_mixer.lax/libmikmod.a/load_it.o .lib
s/libSDL_mixer.lax/libmikmod.a/load_mod.o .libs/libSDL_mixer.lax/libmikmod.a/loa
d_s3m.o .libs/libSDL_mixer.lax/libmikmod.a/load_xm.o .libs/libSDL_mixer.lax/libm
ikmod.a/mdreg.o .libs/libSDL_mixer.lax/libmikmod.a/mdriver.o .libs/libSDL_mixer.
lax/libmikmod.a/mloader.o .libs/libSDL_mixer.lax/libmikmod.a/mlreg.o .libs/libSD
L_mixer.lax/libmikmod.a/mlutil.o .libs/libSDL_mixer.lax/libmikmod.a/mmalloc.o .l
ibs/libSDL_mixer.lax/libmikmod.a/mmerror.o .libs/libSDL_mixer.lax/libmikmod.a/mm
io.o .libs/libSDL_mixer.lax/libmikmod.a/mplayer.o .libs/libSDL_mixer.lax/libmikm
od.a/munitrk.o .libs/libSDL_mixer.lax/libmikmod.a/mwav.o .libs/libSDL_mixer.lax/
libmikmod.a/npertab.o .libs/libSDL_mixer.lax/libmikmod.a/sloader.o .libs/libSDL_
mixer.lax/libmikmod.a/virtch.o .libs/libSDL_mixer.lax/libmikmod.a/virtch2.o .lib
s/libSDL_mixer.lax/libmikmod.a/virtch_common.o  .libs/libSDL_mixer.lax/libtimidi
ty.a/common.o .libs/libSDL_mixer.lax/libtimidity.a/controls.o .libs/libSDL_mixer
.lax/libtimidity.a/filter.o .libs/libSDL_mixer.lax/libtimidity.a/instrum.o .libs
/libSDL_mixer.lax/libtimidity.a/mix.o .libs/libSDL_mixer.lax/libtimidity.a/outpu
t.o .libs/libSDL_mixer.lax/libtimidity.a/playmidi.o .libs/libSDL_mixer.lax/libti
midity.a/readmidi.o .libs/libSDL_mixer.lax/libtimidity.a/resample.o .libs/libSDL
_mixer.lax/libtimidity.a/sdl_a.o .libs/libSDL_mixer.lax/libtimidity.a/sdl_c.o .l
ibs/libSDL_mixer.lax/libtimidity.a/tables.o .libs/libSDL_mixer.lax/libtimidity.a
/timidity.o
psp-ranlib .libs/libSDL_mixer.a
rm -fr .libs/libSDL_mixer.lax
creating libSDL_mixer.la
(cd .libs && rm -f libSDL_mixer.la && ln -s ../libSDL_mixer.la libSDL_mixer.la)
/bin/sh ./libtool --tag=CC --mode=link psp-gcc  -g -O2 -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./m
ikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -DOGG_MUSIC -DUSE
_TREMOR -G0 -I"/usr/local/pspdev/psp/sdk/include"  -L/usr/local/pspdev/psp/sdk/l
ib -lc -lpspuser -o playwave  playwave.o libSDL_mixer.la -L/usr/local/pspdev/psp
/lib -lSDLmain -lSDL -lm -lGL -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu
 -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpsp
user -lpsputility -lpspkernel
psp-gcc -g -O2 -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DUSE_RWOPS -
DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I
./timidity -DOGG_MUSIC -DOGG_MUSIC -DUSE_TREMOR -G0 -I/usr/local/pspdev/psp/sdk/
include -o playwave playwave.o  -L/usr/local/pspdev/psp/sdk/lib ./.libs/libSDL_m
ixer.a /usr/local/pspdev/psp/lib/libvorbisidec.a -L/usr/local/pspdev/psp/lib -L/
tmp/pspdev/gcc-4.0.2/build-psp-c++/psp/libstdc++-v3/src -L/tmp/pspdev/gcc-4.0.2/
build-psp-c++/psp/libstdc++-v3/src/.libs -L/tmp/pspdev/gcc-4.0.2/build-psp-c++/g
cc -L/usr/local/pspdev/psp/bin -L/usr/local/pspdev/lib/gcc/psp/4.0.2 -L/usr/loca
l/pspdev/lib/gcc/psp/4.0.2/../../../../psp/lib -lSDLmain /usr/local/pspdev/psp/l
ib/libSDL.a /usr/local/pspdev/psp/lib/libstdc++.a -lgcc -lm -lGL -lpspdebug -lps
pgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -l
pspuser -lpsputility -lpspkernel
./.libs/libSDL_mixer.a(mixer.o): In function `Mix_LoadWAV_RW':
/home/Administrator/psptoolchain/trunk/sdl_mixer/mixer.c:442: undefined referenc
e to `Mix_LoadOGG_RW'
./.libs/libSDL_mixer.a(music.o): In function `Mix_LoadMUS':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:555: undefined referenc
e to `OGG_new'
./.libs/libSDL_mixer.a(music.o): In function `music_internal_position':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:835: undefined referenc
e to `OGG_jump_to_time'
./.libs/libSDL_mixer.a(music.o): In function `music_internal_volume':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:919: undefined referenc
e to `OGG_setvolume'
./.libs/libSDL_mixer.a(music.o): In function `open_music':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:424: undefined referenc
e to `OGG_init'
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:424: undefined referenc
e to `OGG_init'
./.libs/libSDL_mixer.a(music.o): In function `music_internal_halt':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:987: undefined referenc
e to `OGG_stop'
./.libs/libSDL_mixer.a(music.o): In function `music_internal_play':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:745: undefined referenc
e to `OGG_play'
./.libs/libSDL_mixer.a(music.o): In function `Mix_FreeMusic':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:658: undefined referenc
e to `OGG_delete'
./.libs/libSDL_mixer.a(music.o): In function `music_internal_playing':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:1108: undefined referen
ce to `OGG_playing'
./.libs/libSDL_mixer.a(music.o): In function `music_mixer':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:313: undefined referenc
e to `OGG_playAudio'
./.libs/libSDL_mixer.a(music.o): In function `Mix_LoadMUS_RW':
/home/Administrator/psptoolchain/trunk/sdl_mixer/music.c:1331: undefined referen
ce to `OGG_new_RW'
collect2: ld returned 1 exit status
make[1]: *** [playwave] Error 1
make[1]: Leaving directory `/home/Administrator/psptoolchain/trunk/sdl_mixer'
make: *** [all-recursive] Error 1
ohh and one other question:
Is there a command to check / deinstall libs in cygwin?
or can this only be done by browsing the include dir and check/delete the files?

Thanks for your time! :)
Post Reply