* [PATCH] linux-epia-2.6.19.2
@ 2009-03-30 19:55 Jörg Bakker
2009-03-30 20:06 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Jörg Bakker @ 2009-03-30 19:55 UTC (permalink / raw)
To: Openembedded-devel
[-- 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'
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] linux-epia-2.6.19.2
2009-03-30 19:55 [PATCH] linux-epia-2.6.19.2 Jörg Bakker
@ 2009-03-30 20:06 ` Tom Rini
2009-03-30 20:36 ` Jörg Bakker
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2009-03-30 20:06 UTC (permalink / raw)
To: openembedded-devel
On Mon, Mar 30, 2009 at 09:55:16PM +0200, Jörg Bakker wrote:
> Building of linux-epia-2.6.19.2 stops with the following error:
[snip]
This is actually quite a common error. Can we call the patch something
more generic and stick it into files/ ? Thanks.
--
Tom Rini
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] linux-epia-2.6.19.2
2009-03-30 20:06 ` Tom Rini
@ 2009-03-30 20:36 ` Jörg Bakker
2009-03-30 21:00 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Jörg Bakker @ 2009-03-30 20:36 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
Am Montag 30 März 2009 22:06:10 schrieb Tom Rini:
> On Mon, Mar 30, 2009 at 09:55:16PM +0200, Jörg Bakker wrote:
> > Building of linux-epia-2.6.19.2 stops with the following error:
>
> [snip]
>
> This is actually quite a common error. Can we call the patch something
> more generic and stick it into files/ ? Thanks.
ok, called the actual patch linux-2.6-limits.patch and moved it to files/
Resulting diff is attached. However, the patch is currently only applyed in
linux-epia_2.6.19.2.bb as I don't know which recipes are affected also.
Thanx for your input.
[-- Attachment #2: linux-26-limits.patch --]
[-- Type: text/x-patch, Size: 1227 bytes --]
diff -Nur openembedded/recipes/linux/files/linux-2.6-limits.patch build/recipes/linux/files/linux-2.6-limits.patch
--- openembedded/recipes/linux/files/linux-2.6-limits.patch 1970-01-01 01:00:00.000000000 +0100
+++ build/recipes/linux/files/linux-2.6-limits.patch 2009-03-30 22:20:00.000000000 +0200
@@ -0,0 +1,10 @@
+--- linux/scripts/mod/sumversion.c.orig 2009-03-15 21:44:58.000000000 +0100
++++ linux/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-30 22:25:22.000000000 +0200
@@ -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-2.6-limits.patch;patch=1"
S = "${WORKDIR}/linux-${PV}"
COMPATIBLE_HOST = 'i.86.*-linux'
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] linux-epia-2.6.19.2
2009-03-30 20:36 ` Jörg Bakker
@ 2009-03-30 21:00 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2009-03-30 21:00 UTC (permalink / raw)
To: openembedded-devel
On Mon, Mar 30, 2009 at 10:36:41PM +0200, Jörg Bakker wrote:
> Am Montag 30 März 2009 22:06:10 schrieb Tom Rini:
> > On Mon, Mar 30, 2009 at 09:55:16PM +0200, Jörg Bakker wrote:
> > > Building of linux-epia-2.6.19.2 stops with the following error:
> >
> > [snip]
> >
> > This is actually quite a common error. Can we call the patch something
> > more generic and stick it into files/ ? Thanks.
>
> ok, called the actual patch linux-2.6-limits.patch and moved it to files/
>
> Resulting diff is attached. However, the patch is currently only applyed in
> linux-epia_2.6.19.2.bb as I don't know which recipes are affected also.
Pushed (and added to the nokia recipes which I always hit this on).
--
Tom Rini
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-30 21:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 19:55 [PATCH] linux-epia-2.6.19.2 Jörg Bakker
2009-03-30 20:06 ` Tom Rini
2009-03-30 20:36 ` Jörg Bakker
2009-03-30 21:00 ` Tom Rini
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.