I'm receiving the following error in Ubuntu when performing a cross-compile for Win32 using 0.9.8a sources:
libtool: link: i586-mingw32msvc-gcc -std=gnu99 -shared .libs/libmod_plugin_la-mod.o -L/usr/win32/lib /usr/win32/lib/libmodplug.a /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/libstdc++.a -L/build/buildd/mingw32-4.2.1.dfsg/build_dir/objs/i586-mingw32msvc/libstdc++-v3/src -L/build/buildd/mingw32-4.2.1.dfsg/build_dir/objs/i586-mingw32msvc/libstdc++-v3/src/.libs -L/build/buildd/mingw32-4.2.1.dfsg/build_dir/objs/i586-mingw32msvc/winsup/mingw -L/build/buildd/mingw32-4.2.1.dfsg/build_dir/objs/i586-mingw32msvc/winsup/w32api/lib -L/build/buildd/mingw32-4.2.1.dfsg/build_dir/objs/./gcc -L/usr/i586-mingw32msvc/bin -L/usr/i586-mingw32msvc/lib -L/usr/lib/gcc/../../i586-mingw32msvc/lib -lm -luser32 -ladvapi32 -lshell32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt ../../src/.libs/libvlccore.dll.a -lkernel32 -lws2_32 -lnetapi32 -lwinmm /usr/win32/lib/libiconv.a -lmingw32 -mtune=pentium2 -mms-bitfields -o .libs/libmod_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libmod_plugin.dll.a
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[5]: *** [libmod_plugin.la] Error 1
make[5]: Leaving directory `/home/sgraves/Desktop/vlc-0.9.8a/modules/demux'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/sgraves/Desktop/vlc-0.9.8a/modules/demux'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/sgraves/Desktop/vlc-0.9.8a/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sgraves/Desktop/vlc-0.9.8a/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sgraves/Desktop/vlc-0.9.8a'
make: *** [all] Error 2
Any assistance would be appreciated.