I'm having troubles cross compiling gstreamer-0.10.25.  My build
system if very close to the one located at
http://cross-lfs.org/view/clfs-embedded/arm/index.html

The point at which I'm building would be in the "Beyond CLFS" section
(toolchain state).  This error happens while building in the gst/parse
directory:

Making all in pkgconfig
Making all in gst
Making all in parse
  CC    lex._gst_parse_yy.o
  LINK  libgstparse.la
/bin/grep: /usr/lib/libiconv.la: No such file or directory
/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[4]: *** [libgstparse.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Using the --disable-parse option works but I still hit errors on other
linking sections.  Does anyone have an example ./configure on how to
properly tell the system to use $PREFIX/usr/lib instead of the host
/usr/lib path?  I've tried many variations of the following
configuration:

 LDFLAGS="-L$CLFS/usr/lib -Wl,-rpath-link,${CLFS}/usr/lib
-L$CLFS/usr/lib -Wl,-rpath,${CLFS}/usr/lib" \
 CFLAGS="-I${CLFS}/usr/include" \
 GLIB_CFLAGS="-pthread -I${CLFS}/usr/include/glib-2.0
-I${CLFS}/usr/lib/glib-2.0/include" \
 GLIB_LIBS="-L${CLFS}/usr/lib -lglib-2.0" \
 GLIB_ONLY_CFLAGS="-I${CLFS}/usr/include/glib-2.0
-I${CLFS}/usr/lib/glib-2.0/include" \
 GLIB_ONLY_LIBS="-L${CLFS}/usr/lib -lglib-2.0" \
 CC="${CC} ${BUILD}" ./configure --prefix=/usr \
        --host=${CLFS_TARGET} --disable-nls \
        --disable-static --disable-loadsave \
        --with-html-dir=/tmp/dump  && \
        make

Any help is appreciated.

--
Matth

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded

Reply via email to