[yocto] How to include native bitstream dependency in recipe?

Nicolas Dechesne nicolas.dechesne at linaro.org
Thu Jul 17 06:29:48 PDT 2014


On Thu, Jul 17, 2014 at 3:11 PM, Natural Groove
<natural_groove at hotmail.fr> wrote:
>
> do_install() {
> install -d ${D}${includedir} ${D}${includedir}/atsc ${D}${includedir}/dvb
> ${D}${includedir}/dvb/si ${D}${includedir}/mpeg ${D}${includedir}/mpeg/psi
> ${D}${includedir}/ietf
> install -m 0755 common.h ${D}${includedir}
> install -m 0755 atsc/a52.h ${D}${includedir}/atsc
> install -m 0755 dvb/ci.h dvb/si.h dvb/sim.h dvb/si_print.h dvb/sub.h
> ${D}${includedir}/dvb
> install -m 0755 mpeg/aac.h mpeg/h264.h mpeg/mp2v.h mpeg/mpga.h mpeg/pes.h
> mpeg/psi.h mpeg/psi_print.h mpeg/ts.h ${D}${includedir}/mpeg
> install -m 0755 ietf/rtp3551.h ietf/rtp.h ${D}${includedir}/ietf
> cp -r mpeg/psi/ ${D}${includedir}/mpeg/
> cp -r dvb/si/ ${D}${includedir}/dvb/
>
> }
>
> but after launching the compilation for the framework config.log says :
> configure:17806: checking bitstream/common.h usability
> configure:17806: arm-angstrom-linux-gnueabi-gcc  -mfpu=vfpv3-d16
> -march=armv7-a -mthumb-interwork -mfloat-abi=hard
> --sysroot=/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20
> -std=gnu99 -c -O2 -pipe -g -feliminate-unused-debug-types -D_REENTRANT
> conftest.c >&5
> conftest.c:71:30: fatal error: bitstream/common.h: No such file or directory
> compilation terminated.

from the recipe snippet you seem to have installed common.h in
${includedir}, not ${includedir}/bitstream, and you are looking for
bistream/common.h which in turn doesn't exist.

you probably need to install the files in your bitstream-dev package
at the appropriate location in the sysroot.



More information about the yocto mailing list