On Mon, Sep 17, 2012 at 12:23 PM, YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@xxxxxxxxxxx> wrote: > $ make > /bin/sh ./libtool --mode=link i686-pc-mingw32-gcc -o build/libSDL_mixer.la build/effect_position.lo build/effect_stereoreverse.lo build/effects_internal.lo build/load_aiff.lo build/load_voc.lo build/mixer.lo build/music.lo build/wavestream.lo build/common.lo build/ctrlmode.lo build/filter.lo build/instrum.lo build/mix.lo build/output.lo build/playmidi.lo build/readmidi.lo build/resample.lo build/sdl_a.lo build/sdl_c.lo build/tables.lo build/timidity.lo build/native_midi_common.lo build/native_midi_mac.lo build/native_midi_macosx.lo build/native_midi_win32.lo build/dynamic_mp3.lo build/version.o -mwindows -L/usr/i686-pc-mingw32/lib -lmingw32 -lSDLmain -lSDL -lwinmm -L/usr/lib -lsmpeg -mwindows -L/usr/i686-pc-mingw32/lib -lmingw32 -lSDLmain -lSDL -lm -no-undefined -rpath /usr/i686-pc-mingw32/lib -release 1.2 -version-info 12:0:12 > > *** Warning: Linking the shared library build/libSDL_mixer.la against the non-libtool > *** objects build/version.o is not portable! > libtool: link: i686-pc-mingw32-gcc -shared build/.libs/effect_position.o build/.libs/effect_stereoreverse.o build/.libs/effects_internal.o build/.libs/load_aiff.o build/.libs/load_voc.o build/.libs/mixer.o build/.libs/music.o build/.libs/wavestream.o build/.libs/common.o build/.libs/ctrlmode.o build/.libs/filter.o build/.libs/instrum.o build/.libs/mix.o build/.libs/output.o build/.libs/playmidi.o build/.libs/readmidi.o build/.libs/resample.o build/.libs/sdl_a.o build/.libs/sdl_c.o build/.libs/tables.o build/.libs/timidity.o build/.libs/native_midi_common.o build/.libs/native_midi_mac.o build/.libs/native_midi_macosx.o build/.libs/native_midi_win32.o build/.libs/dynamic_mp3.o build/version.o -L/usr/i686-pc-mingw32/lib -L/usr/lib /usr/lib/libsmpeg.so /usr/lib/libSDL.so -ldl -lvga -lpthread /usr/lib/libstdc++.so -lmingw32 /usr/i686-pc-mingw32/lib/libSDLmain.a /usr/i686-pc-mingw32/lib/libSDL.dll.a -luser32 -lgdi32 -lwinmm -mwindows -mwindows -pthread -o build/.libs/SDL_mixer.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker build/.libs/libSDL_mixer.dll.a > /usr/lib/libsmpeg.so: could not read symbols: File in wrong format > collect2: error: ld returned 1 exit status > make: *** [build/libSDL_mixer.la] Error 1 > > Do you see how to resolve this? You are using a cross-compiler, but are passing -L /usr/lib. That can't work, as the libraries in /usr/lib are not cross libraries; they are native libraries. I don't know where the -L /usr/lib came from, but that is the problem you need to fix. Ian