On 2013-12-09 21:05, Joshua Kurland wrote:
I am having a bit of difficulty compiling the gstreamer-imx binaries using waf. I set up the environment variables and ran waf, but it was unable to find 'libfslvpuwrap'. But libfslvpuwrap.pc is found in my sysroot/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/pkgconfig/libfslvpuwrap.pc. I am adding libfslvpuwrap as a package under the IMAGE_INSTALL section of my image recipe, is this not the correct way? I've attached my environment script as well as the error log, I would appreciate any help I can get.

Thanks,
Josh Kurland


The environment variables look wrong to me.
1. export CFLAGS="--sysroot=/opt/poky/1.5+gst/sysroots/x86_64-linux/usr/bin/cortexa9-vfp-neon-poky-linux-gnueabi" : sysroot is not supposed to point to the cross compiler directory, but to the sysroot of the *device* (same goes for the LDFLAGS, the PKG_CONFIG_SYSROOT_DIR, and the kernel headers path)
2. the "/build" part of the kernel headers path needs to be removed
3. do you use hardfloat or softfloat? In one place, you use cortexa9, in another, cortexa9hf

I attached an example script that may be clearer (at successfully builds the plugins). It builds for the Sabre SD DualLite platform.

cheers

Attachment: build-gstimx.sh
Description: Bourne shell script

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to