From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 487A8E0056A; Thu, 10 Jul 2014 02:03:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (natural_groove[at]hotmail.fr) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [157.55.2.27 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 67 seconds by postgrey-1.32 at yocto-www; Thu, 10 Jul 2014 02:03:14 PDT Received: from DUB004-OMC3S18.hotmail.com (dub004-omc3s18.hotmail.com [157.55.2.27]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A431EE00559 for ; Thu, 10 Jul 2014 02:03:14 -0700 (PDT) Received: from DUB128-W3 ([157.55.2.7]) by DUB004-OMC3S18.hotmail.com with Microsoft SMTPSVC(7.5.7601.22701); Thu, 10 Jul 2014 02:02:05 -0700 X-TMN: [tXnrMTphrLEscWiaJ+cHTVjx4m6ek1QK] X-Originating-Email: [natural_groove@hotmail.fr] Message-ID: From: Natural Groove To: "yocto@yoctoproject.org" Date: Thu, 10 Jul 2014 11:02:05 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 10 Jul 2014 09:02:05.0504 (UTC) FILETIME=[9F254C00:01CF9C1D] Subject: crossbuild for arm :FFPLAY not build X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 09:03:18 -0000 Content-Type: multipart/alternative; boundary="_188baffe-1c18-41ef-bfe1-c74bdb3b533c_" --_188baffe-1c18-41ef-bfe1-c74bdb3b533c_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C Im trying to crossbuild ffmpeg for arm (colibri-t20). I wrote a simplest recipe in order to achieve this=2C but even if ffmpeg=2C= ffprobe and ffserver are build=2C ffplay isnt=2C i first thought that i ha= d forgotten some dependencies but i dont see which could be missing.=20 Any idea why this isnt working?=20 The recipe:=20 SRC_URI =3D "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz" SRC_URI[md5sum] =3D "294749b2ebdd22ef7d9b9d12a70d5b8c" SRC_URI[sha256sum] =3D "66f521dffefcbb6c09a402f6373e6cef81fbf4284d0a33cdef9= a19412df1dd18" inherit autotools pkgconfig DEPENDS =3D "yasm-native libsdl libx11 zlib libtheora libogg libass libtool= " S=3D"${WORKDIR}/ffmpeg-2.1.1" inherit autotools pkgconfig CROSS_COMPILE =3D "/home/rick/oe-core/build/out-eglibc/sysroots/i686-linux/= usr/bin/armv7ahf-vfp-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-" EXTRA_OECONF =3D "--arch=3Darm --enable-cross-compile --cross-prefix=3D${CR= OSS_COMPILE} --target-os=3Dlinux --enable-gpl --enable-libtheora --enable-l= ibvorbis --extra-libs=3D"-ldl" --enable-ffplay --enable-shared --enable-pic= " =20 do_configure() { ./configure ${EXTRA_OECONF} } Regards Ricko = --_188baffe-1c18-41ef-bfe1-c74bdb3b533c_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=2C

Im trying to crossb= uild ffmpeg for arm (colibri-t20).
I wrote a simplest recipe in order to= achieve this=2C but even if ffmpeg=2C ffprobe and ffserver are build=2C ff= play isnt=2C i first thought that i had forgotten some dependencies but i d= ont see which could be missing.
Any idea why this isnt working?
The recipe:

SRC_URI =3D "https://www.ffmpeg.org/releases/ffmpeg-2.= 1.1.tar.gz"
SRC_URI[md5sum] =3D "294749b2ebdd22ef7d9b9d12a70d5b8c"
SR= C_URI[sha256sum] =3D "66f521dffefcbb6c09a402f6373e6cef81fbf4284d0a33cdef9a1= 9412df1dd18"
inherit autotools pkgconfig
DEPENDS =3D "yasm-native lib= sdl libx11 zlib libtheora libogg libass libtool"
S=3D"${WORKDIR}/ffmpeg-= 2.1.1"


inherit autotools pkgconfig

CROSS_COMPILE =3D "/ho= me/rick/oe-core/build/out-eglibc/sysroots/i686-linux/usr/bin/armv7ahf-vfp-a= ngstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-"

EXTRA_OECONF =3D = "--arch=3Darm --enable-cross-compile --cross-prefix=3D${CROSS_COMPILE} --ta= rget-os=3Dlinux --enable-gpl --enable-libtheora --enable-libvorbis --extra-= libs=3D"-ldl" --enable-ffplay --enable-shared --enable-pic" =3B =3B=

do_configure() {
 =3B =3B =3B =3B =3B = =3B =3B ./configure ${EXTRA_OECONF}
}


Regards
Ricko
= --_188baffe-1c18-41ef-bfe1-c74bdb3b533c_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 44DD5E0056A; Thu, 10 Jul 2014 02:14:08 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 158BEE00559 for ; Thu, 10 Jul 2014 02:13:54 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s6A9Do1S018560 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 10 Jul 2014 02:13:50 -0700 (PDT) Received: from [128.224.162.181] (128.224.162.181) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.169.1; Thu, 10 Jul 2014 02:13:50 -0700 Message-ID: <53BE594C.3040600@windriver.com> Date: Thu, 10 Jul 2014 17:13:48 +0800 From: Robert Yang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Natural Groove , "yocto@yoctoproject.org" References: In-Reply-To: Subject: Re: crossbuild for arm :FFPLAY not build X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 09:14:08 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0EE30E0056A; Thu, 10 Jul 2014 02:27:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from stoexhub03.domain01.net (STOEXHUB03.domain01.net [83.145.59.144]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7ABE5E00559 for ; Thu, 10 Jul 2014 02:26:55 -0700 (PDT) Received: from ad.chargestorm.se (213.114.64.43) by stoexhub03.domain01.net (10.12.10.3) with Microsoft SMTP Server (TLS) id 8.3.279.1; Thu, 10 Jul 2014 11:26:52 +0200 Date: Thu, 10 Jul 2014 11:26:32 +0200 From: Anders Darander To: Natural Groove Message-ID: <20140710092632.GA30958@ad.chargestorm.se> Mail-Followup-To: Natural Groove , "yocto@yoctoproject.org" References: MIME-Version: 1.0 In-Reply-To: X-Accept-Language: sv, en, de X-GPG-Fingerprint: 5AF0 B2E9 78FE 9D75 D110 6F8F 3E31 84D7 920E 938C X-GPG-Key-Id: 0x920E938C X-GPG-Keyserver: hkp://keys.gnupg.net Organization: ChargeStorm AB User-Agent: Mutt/1.5.23 (2014-03-12) X-GFI-SMTP-Submission: 1 Cc: "yocto@yoctoproject.org" Subject: Re: crossbuild for arm :FFPLAY not build X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 09:27:05 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Not that I've been building ffmpeg et.al. myself, but: * Natural Groove [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 to check that EXTRA_OECONF looks OK. Cheers, Anders -- Anders Darander ChargeStorm AB / eStorm AB