Age | Commit message (Collapse) | Author |
|
Task `compile` fails with the following error using `angstrom-2008.1` for `MACHINE = "beagleboard"`.
arm-angstrom-linux-gnueabi-libtool: compile: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I.. -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I./headers -I../gst-libs -I../gst-libs -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -I../util -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -MT libgstomx_la-gstomx_base_videoenc.lo -MD -MP -MF .deps/libgstomx_la-gstomx_base_videoenc.Tpo -c gstomx_base_videoenc.c -fPIC -DPIC -o .libs/libgstomx_la-gstomx_base_videoenc.o
cc1: warnings being treated as errors
gstomx_base_videoenc.c: In function 'sink_setcaps':
gstomx_base_videoenc.c:239: error: implicit declaration of function 'free'
gstomx_base_videoenc.c:239: error: incompatible implicit declaration of built-in function 'free'
gstomx_base_videoenc.c: In function 'omx_setup':
gstomx_base_videoenc.c:326: error: incompatible implicit declaration of built-in function 'free'
cc1: warnings being treated as errors
gstomx_base_filter.c: In function 'setup_ports':
gstomx_base_filter.c:65: error: implicit declaration of function 'free'
gstomx_base_filter.c:65: error: incompatible implicit declaration of built-in function 'free'
gstomx_base_filter.c: In function 'output_loop':
gstomx_base_filter.c:387: error: format '%d' expects type 'int', but argument 8 has type 'OMX_U32'
gstomx_base_filter.c: In function 'pad_chain':
gstomx_base_filter.c:476: error: format '%lu' expects type 'long unsigned int', but argument 8 has type 'guint'
make[2]: *** [libgstomx_la-gstomx_base_videoenc.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
gstomx_base_videodec.c: In function 'settings_changed_cb':
gstomx_base_videodec.c:111: error: implicit declaration of function 'calloc'
gstomx_base_videodec.c:111: error: incompatible implicit declaration of built-in function 'calloc'
gstomx_base_videodec.c:135: error: implicit declaration of function 'free'
gstomx_base_videodec.c:135: error: incompatible implicit declaration of built-in function 'free'
gstomx_base_videodec.c: In function 'sink_setcaps':
gstomx_base_videodec.c:179: error: incompatible implicit declaration of built-in function 'calloc'
gstomx_base_videodec.c:208: error: incompatible implicit declaration of built-in function 'free'
gstomx_base_videodec.c: In function 'omx_setup':
gstomx_base_videodec.c:229: error: incompatible implicit declaration of built-in function 'calloc'
gstomx_base_videodec.c:291: error: incompatible implicit declaration of built-in function 'free'
make[2]: *** [libgstomx_la-gstomx_base_filter.lo] Error 1
make[2]: *** [libgstomx_la-gstomx_base_videodec.lo] Error 1
arm-angstrom-linux-gnueabi-libtool: compile: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I.. -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I./headers -I../gst-libs -I../gst-libs -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -I../util -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -MT libgstomx_la-gstomx.lo -MD -MP -MF .deps/libgstomx_la-gstomx.Tpo -c gstomx.c -o libgstomx_la-gstomx.o >/dev/null 2>&1
mv -f .deps/libgstomx_la-gstomx.Tpo .deps/libgstomx_la-gstomx.Plo
make[2]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gst-openmax-0.10.0.4-r0/gst-openmax-0.10.0.4/omx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gst-openmax-0.10.0.4-r0/gst-openmax-0.10.0.4'
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Function do_compile failed
`configure.ac` contains
dnl These flags can be overridden at make time:
dnl make ERROR_CFLAGS=
AC_DEFUN([AG_GST_SET_ERROR_CFLAGS],
[
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AS_COMPILER_FLAG])
[…]
dnl if asked for, add -Werror if supported
if test "x$1" != "xno"
then
AS_COMPILER_FLAG(-Werror, ERROR_CFLAGS="$ERROR_CFLAGS -Werror")
and so set `ERROR_FLAGS` only to `-Wall`. This fixes the build.
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Task `configure` fails with the following error with `angstrom-2008.1` and `MACHINE = "beagleboard"`.
| configure: using GStreamer tools in /usr/bin
| configure: using GStreamer plug-ins in /usr/lib/gstreamer-0.10
| checking for GST_BASE... yes
| checking for GST_CHECK... no
| no
| configure: No package 'gstreamer-check' found
| configure: error: no gstreamer-check >= 0.10.0 (GStreamer Check unittest Library) found
| ERROR: Function do_configure failed
NOTE: package gst-openmax-0.10.0.4-r0: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/openmax/gst-openmax_0.10.0.4.bb do_configure failed
ERROR: Task 11 (/oe/openembedded/recipes/openmax/gst-openmax_0.10.0.4.bb, do_configure) failed with 256
With current GStreamer `gstreamer-0.10.31-r2` this patch is not necessary anymore and removing it fixes the build. When the recipe was committed with the patch in 1eef6ac1 [1] GStreamer 0.10.17 was used [2].
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1eef6ac18de15ea845b146b1624fcc1f1c4faea2
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=3422a436880509c7f82a3ae5d5693c87ece7a42d
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
These version are not used anymore and 0.9.{0,1} do not even build with current FFmpeg [1].
$ zless minimal-dev/work/armv7a-oe-linux-gnueabi/libomxil-bellagio-0.9.0-r8.0/temp/log.do_compile.16833
[…]
/bin/sh ../../../arm-oe-linux-gnueabi-libtool --tag=CC --mode=compile arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -m
no-thumb -DHAVE_CONFIG_H -I. -I../../.. -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -I/oe/build-minimal-eglibc/m
inimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr//include -I../../../include -I../../../src -I../../../src/base -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/arm
v7a-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -pthread -g -Wall -MT libomxffmpeg_la-omx_ffmpeg_colorconv_component.lo -MD -
MP -MF .deps/libomxffmpeg_la-omx_ffmpeg_colorconv_component.Tpo -c -o libomxffmpeg_la-omx_ffmpeg_colorconv_component.lo `test -f 'omx_ffmpeg_colorconv_component.c' || echo './'`omx
_ffmpeg_colorconv_component.c
arm-oe-linux-gnueabi-libtool: compile: arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I..
/../.. -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -I/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux
-gnueabi/usr//include -I../../../include -I../../../src -I../../../src/base -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -fex
pensive-optimizations -fomit-frame-pointer -frename-registers -Os -pthread -g -Wall -MT libomxffmpeg_la-omx_ffmpeg_colorconv_component.lo -MD -MP -MF .deps/libomxffmpeg_la-omx_ffmp
eg_colorconv_component.Tpo -c omx_ffmpeg_colorconv_component.c -fPIC -DPIC -o .libs/libomxffmpeg_la-omx_ffmpeg_colorconv_component.o
omx_ffmpeg_colorconv_component.c: In function 'find_ffmpeg_pxlfmt':
omx_ffmpeg_colorconv_component.c:72:23: error: 'PIX_FMT_RGBA32' undeclared (first use in this function)
omx_ffmpeg_colorconv_component.c:72:23: note: each undeclared identifier is reported only once for each function it appears in
omx_ffmpeg_colorconv_component.c: In function 'omx_ffmpeg_colorconv_component_BufferMgmtCallback':
omx_ffmpeg_colorconv_component.c:799:13: warning: passing argument 2 of 'sws_scale' from incompatible pointer type
/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include/libswscale/swscale.h:195:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **'
make[4]: *** [libomxffmpeg_la-omx_ffmpeg_colorconv_component.lo] Error 1
make[4]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/libomxil-bellagio-0.9.0-r8.0/libomxil-bellagio-0.9.0/src/components/ffmpeg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/libomxil-bellagio-0.9.0-r8.0/libomxil-bellagio-0.9.0/src/components'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/libomxil-bellagio-0.9.0-r8.0/libomxil-bellagio-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/libomxil-bellagio-0.9.0-r8.0/libomxil-bellagio-0.9.0'
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Function do_compile failed
0.9.2 probably would build with a similar as [2]. Furthermore 0.9.2.1 has been around for over a year (77195e32 [2]).
[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-January/028804.html
[2] http://patches.openembedded.org/patch/315/
[3] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=77195e32400dd86facc038f61190139d38f14b31
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
to fix build with GCC 4.5
Am Montag, den 17.01.2011, 12:45 +0100 schrieb Paul Menzel:
> Build tested with `angstrom-2008.1` for `MACHINE = "beagleboard"`. With `angstrom-2010.x` it fails with the following error.
>
> arm-angstrom-linux-gnueabi-libtool: compile: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I../.. -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I../../include -I../../src -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 -Wall -Werror -DCONFIG_DEBUG_LEVEL=0 -MT libomxbase_la-omx_base_component.lo -MD -MP -MF .deps/libomxbase_la-omx_base_component.Tpo -c omx_base_component.c -fPIC -DPIC -o .libs/libomxbase_la-omx_base_component.o
> cc1: warnings being treated as errors
> omx_base_component.c: In function 'omx_base_component_GetParameter':
> omx_base_component.c:991:3: error: case value '2130706435' not in enumerated type 'OMX_INDEXTYPE'
> omx_base_component.c:918:3: error: case value '2130706436' not in enumerated type 'OMX_INDEXTYPE'
> make[3]: *** [libomxbase_la-omx_base_component.lo] Error 1
> make[3]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/libomxil-bellagio-0.9.2.1+gitr0+772f0eca88b242ffb5469e8e381c63ce1f7cd3e1-r7.0/git/src/base'
Upstream advised to remove `-Werror` and is looking into it [1]. OpenBricks is applying the same patch [2].
A similar patch would make 0.9.2 compile, but this one here does not apply there (`CFLAGS="${CFLAGS} -Werror"` instead of `CFLAGS="${CFLAGS} -Wall -Werror"`).
[1] http://sourceforge.net/mailarchive/message.php?msg_id=26911808
[2] http://hg.openbricks.org/openbricks/rev/4f4ed3a596f2
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
`libomxil-bellagio.pc`
`libomxil-bellagio` distributes a pkg-config file [1] which is only put to the following location with the following content.
$ more angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig/libomxil-bellagio.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
toolsdir=/usr/bin
pluginsdir=${libdir}/bellagio
Name: libomxil
Description: OpenMAX Integration Layer library
Version: 0.9.2.1
Libs: -L${libdir} -lomxil-bellagio
Cflags: -I${includedir} -I${includedir}/bellagio
To make it useful for crosscompiling inherit `pkgconfig.bbclass`.
[1] http://omxil.git.sourceforge.net/git/gitweb.cgi?p=omxil/omxil;a=blob;f=libomxil-bellagio.pc.in;h=abae71bf4ade80e26b28a755f214a96285fd5c47;hb=772f0eca88b242ffb5469e8e381c63ce1f7cd3e1
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Create a recipe include file. The only difference now is, that the following version also include `PARALLEL_MAKE = ""`.
• 0.9.0
• 0.9.1
[1] http://wiki.openembedded.org/index.php/Styleguide#PR_variables_with_recipes_that_use_INC_files
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Just reorder the lines to be consistent throughout all recipes and to adhere to the style guide [1].
[1] http://wiki.openembedded.org/index.php/Styleguide
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
The last release 0.9.2.1 is over a year old (2009-12-23).
Build tested with `angstrom-2008.1` for `MACHINE = "beagleboard"`. With `angstrom-2010.x` it fails with the following error.
arm-angstrom-linux-gnueabi-libtool: compile: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I../.. -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I../../include -I../../src -isystem/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 -Wall -Werror -DCONFIG_DEBUG_LEVEL=0 -MT libomxbase_la-omx_base_component.lo -MD -MP -MF .deps/libomxbase_la-omx_base_component.Tpo -c omx_base_component.c -fPIC -DPIC -o .libs/libomxbase_la-omx_base_component.o
cc1: warnings being treated as errors
omx_base_component.c: In function 'omx_base_component_GetParameter':
omx_base_component.c:991:3: error: case value '2130706435' not in enumerated type 'OMX_INDEXTYPE'
omx_base_component.c:918:3: error: case value '2130706436' not in enumerated type 'OMX_INDEXTYPE'
make[3]: *** [libomxbase_la-omx_base_component.lo] Error 1
make[3]: Leaving directory `/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/libomxil-bellagio-0.9.2.1+gitr0+772f0eca88b242ffb5469e8e381c63ce1f7cd3e1-r7.0/git/src/base'
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Acked-by: Andreas Oberritter <obi@opendreambox.org> (on irc)
|
|
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
This patch removes all occurrences of
do_stage() {
autotools_stage_all
}
including all kind of variants w.r.t whitespace
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
|
|
and bump PR of recipes that depend on it
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
|
|
For .diff/.patch you need to apply manually, you can specify apply=no.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
I think this makes the behavior rather more clear.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
* fetch all *.bb with patched utils.bbclass appending all checksums
found only in checksums.ini to recipe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
|
|
|
|
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|