Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62797 - mm-sources-2.6.9-rc1-mm3 compile error
Summary: mm-sources-2.6.9-rc1-mm3 compile error
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-04 02:44 UTC by scaba
Modified: 2004-10-23 02:24 UTC (History)
1 user (show)

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


Attachments
My kernel config (.config,21.79 KB, text/plain)
2004-09-04 02:46 UTC, scaba
Details
Fix from LKML (2.6.9-rc1-mm3-fix.diff,428 bytes, text/plain)
2004-09-04 09:15 UTC, scaba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scaba 2004-09-04 02:44:31 UTC
I'm getting the below compile error with 2.6.9-rc1-mm3 (latest -mm as of now).
I've never got that one before. Vanilla 2.6.9-rc1 and 2.6.9-rc1-mm1 work just fine with my config (see attachment). Haven't tried 2.6.9-rc1-mm2.

Reproducible: Always
Steps to Reproduce:
1. emerge mm-sources
2. make oldconfig
3. make

Actual Results:  
  CC      drivers/input/input.o
  CC      drivers/input/mousedev.o
  CC      drivers/input/keyboard/atkbd.o
  LD      drivers/input/keyboard/built-in.o
  LD      drivers/input/built-in.o
  CC      drivers/input/serio/serio.o
  CC      drivers/input/serio/i8042.o
drivers/input/serio/i8042.c: In function `acpi_i8042_kbd_add':
drivers/input/serio/i8042.c:1133: error: `i8042_data_reg' undeclared (first use
in this function)
drivers/input/serio/i8042.c:1133: error: (Each undeclared identifier is reported
 only once
drivers/input/serio/i8042.c:1133: error: for each function it appears in.)
drivers/input/serio/i8042.c:1134: error: `i8042_command_reg' undeclared (first u
se in this function)
drivers/input/serio/i8042.c:1135: error: `i8042_status_reg' undeclared (first us
e in this function)
make[2]: *** [drivers/input/serio/i8042.o] Error 1
make[1]: *** [drivers/input/serio] Error 2
make: *** [drivers] Error 2


# emerge info

Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.9-rc1)
=================================================================
System uname: 2.6.9-rc1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo/ http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current
/usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif
gnome gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod
mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png python
quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xv zlib"
Comment 1 scaba 2004-09-04 02:46:02 UTC
Created attachment 38885 [details]
My kernel config
Comment 2 scaba 2004-09-04 09:00:02 UTC
There's a fix for this error on LKML
 --> http://lkml.org/lkml/2004/9/3/99

I just discovered a topic about this error on the Gentoo forums which pointed this out
 --> http://forums.gentoo.org/viewtopic.php?t=218459
Comment 3 scaba 2004-09-04 09:15:13 UTC
Created attachment 38914 [details]
Fix from LKML

Compiles fine with diff applied.
Comment 4 Marcus D. Hanwell (RETIRED) gentoo-dev 2004-09-04 12:04:42 UTC
Had exact same compile problem on AMD64 with GCC 3.4.1 - applying diff fixed compilation issue. Thanks!
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2004-09-12 01:07:51 UTC
This should no longer be an issue with 2.6.9-rc1-mm4; if you still experience this issue in the new release then can you please contact Andrew Morton who maintains the -mm patches so he can rectify this. Thanks!
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-23 02:23:06 UTC
*** Bug 51880 has been marked as a duplicate of this bug. ***
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-23 02:24:55 UTC
sorry, i changed a wrong bug