[Bug 3762] New: gpm-1.20.1 fails to build with >=kernel-2.6.23
bugzilla-daemon at treke.net
bugzilla-daemon at treke.net
Sun Feb 10 09:57:52 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=3762
Summary: gpm-1.20.1 fails to build with >=kernel-2.6.23
Product: Openembedded
Version: Angstrom 2008.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: c.romain at laposte.net
_Context_:
Building angstrom-2008.1 for qemux86 with packaged-staging2
_BuildLog_:
| make[1]: Entering directory
`/home/cyril/pocketsys/oe/tmp/work/i586-angstrom-linux/gpm-1.20.1-r2/gpm-1.20.1/src'
| ccache i586-angstrom-linux-gcc -march=i586
-I/home/cyril/pocketsys/oe/tmp/work/i586-angstrom-linux/gpm-1.20.1-r2/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\""
-DSBINDIR="\"/usr/sbin\""
-isystem/home/cyril/pocketsys/oe/tmp/staging/i586-angstrom-linux/include
-isystem/home/cyril/pocketsys/oe/tmp/staging/i586-angstrom-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-isystem/home/cyril/pocketsys/oe/tmp/staging/i586-angstrom-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -c -o
special.o special.c
| special.c: In function 'processSpecial':
| special.c:158: error: 'OPEN_MAX' undeclared (first use in this function)
| special.c:158: error: (Each undeclared identifier is reported only once
| special.c:158: error: for each function it appears in.)
| make[1]: *** [special.o] Error 1
| make[1]: Leaving directory
`/home/cyril/pocketsys/oe/tmp/work/i586-angstrom-linux/gpm-1.20.1-r2/gpm-1.20.1/src'
| make: *** [do-all] Error 1
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package gpm-1.20.1-r2: task do_compile: Failed
NOTE: package gpm-1.20.1-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gpm-1.20.1: Failed
NOTE: package gpm-1.20.1: failed
_Problem_:
As stated here
http://linuxfromscratch.org/pipermail/blfs-support/2007-October/063848.html ,
OPEN_MAX has been removed from Linux 2.6.23.
_Solution_:
Apply the patch suggested in the above link.
_Note_:
I'm wondering why we didn't got that error until now though (kernel 2.6.23 and
gpm 1.20 are in OE and used since several months) ...
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list