From: "Jörg Bakker" <joerg@hakker.de>
To: Openembedded-devel@lists.openembedded.org
Subject: [PATCH] linux-epia-2.6.19.2
Date: Mon, 30 Mar 2009 21:55:16 +0200 [thread overview]
Message-ID: <200903302155.17027.joerg@hakker.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 2463 bytes --]
Building of linux-epia-2.6.19.2 stops with the following error:
| make[2]: Entering directory `/home/jb/devel/cc/jammsession/oe/build/tmp/work/epia-angstrom-linux/linux-epia-2.6.19.2-r1/linux-2.6.19.2'
| CC scripts/mod/empty.o
| HOSTCC scripts/mod/mk_elfconfig
| MKELF scripts/mod/elfconfig.h
| HOSTCC scripts/mod/file2alias.o
| GEN include/asm-i386/asm-offsets.h
| make[1]: Leaving directory `/home/jb/devel/cc/jammsession/oe/build/tmp/work/epia-angstrom-linux/linux-epia-2.6.19.2-r1/linux-2.6.19.2'
| HOSTCC scripts/mod/modpost.o
| HOSTCC scripts/mod/sumversion.o
| scripts/mod/sumversion.c: In function 'get_src_version':
| scripts/mod/sumversion.c:384: error: 'PATH_MAX' undeclared (first use in this function)
| scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once
| scripts/mod/sumversion.c:384: error: for each function it appears in.)
| scripts/mod/sumversion.c:384: warning: unused variable 'filelist'
| make[2]: *** [scripts/mod/sumversion.o] Error 1
| make[2]: Leaving directory `/home/jb/devel/cc/jammsession/oe/build/tmp/work/epia-angstrom-linux/linux-epia-2.6.19.2-r1/linux-2.6.19.2'
| make[1]: *** [scripts/mod] Error 2
| make[1]: Leaving directory `/home/jb/devel/cc/jammsession/oe/build/tmp/work/epia-angstrom-linux/linux-epia-2.6.19.2-r1/linux-2.6.19.2'
| make: *** [scripts] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/jb/devel/cc/jammsession/oe/build/tmp/work/epia-angstrom-linux/linux-epia-2.6.19.2-r1/temp/log.do_compile.3783
NOTE: package linux-epia-2.6.19.2-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package linux-epia-2.6.19.2: failed
ERROR: Build of /home/jb/devel/cc/jammsession/oe/openembedded/recipes/linux/linux-epia_2.6.19.2.bb do_compile failed
ERROR: Task 1181 (/home/jb/devel/cc/jammsession/oe/openembedded/recipes/linux/linux-epia_2.6.19.2.bb, do_compile) failed
OE Build Configuration:
BB_VERSION = "1.8.13"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "8f8efbe43a7f28802d066f7f83915e8fbd0d4cc2"
TARGET_ARCH = "i586"
TARGET_OS = "linux"
MACHINE = "epia"
DISTRO = "angstrom"
DISTRO_VERSION = "2009.X-test-20090329"
The attached patch fixes this.
[-- Attachment #2: linux-epia-2619-limits.patch --]
[-- Type: text/x-patch, Size: 1331 bytes --]
diff -Nur openembedded/recipes/linux/linux-epia-2.6.19.2/linux-epia-2619-limits.patch build/recipes/linux/linux-epia-2.6.19.2/linux-epia-2619-limits.patch
--- openembedded/recipes/linux/linux-epia-2.6.19.2/linux-epia-2619-limits.patch 1970-01-01 01:00:00.000000000 +0100
+++ build/recipes/linux/linux-epia-2.6.19.2/linux-epia-2619-limits.patch 2009-03-21 18:02:08.000000000 +0100
@@ -0,0 +1,10 @@
+--- linux-2.6.19.2/scripts/mod/sumversion.c.orig 2009-03-15 21:44:58.000000000 +0100
++++ linux-2.6.19.2/scripts/mod/sumversion.c 2009-03-15 21:44:58.000000000 +0100
+@@ -8,6 +8,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include "modpost.h"
++#include <linux/limits.h>
+
+ /*
+ * Stolen form Cryptographic API.
diff -Nur openembedded/recipes/linux/linux-epia_2.6.19.2.bb build/recipes/linux/linux-epia_2.6.19.2.bb
--- openembedded/recipes/linux/linux-epia_2.6.19.2.bb 2009-03-21 10:44:07.000000000 +0100
+++ build/recipes/linux/linux-epia_2.6.19.2.bb 2009-03-21 18:03:19.000000000 +0100
@@ -6,7 +6,8 @@
KERNEL_CCSUFFIX = "-3.3.4"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
- file://epia_defconfig"
+ file://epia_defconfig \
+ file://linux-epia-2619-limits.patch;patch=1"
S = "${WORKDIR}/linux-${PV}"
COMPATIBLE_HOST = 'i.86.*-linux'
next reply other threads:[~2009-03-30 19:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 19:55 Jörg Bakker [this message]
2009-03-30 20:06 ` [PATCH] linux-epia-2.6.19.2 Tom Rini
2009-03-30 20:36 ` Jörg Bakker
2009-03-30 21:00 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200903302155.17027.joerg@hakker.de \
--to=joerg@hakker.de \
--cc=Openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.