Re: [yocto] crossbuild for arm :FFPLAY not build
On 07/10/2014 05:02 PM, Natural Groove wrote: Hi, Im trying to crossbuild ffmpeg for arm (colibri-t20). I wrote a simplest recipe in order to achieve this, but even if ffmpeg, ffprobe and ffserver are build, ffplay isnt, i first thought that i had forgotten some dependencies but i dont see which could be missing. Any idea why this isnt working? The recipe: SRC_URI = https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz; SRC_URI[md5sum] = 294749b2ebdd22ef7d9b9d12a70d5b8c SRC_URI[sha256sum] = 66f521dffefcbb6c09a402f6373e6cef81fbf4284d0a33cdef9a19412df1dd18 inherit autotools pkgconfig DEPENDS = yasm-native libsdl libx11 zlib libtheora libogg libass libtool S=${WORKDIR}/ffmpeg-2.1.1 inherit autotools pkgconfig CROSS_COMPILE = /home/rick/oe-core/build/out-eglibc/sysroots/i686-linux/usr/bin/armv7ahf-vfp-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi- EXTRA_OECONF = --arch=arm --enable-cross-compile --cross-prefix=${CROSS_COMPILE} --target-os=linux --enable-gpl --enable-libtheora --enable-libvorbis --extra-libs=-ldl --enable-ffplay --enable-shared --enable-pic Check config.log to see why --enable-ffplay doesn't work ? do_configure() { ./configure ${EXTRA_OECONF} } Remove the do_configure ()? // Robert Regards Ricko -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] crossbuild for arm :FFPLAY not build
Not that I've been building ffmpeg et.al. myself, but: * Natural Groove natural_gro...@hotmail.fr [140710 11:04]: Im trying to crossbuild ffmpeg for arm (colibri-t20). I wrote a simplest recipe in order to achieve this, but even if ffmpeg, ffprobe and ffserver are build, ffplay isnt, i first thought that i had forgotten some dependencies but i dont see which could be missing. Any idea why this isnt working? The recipe: EXTRA_OECONF = --arch=arm --enable-cross-compile --cross-prefix=${CROSS_COMPILE} --target-os=linux --enable-gpl --enable-libtheora --enable-libvorbis --extra-libs=-ldl --enable-ffplay --enable-shared --enable-pic If this is what you have in your recipe, I'm not surprised that it doesn't work. As it seems that you're using both to surround the EXTRA_OECONF, but also inside that expression. Try to change to '. You should also use bitbake -e recipe-name to check that EXTRA_OECONF looks OK. Cheers, Anders -- Anders Darander ChargeStorm AB / eStorm AB -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto