I am currently unable to cross compile 0.10.21 on Fedora 9 using the MinGW provided by the Fedora MinGW project:
 
http://fedoraproject.org/wiki/SIGs/MinGW
 
However, 0.10.20 compiles fine, so this would indicate a problem in 0.10.21?
 
I did a brief search to see what the error might relate to, it seems to be related to the winsock library?
 
I configured with the following:
 
'mingw32-configure --without-check'
 
And then 'make' gives the following errors:
 
make[4]: Entering directory `/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net'
/bin/sh ../../../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../..    -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2   -Wall -Wdeclaration-after-statement -Wvla  -g    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnetclientclock.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnetclientclock.Tpo -c -o libgstnet_0.10_la-gstnetclientclock.lo `test -f 'gstnetclientclock.c' || echo './'`gstnetclientclock.c
mkdir .libs
 i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnetclientclock.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnetclientclock.Tpo -c gstnetclientclock.c  -DDLL_EXPORT -DPIC -o .libs/libgstnet_0.10_la-gstnetclientclock.o
 i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnetclientclock.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnetclientclock.Tpo -c gstnetclientclock.c -o libgstnet_0.10_la-gstnetclientclock.o >/dev/null 2>&1
mv -f .deps/libgstnet_0.10_la-gstnetclientclock.Tpo .deps/libgstnet_0.10_la-gstnetclientclock.Plo
/bin/sh ../../../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../..    -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2   -Wall -Wdeclaration-after-statement -Wvla  -g    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnettimepacket.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnettimepacket.Tpo -c -o libgstnet_0.10_la-gstnettimepacket.lo `test -f 'gstnettimepacket.c' || echo './'`gstnettimepacket.c
 i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnettimepacket.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnettimepacket.Tpo -c gstnettimepacket.c  -DDLL_EXPORT -DPIC -o .libs/libgstnet_0.10_la-gstnettimepacket.o
gstnettimepacket.c: In function 'gst_net_time_packet_receive':
gstnettimepacket.c:130: warning: pointer targets in passing argument 2 of 'recvfrom' differ in signedness
gstnettimepacket.c: In function 'gst_net_time_packet_send':
gstnettimepacket.c:202: warning: pointer targets in passing argument 2 of 'sendto' differ in signedness
 i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnettimepacket.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnettimepacket.Tpo -c gstnettimepacket.c -o libgstnet_0.10_la-gstnettimepacket.o >/dev/null 2>&1
mv -f .deps/libgstnet_0.10_la-gstnettimepacket.Tpo .deps/libgstnet_0.10_la-gstnettimepacket.Plo
/bin/sh ../../../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../..    -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2   -Wall -Wdeclaration-after-statement -Wvla  -g    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnettimeprovider.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnettimeprovider.Tpo -c -o libgstnet_0.10_la-gstnettimeprovider.lo `test -f 'gstnettimeprovider.c' || echo './'`gstnettimeprovider.c
 i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnettimeprovider.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnettimeprovider.Tpo -c gstnettimeprovider.c  -DDLL_EXPORT -DPIC -o .libs/libgstnet_0.10_la-gstnettimeprovider.o
gstnettimeprovider.c: In function 'gst_net_time_provider_start':
gstnettimeprovider.c:387: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
 i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT libgstnet_0.10_la-gstnettimeprovider.lo -MD -MP -MF .deps/libgstnet_0.10_la-gstnettimeprovider.Tpo -c gstnettimeprovider.c -o libgstnet_0.10_la-gstnettimeprovider.o >/dev/null 2>&1
mv -f .deps/libgstnet_0.10_la-gstnettimeprovider.Tpo .deps/libgstnet_0.10_la-gstnettimeprovider.Plo
/bin/sh ../../../libtool --tag=CC   --mode=link i686-pc-mingw32-gcc -I../../../libs -I../../.. -I../../.. -mms-bitfields -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/libxml2   -Wall -Wdeclaration-after-statement -Wvla  -g    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -export-symbols-regex \^_*\(gst_\|Gst\|GST_\).* -no-undefined -version-info 18:0:18  -o libgstnet-0.10.la -rpath /usr/i686-pc-mingw32/sys-root/mingw/lib libgstnet_0.10_la-gstnetclientclock.lo libgstnet_0.10_la-gstnettimepacket.lo libgstnet_0.10_la-gstnettimeprovider.lo ../../../gst/libgstreamer-0.10.la -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl   -lintl
generating symbol list for `libgstnet-0.10.la'
/usr/bin/i686-pc-mingw32-nm -B  .libs/libgstnet_0.10_la-gstnetclientclock.o .libs/libgstnet_0.10_la-gstnettimepacket.o .libs/libgstnet_0.10_la-gstnettimeprovider.o  | sed -n -e 's/^.*[        ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][     ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/' -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq > .libs/libgstnet-0.10.exp
/bin/grep -E -e "^_*(gst_|Gst|GST_).*" ".libs/libgstnet-0.10.exp" > ".libs/libgstnet-0.10.expT"
mv -f ".libs/libgstnet-0.10.expT" ".libs/libgstnet-0.10.exp"
if test "x`/bin/sed 1q .libs/libgstnet-0.10.exp`" = xEXPORTS; then cp .libs/libgstnet-0.10.exp .libs/libgstnet-0.10-0.dll.def; else echo EXPORTS > .libs/libgstnet-0.10-0.dll.def; cat .libs/libgstnet-0.10.exp >> .libs/libgstnet-0.10-0.dll.def; fi
 i686-pc-mingw32-gcc -shared .libs/libgstnet-0.10-0.dll.def  .libs/libgstnet_0.10_la-gstnetclientclock.o .libs/libgstnet_0.10_la-gstnettimepacket.o .libs/libgstnet_0.10_la-gstnettimeprovider.o  ../../../gst/.libs/libgstreamer-0.10.dll.a -L/usr/i686-pc-mingw32/sys-root/mingw/lib /usr/i686-pc-mingw32/sys-root/mingw/lib/libgobject-2.0.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libgthread-2.0.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libgmodule-2.0.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libglib-2.0.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libintl.dll.a  -mms-bitfields -o .libs/libgstnet-0.10-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libgstnet-0.10.dll.a
