cerbero mingw and custom plugin build
Mailing List SVR
lists at svrinformatica.it
Sat Jan 11 07:20:18 PST 2014
Hi,
I need to cross compile for windows a custom plugin based on
gst-template, I used cerbero to setup a cross compile environment and I
compiled gstreamer and gst-plugins-base with no issue, now from the
cerbero shell I would like to cross compile my plugin for windows, I
have the error attached, I know I can easily workaround the problem
simply including the plugin inside my app, but since this plugin in used
by several apps I would prefer to install it as system gstreamer plugin,
thanks for your suggestions,
Nicola
-------------- next part --------------
/bin/bash ../libtool --tag=CC --tag=disable-static --mode=link i686-w64-mingw32-gcc -mms-bitfields -I/home/nicola/cerbero/dist/windows_x86/include/gstreamer-0.10 -I/home/nicola/cerbero/dist/windows_x86/include/glib-2.0 -I/home/nicola/cerbero/dist/windows_x86/lib/glib-2.0/include -I/home/nicola/cerbero/dist/windows_x86/include/libxml2 -Wall -Wall -g -O2 -DWINVER=0x0501 -Wall -module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).* -L/home/nicola/cerbero/dist/windows_x86/lib -o libgstretimestamper.la -rpath /usr/local/lib/gstreamer-0.10 libgstretimestamper_la-gstretimestamper.lo -L/home/nicola/cerbero/dist/windows_x86/lib -lgstbase-0.10 -lgstcontroller-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -lintl
libtool: link: i686-w64-mingw32-nm .libs/libgstretimestamper_la-gstretimestamper.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libgstretimestamper.exp
libtool: link: /bin/grep -E -e "_*(gst_|Gst|GST_).*" ".libs/libgstretimestamper.exp" > ".libs/libgstretimestamper.expT"
libtool: link: mv -f ".libs/libgstretimestamper.expT" ".libs/libgstretimestamper.exp"
libtool: link: echo "{ global:" > .libs/libgstretimestamper.ver
libtool: link: cat .libs/libgstretimestamper.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libgstretimestamper.ver
libtool: link: echo "local: *; };" >> .libs/libgstretimestamper.ver
libtool: link: i686-w64-mingw32-gcc -shared .libs/libgstretimestamper_la-gstretimestamper.o -Wl,-rpath -Wl,/home/nicola/cerbero/dist/windows_x86/lib -Wl,-rpath -Wl,/home/nicola/cerbero/dist/windows_x86/lib -L/home/nicola/cerbero/dist/windows_x86/lib /home/nicola/cerbero/dist/windows_x86/lib/libgstbase-0.10.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libgstcontroller-0.10.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libgstreamer-0.10.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libgobject-2.0.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libffi.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libgmodule-2.0.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libgthread-2.0.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libxml2.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libz.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libiconv.dll.a /home/nicola/cerbero/dist/windows_x86/lib/libglib-2.0.dll.a -lws2_32 -lole32 -lwinmm -lshlwapi /home/nicola/cerbero/dist/windows_x86/lib/libintl.dll.a -lc -mms-bitfields -O2 -Wl,-soname -Wl,libgstretimestamper.so -Wl,-version-script -Wl,.libs/libgstretimestamper.ver -o .libs/libgstretimestamper.so
/home/nicola/cerbero/mingw/w32/bin/../lib/gcc/i686-w64-mingw32/4.7.3/../../../../i686-w64-mingw32/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
More information about the gstreamer-devel
mailing list