View previous topic :: View next topic |
Author |
Message |
j3rm Tux's lil' helper
Joined: 19 Jun 2002 Posts: 148 Location: Tennessee
|
Posted: Fri Jun 13, 2003 4:02 pm Post subject: usb kernel pains |
|
|
i'm trying to recompile my kernel to include hid usb support so i can use my joystick, but when i try to compile i get these errors after a few minutes:
Code: |
ld -m elf_i386 -T /usr/src/linux-2.4.20-gentoo-r5/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.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 \
net/network.o \
grsecurity/grsec.o \
crypto/crypto.o \
/usr/src/linux-2.4.20-gentoo-r5/arch/i386/lib/lib.a /usr/src/linux-2.4.20-gentoo-r5/lib/lib.a /usr/src/linux-2.4.20-gentoo-r5/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/usb/usbdrv.o(.text+0x13e8d): In function `hidinput_hid_event':
: undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x13f0a): In function `hidinput_hid_event':
: undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x13f61): In function `hidinput_hid_event':
: undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x13fdd): In function `hidinput_hid_event':
: undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x141f8): In function `hidinput_connect':
: undefined reference to `input_register_device'
drivers/usb/usbdrv.o(.text+0x13ecd): In function `hidinput_hid_event':
: undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x14219): In function `hidinput_disconnect':
: undefined reference to `input_unregister_device'
make: *** [vmlinux] Error 1
|
i've tried doing a make mrproper and then recompiling with make dep then make bzImage modules modules_install to no avail. any ideas? _________________ "We can't run from who we are, our destiny chooses us."
-- Professor Petrovsky ("Rounders") |
|
Back to top |
|
|
Pindrop Apprentice
Joined: 09 Jul 2002 Posts: 165 Location: Virginia, USA
|
Posted: Fri Jun 13, 2003 4:53 pm Post subject: |
|
|
Shouldn't it be 'make clean bzImage modules modules_install' or did you just forget that in the post? |
|
Back to top |
|
|
j3rm Tux's lil' helper
Joined: 19 Jun 2002 Posts: 148 Location: Tennessee
|
Posted: Fri Jun 13, 2003 7:08 pm Post subject: |
|
|
i've done it without the 'clean' part in the beginning many times with no problem. i'll try doing a clean first anyway. _________________ "We can't run from who we are, our destiny chooses us."
-- Professor Petrovsky ("Rounders") |
|
Back to top |
|
|
j3rm Tux's lil' helper
Joined: 19 Jun 2002 Posts: 148 Location: Tennessee
|
Posted: Fri Jun 13, 2003 7:25 pm Post subject: |
|
|
tried it, still a no go. getting the same errors as before. _________________ "We can't run from who we are, our destiny chooses us."
-- Professor Petrovsky ("Rounders") |
|
Back to top |
|
|
|