Info: resolving ___gst_debug_min by linking to __imp____gst_debug_min (auto-import)
/usr/lib64/gcc/i686-pc-mingw32/4.3.2/../../../../i686-pc-mingw32/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.Info: resolving _GST_CAT_DEFAULT by linking to __imp__GST_CAT_DEFAULT (auto-import)
Creating library file: .libs/libgstnet-0.10.dll.a
.libs/libgstnet_0.10_la-gstnetclientclock.o: In function `gst_net_client_clock_start':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:431: undefined reference to `_socket@12'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:437: undefined reference to `_getsockname@12'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:443: undefined reference to `_htons@4'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:445: undefined reference to `_ntohs@4'
.libs/libgstnet_0.10_la-gstnetclientclock.o: In function `inet_aton':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:112: undefined reference to `_inet_addr@4'
.libs/libgstnet_0.10_la-gstnetclientclock.o: In function `gst_net_client_clock_finalize':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:202: undefined reference to `_WSACleanup@0'
.libs/libgstnet_0.10_la-gstnetclientclock.o: In function `gst_net_client_clock_init':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:158: undefined reference to `_WSAStartup@8'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnetclientclock.c:164: undefined reference to `_WSACleanup@0'
.libs/libgstnet_0.10_la-gstnettimepacket.o: In function `gst_net_time_packet_send':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimepacket.c:199: undefined reference to `_ioctlsocket@12'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimepacket.c:202: undefined reference to `_sendto@24'
.libs/libgstnet_0.10_la-gstnettimepacket.o: In function `gst_net_time_packet_receive':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimepacket.c:129: undefined reference to `_recvfrom@24'
.libs/libgstnet_0.10_la-gstnettimeprovider.o: In function `gst_net_time_provider_start':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:360: undefined reference to `_socket@12'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:366: undefined reference to `_setsockopt@20'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:374: undefined reference to `_htons@4'
.libs/libgstnet_0.10_la-gstnettimeprovider.o: In function `inet_aton':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:118: undefined reference to `_inet_addr@4'
.libs/libgstnet_0.10_la-gstnettimeprovider.o: In function `gst_net_time_provider_start':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:380: undefined reference to `_bind@12'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:387: undefined reference to `_getsockname@12'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:391: undefined reference to `_ntohs@4'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:444: undefined reference to `_closesocket@4'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:419: undefined reference to `_closesocket@4'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:427: undefined reference to `_closesocket@4'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:435: undefined reference to `_closesocket@4'
.libs/libgstnet_0.10_la-gstnettimeprovider.o: In function `gst_net_time_provider_finalize':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:212: undefined reference to `_WSACleanup@0'
.libs/libgstnet_0.10_la-gstnettimeprovider.o: In function `gst_net_time_provider_stop':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:461: undefined reference to `_closesocket@4'
.libs/libgstnet_0.10_la-gstnettimeprovider.o: In function `gst_net_time_provider_init':
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:171: undefined reference to `_WSAStartup@8'
/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net/gstnettimeprovider.c:177: undefined reference to `_WSACleanup@0'
make[4]: *** [libgstnet-0.10.la] Error 1
make[4]: Leaving directory `/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst/net'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/acoyle/src/gstreamer-mingw-cross/gstreamer-0.10.21'
make: *** [all] Error 2
I would be grateful for any help in resolving this...
 
Thanks