Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108288 - compile of sys-kernel/ck-sources-2.6.13_p6 fails on yenta-socket.c
Summary: compile of sys-kernel/ck-sources-2.6.13_p6 fails on yenta-socket.c
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 09:00 UTC by Gianni Costanzi
Modified: 2005-10-06 09:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gianni Costanzi 2005-10-06 09:00:23 UTC
When emerging sys-kernel/ck-sources-2.6.13_p6, the compile fails on
drivers/pcmcia/yenta_socket.c. The problem is the same explained in bug 106405
(http://bugs.gentoo.org/show_bug.cgi?id=106405) related to emerging
sys-kernel/gentoo-sources-2.6.13-r2

Reproducible: Always
Steps to Reproduce:
1. cd /usr/src/linux-2.6.13-ck6/
2. make menuconfig and select CONFIG_YENTA=y or CONFIG_YENTA=m
3. make

Actual Results:  
CC      drivers/pcmcia/yenta_socket.o
drivers/pcmcia/yenta_socket.c: In function `yenta_probe':
drivers/pcmcia/yenta_socket.c:986: error: `KERN_ERROR' undeclared (first use in
this function)
drivers/pcmcia/yenta_socket.c:986: error: (Each undeclared identifier is
reported only once
drivers/pcmcia/yenta_socket.c:986: error: for each function it appears in.)
drivers/pcmcia/yenta_socket.c:986: error: syntax error before string constant
make[2]: *** [drivers/pcmcia/yenta_socket.o] Error 1
make[1]: *** [drivers/pcmcia] Error 2
make: *** [drivers] Error 2


Expected Results:  
The compilation of the kernel should go on.

uname -a --> Linux neo 2.6.12-gentoo-r10 #5 Wed Sep 14 20:05:08 CEST 2005 i686
Intel(R) Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-apm gtk2 gnome qt kde dvd alsa cdr acpi opengl sse sse2 samba wifi
divx4linux win32codecs xvid oggvorbis xine sdl apache2 nsplugin browserplugin svg"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-06 09:05:24 UTC
ck-sources is not a supported kernel [1] on Gentoo, please report this problem
upstream. 

[1]http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3
Comment 2 Gianni Costanzi 2005-10-06 09:31:27 UTC
Btw, the solution is the same as for bug 106405, i.e. substitute KERN_ERROR with
KERN_ERR in /drivers/pcmcia/yenta_socket.c
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-10-06 09:45:14 UTC
BTW, 2.6.13_p7 is in portage, might be fixed there.