* crossbuild for arm :FFPLAY not build
@ 2014-07-10 9:02 Natural Groove
2014-07-10 9:13 ` Robert Yang
2014-07-10 9:26 ` Anders Darander
0 siblings, 2 replies; 3+ messages in thread
From: Natural Groove @ 2014-07-10 9:02 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]
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"
do_configure() {
./configure ${EXTRA_OECONF}
}
Regards
Ricko
[-- Attachment #2: Type: text/html, Size: 1490 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: crossbuild for arm :FFPLAY not build
2014-07-10 9:02 crossbuild for arm :FFPLAY not build Natural Groove
@ 2014-07-10 9:13 ` Robert Yang
2014-07-10 9:26 ` Anders Darander
1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2014-07-10 9:13 UTC (permalink / raw)
To: Natural Groove, yocto@yoctoproject.org
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
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: crossbuild for arm :FFPLAY not build
2014-07-10 9:02 crossbuild for arm :FFPLAY not build Natural Groove
2014-07-10 9:13 ` Robert Yang
@ 2014-07-10 9:26 ` Anders Darander
1 sibling, 0 replies; 3+ messages in thread
From: Anders Darander @ 2014-07-10 9:26 UTC (permalink / raw)
To: Natural Groove; +Cc: yocto@yoctoproject.org
Not that I've been building ffmpeg et.al. myself, but:
* Natural Groove <natural_groove@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-10 9:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10 9:02 crossbuild for arm :FFPLAY not build Natural Groove
2014-07-10 9:13 ` Robert Yang
2014-07-10 9:26 ` Anders Darander
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.