cross build error - linking issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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




[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux