[gst-devel] GStreamer Cross Compilation Issue
Pankaj Sen
pankaj.sen77 at gmail.com
Thu Sep 20 11:38:24 CEST 2007
Dear All,
I'm facing gstreamer cross compilation problem on ARM.
I have glib-2.12.4 in my arm target which is placed in /arm/target/usr/lib
directory.
I have configure using
./configure --host=arm-xxx --prefix=/arm/target/usr \
CPPFLAGS="-I/arm/target/usr/local/include -I/arm/target/usr/include
-I/arm/target/usr/include/glib-2.0/glib
-I/arm/target/usr/include/glib-2.0-I/arm/target/usr/lib/glib-
2.0/include -I/arm/target/usr/include/libxml2" \
LDFLAGS="-L/arm/target/usr/lib -L/arm/target/usr/local/lib"
Configure works fine and individual files are getting complied but facing
problem in linking.
/bin/sh ../../libtool --tag=CC --mode=link arm-xxx-gcc -g -O2
-L/arm/target/usr/lib -L/arm/target/usr/local/lib -o libgstparse.la
libgstparse_la-lex._gst_parse_yy.lo libgstparse_la-grammar.tab.lo -pthread
-Wl,--export-dynamic -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -
lglib-2.0
grep: /usr/lib/libglib-2.0.la: No such file or directory
/bin/sed: can't read /usr/lib/libglib-2.0.la: No such file or directory
libtool: link: `/usr/lib/libglib-2.0.la' is not a valid libtool archive
make[4]: *** [libgstparse.la] Error 1
make[4]: Leaving directory `/home/psen/download/gstreamer-0.10.4/gst/parse'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/psen/download/gstreamer-0.10.4/gst'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/psen/download/gstreamer-0.10.4/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psen/download/gstreamer-0.10.4'
make: *** [all] Error 2
Can anybody give me any clue what is missing.
Content of /arm/target/usr/lib/pkgconfig/glib-2.0.pc is as follows:-
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums
Name: GLib
Description: C Utility Library
Version: 2.12.4
Libs: -L${libdir} -lglib-2.0
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
Thanks ,
Pankaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070920/77c6a28f/attachment.htm>
More information about the gstreamer-devel
mailing list