This looks a bit like bug #40030. I followed the clues there but it didn't help. I tried both 2.4.25-r9 and 2.4.26-r9 with the same crash: drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/net/wan/wan.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o \ net/network.o \ grsecurity/grsec.o \ /usr/src/linux-2.4.25-gentoo-r9/arch/i386/lib/lib.a /usr/src/linux-2.4.25-gentoo-r9/lib/lib.a /usr/src/linux-2.4.25-gentoo-r9/arch/i386/lib/lib.a \ --end-group \ -o vmlinux drivers/usb/usbdrv.o(.text+0x137a8): In function `hidinput_hid_event': : undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x13820): In function `hidinput_hid_event': : undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x13892): In function `hidinput_hid_event': : undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x138df): In function `hidinput_hid_event': : undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x13a89): In function `hidinput_connect': : undefined reference to `input_register_device' drivers/usb/usbdrv.o(.text+0x13b0f): In function `hidinput_connect': : undefined reference to `input_register_device' drivers/usb/usbdrv.o(.text+0x13c3c): In function `hidinput_disconnect': : undefined reference to `input_unregister_device' drivers/usb/usbdrv.o(.text+0x137d6): In function `hidinput_hid_event': : undefined reference to `input_event' make: *** [vmlinux] Error 1 I normally work with a 2.6 kernel but the ieee1394 drivers don't recognize my video camera. It works on another machine with a 2.4.20 kernel. Reproducible: Always Steps to Reproduce: 1.make menuconfig, make dep && make bzImage modules modules_install 2. 3. emerge info (from the running kernel, of course!): Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d acpi alsa arts avi berkdb bidi bindist bitmap-fonts bonobo bzlib cdr crypt cscope cups dga div4linux dvd encode esd exif fftw flac flash foomaticdb ftp gdbm gif ginac gnome gphoto2 gpm gtk gtk2 imagemagick imlib java jpeg ldap libg++ libwww mad mikmod ming motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png pnp python quicktime radeon readline samba sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype trusted unicode usb wmf x86 xinerama xml2 xmms xprint xv xvid zeo zlib"
same thing from 2.4.22-gentoo-r16 :-(
kernel-2.4.20-gentoo-r25 DOES compile successfully! none of the higher ones do. now that I recall, on my old RH9-PIII laptop installation, I never got a radhat kernel higher than 2.4.20 to recognize the USB mouse in addition to the touchpad. the compile seemed to work there, but the mouse certainly didn't. (I since switched the old one to gentoo as well.)
Please attach your kernel configuration on which the compile error occurs.
Created attachment 40943 [details] config for 2.4.25-gentoo-r9 kernel Sorry, I thought I'd attached it before.
Created attachment 40944 [details] config for 2.4.22-gentoo-r16 kernel Here is the config for the 2.4.22-gentoo-r16 kernel, which didn't work either.
Created attachment 40945 [details] config for successful 2.4.20-gentoo-r25 compile Last, the config for the successful 2.4.20-gentoo-r25 kernel compile. In fact I didn't get the USB mouse to work, but it's probably a matter of playing with the xorg.conf file. It works in 2.6.
Created attachment 40946 [details] config for successful 2.4.20-gentoo-r25 compile Last, the config for the successful 2.4.20-gentoo-r25 kernel compile. In fact I didn't get the USB mouse to work, but it's probably a matter of playing with the xorg.conf file. It works in 2.6.
Try CONFIG_INPUT_EVDEV=y...
not so good... I went to the 2.4.25 directory and remade the .config with EVDEV as module. (All the input core support was module.) I got the same crash exactly. Since then I've been trying all sorts of permutations, like configuring the input core built-in, but the make dep && make bzImage ends with: gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c make: *** No rule to make target `include/linux/autoconf.h', needed by `include/config/MARKER'. Stop. without compiling. I tried "make mrproper" and/or "make clean" (and recopied the .config) before the make dep. I tried emerging the latest 2.4.26-r9 and got the same crash. I'll attach my /etc/make.conf Could there be some incompatibilities lying around because I first built a 2.6 kernel?
Created attachment 40955 [details] /etc/make.conf
after looking on the forums... "downgrading" the processor type from Pentium IV (gcc>3.1) to Pentium IV lets the compile start proper. sadly, it ends in the original set of errors.
Mind trying vanilla-sources?
don't mind at all. the computer is in repair at the moment so it will take a bit longer than it ought to.
Please confirm if this issue exists with the same config on vanilla-sources - if it does, please file a bug at http://bugme.osdl.org; otherwise please reopen this bug. Thanks!
I had the same crash for vanilla-sources, 2.4.26 and 2.4.28, so I sent it to bugme as you asked (#3945). Thanks for your attention.
The issue was resolved by the kernel maintainers. I had the core input (CONFIG_INPUT) as module, but the USB_HID and USB_HID_INPUT flags as built-in. They appear on different pages in menuconfig. Once I set them all to built-in (or module) the compilation works fine. Thanks for your follow-ups.