Re: Unable to cross compile 0.10.21 on Fedora 9

"Alex Coyle" <[email protected]> Mon, 10 Nov 2008 17:32:03 -0000
Newsgroups gmane.comp.video.gstreamer.daily
Message-ID <BEA72AB94EAE4F7B9E1FA2B88914FE09@george>
This is a multi-part message in MIME format.

------=_NextPart_000_0135_01C9435A.3E9B90F0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit

I managed to resolve the error in the compilation of gstfilesrc.c by
referring to the following post in the gstreamer-devel mailing list:

http://sourceforge.net/mailarchive/message.php?msg_id=180a127d0810060326y50a1bddagc40fdcf3f19a4d6c%40mail.gmail.com

I was then able to build gstreamer successfully, by modifying the configure
command as follows:

CPPFLAGS=-D__MSVCRT_VERSION__=0x0601 mingw32-configure

Also, the patch I posted in an earlier message is incorrect; the working 
version is attached...

Thanks

----- Original Message ----- 
From: Alex Coyle
To: [email protected]
Sent: Sunday, November 09, 2008 7:09 PM
Subject: Re: Unable to cross compile 0.10.21 on Fedora 9


For anyone who's interested, I got round the compilation error by adding
${WIN32_LIBS} to libgstnet_@GST_MAJORMINOR@_la_LIBADD in
'libs/gst/net/Makefile.am'.

I've attached a patch for this change.

However, after resolving this error, I now get a different compilation error
further on in the build, when trying to compile gstfilesrc.c:

/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 libgstcoreelements_la-gstfilesrc.lo -MD -MP -MF
.deps/libgstcoreelements_la-gstfilesrc.Tpo -c -o
libgstcoreelements_la-gstfilesrc.lo `test -f 'gstfilesrc.c' || echo
'./'`gstfilesrc.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 libgstcoreelements_la-gstfilesrc.lo -MD -MP -MF
.deps/libgstcoreelements_la-gstfilesrc.Tpo -c
gstfilesrc.c  -DDLL_EXPORT -DPIC -o .libs/libgstcoreelements_la-gstfilesrc.o
gstfilesrc.c: In function 'gst_file_src_get_size':
gstfilesrc.c:912: error: storage size of 'stat_results' isn't known
gstfilesrc.c:923: warning: implicit declaration of function '_fstat64'
gstfilesrc.c:912: warning: unused variable 'stat_results'
gstfilesrc.c: In function 'gst_file_src_start':
gstfilesrc.c:942: error: storage size of 'stat_results' isn't known
gstfilesrc.c:942: warning: unused variable 'stat_results'
make[3]: *** [libgstcoreelements_la-gstfilesrc.lo] Error 1
make[3]: Leaving directory
`/home/acoyle/src/gstreamer-0.10.21/plugins/elements'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/acoyle/src/gstreamer-0.10.21/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/acoyle/src/gstreamer-0.10.21'
make: *** [all] Error 2

As before I would be grateful for any help in trying to resolve this...

Thanks
----- Original Message ----- 
From: Alex Coyle
To: [email protected]
Sent: Saturday, November 08, 2008 3:00 PM
Subject: Unable to cross compile 0.10.21 on Fedora 9



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
stnetclientclock.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
stnettimepacket.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
stnettimeprovider.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
        ]\([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

------=_NextPart_000_0135_01C9435A.3E9B90F0
Content-Type: application/octet-stream; name="libs_gst_net_makefile_am.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="libs_gst_net_makefile_am.patch"

--- libs/gst/net/Makefile.am.orig	2006-10-05 16:31:16.000000000 +0100=0A=
+++ libs/gst/net/Makefile.am	2008-11-09 17:29:09.000000000 +0000=0A=
@@ -13,7 +13,7 @@=0A=
     gstnettimeprovider.c=0A=
 =0A=
 libgstnet_@GST_MAJORMINOR@_la_CFLAGS =3D $(GST_OBJ_CFLAGS)=0A=
-libgstnet_@GST_MAJORMINOR@_la_LIBADD =3D $(GST_OBJ_LIBS) =
$(INET_ATON_LIBS)=0A=
+libgstnet_@GST_MAJORMINOR@_la_LIBADD =3D $(GST_OBJ_LIBS) =
$(INET_ATON_LIBS) ${WIN32_LIBS}=0A=
 libgstnet_@GST_MAJORMINOR@_la_LDFLAGS =3D $(GST_LIB_LDFLAGS) =
$(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)=0A=
 =0A=
 CLEANFILES =3D *.gcno *.gcda *.gcov=0A=

------=_NextPart_000_0135_01C9435A.3E9B90F0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------=_NextPart_000_0135_01C9435A.3E9B90F0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gstreamer-daily mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-daily

------=_NextPart_000_0135_01C9435A.3E9B90F0--