This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: buildsystem: Easse cross compiling on Debian derivates Author: Gregor Jasny <[email protected]> Date: Sun Oct 7 18:53:52 2012 +0200 Debian based libtool packages suffer from a cross compiling problem where the rpaths are not picked up properly. See: - https://bugs.lttng.org/issues/321 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297726 Signed-off-by: Gregor Jasny <[email protected]> INSTALL | 8 ++------ contrib/test/Makefile.am | 2 +- utils/rds-ctl/Makefile.am | 2 +- utils/v4l2-compliance/Makefile.am | 2 +- utils/v4l2-ctl/Makefile.am | 2 +- 5 files changed, 6 insertions(+), 10 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=d09be1eba6598941078ad7be6748daa610d7ae4c diff --git a/INSTALL b/INSTALL index e28a6a5..bc92d7e 100644 --- a/INSTALL +++ b/INSTALL @@ -30,21 +30,17 @@ Cross Compiling: Cross compiling has been tested with the Code Sourcery and Linaro ARM Linux toolchain. -Currently it is necessary to disable the generation of shared libraries. -Othewise linking against libv4l2 might fail due to missing libv4lconvert -symbols (due to a failure to find libv4lconvert). - To cross compile with the Code Sourcery toolchain run the following commands: export PATH=/opt/arm-2009q3/bin:$PATH export PKG_CONFIG_LIBDIR=/path/to/cross/root/lib -./configure --host=arm-none-linux-gnueabi --without-jpeg --disable-shared +./configure --host=arm-none-linux-gnueabi --without-jpeg make To cross compile with the Linaro toolchain run the following commands: export PATH=/opt/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin:$PATH export PKG_CONFIG_LIBDIR=/path/to/cross/root/lib -./configure --host=arm-linux-gnueabihf --without-jpeg --disable-shared +./configure --host=arm-linux-gnueabihf --without-jpeg make diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am index ce1ba22..768e985 100644 --- a/contrib/test/Makefile.am +++ b/contrib/test/Makefile.am @@ -21,7 +21,7 @@ pixfmt_test_CFLAGS = $(X11_CFLAGS) pixfmt_test_LDFLAGS = $(X11_LIBS) v4l2grab_SOURCES = v4l2grab.c -v4l2grab_LDADD = ../../lib/libv4l2/libv4l2.la +v4l2grab_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la ioctl_test_SOURCES = ioctl-test.c diff --git a/utils/rds-ctl/Makefile.am b/utils/rds-ctl/Makefile.am index 9a84257..df546ad 100644 --- a/utils/rds-ctl/Makefile.am +++ b/utils/rds-ctl/Makefile.am @@ -1,5 +1,5 @@ bin_PROGRAMS = rds-ctl rds_ctl_SOURCES = rds-ctl.cpp -rds_ctl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4l2rds/libv4l2rds.la +rds_ctl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la ../../lib/libv4l2rds/libv4l2rds.la diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am index 8bcc480..7b479fb 100644 --- a/utils/v4l2-compliance/Makefile.am +++ b/utils/v4l2-compliance/Makefile.am @@ -2,6 +2,6 @@ bin_PROGRAMS = v4l2-compliance v4l2_compliance_SOURCES = v4l2-compliance.cpp v4l2-test-debug.cpp v4l2-test-input-output.cpp \ v4l2-test-controls.cpp v4l2-test-io-config.cpp v4l2-test-formats.cpp v4l2-test-buffers.cpp \ v4l2-test-codecs.cpp v4l2-compliance.h -v4l2_compliance_LDADD = ../../lib/libv4l2/libv4l2.la +v4l2_compliance_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la EXTRA_DIST = fixme.txt diff --git a/utils/v4l2-ctl/Makefile.am b/utils/v4l2-ctl/Makefile.am index a868177..bfcb6fe 100644 --- a/utils/v4l2-ctl/Makefile.am +++ b/utils/v4l2-ctl/Makefile.am @@ -9,4 +9,4 @@ v4l2_ctl_SOURCES = v4l2-ctl.cpp v4l2-ctl.h v4l2-ctl-common.cpp v4l2-ctl-tuner.cp v4l2-ctl-io.cpp v4l2-ctl-stds.cpp v4l2-ctl-vidcap.cpp v4l2-ctl-vidout.cpp \ v4l2-ctl-overlay.cpp v4l2-ctl-vbi.cpp v4l2-ctl-selection.cpp v4l2-ctl-misc.cpp \ v4l2-ctl-streaming.cpp -v4l2_ctl_LDADD = ../../lib/libv4l2/libv4l2.la +v4l2_ctl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
