2002-12-19 22:16:52

by mdew

[permalink] [raw]
Subject: Bug? undefined reference to `input_event'

in both the 2.5.52, and bitkeeper trees, i get this error with make
bzImage.


Generating include/linux/compile.h (updated)
gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=pentium3
-Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix
include -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o
init/version.o init/version.c
ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
init/do_mounts.o init/initramfs.o
ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o
--start-group usr/built-in.o arch/i386/kernel/built-in.o
arch/i386/mm/built-in.o arch/i386/mach-generic/built-in.o
kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o
security/built-in.o crypto/built-in.o lib/lib.a arch/i386/lib/lib.a
drivers/built-in.o sound/built-in.o arch/i386/pci/built-in.o
net/built-in.o --end-group -o .tmp_vmlinux1
drivers/built-in.o(.text+0x2663f): In function `kd_nosound':
: undefined reference to `input_event'
drivers/built-in.o(.text+0x26664): In function `kd_nosound':
: undefined reference to `input_event'
drivers/built-in.o(.text+0x26729): In function `kd_mksound':
: undefined reference to `input_event'
drivers/built-in.o(.text+0x27622): In function `kbd_bh':
: undefined reference to `input_event'
drivers/built-in.o(.text+0x27641): In function `kbd_bh':
: undefined reference to `input_event'
drivers/built-in.o(.text+0x27660): more undefined references to
`input_event' follow
drivers/built-in.o(.text+0x27b64): In function `kbd_connect':
: undefined reference to `input_open_device'
drivers/built-in.o(.text+0x27b8f): In function `kbd_disconnect':
: undefined reference to `input_close_device'
drivers/built-in.o(.init.text+0x54f1): In function `kbd_init':
: undefined reference to `input_register_handler'
make: *** [.tmp_vmlinux1] Error 1


Attachments:
.config (18.00 kB)

2002-12-19 23:29:57

by Bob Miller

[permalink] [raw]
Subject: Re: Bug? undefined reference to `input_event'

On Fri, Dec 20, 2002 at 11:22:09AM +1300, mdew wrote:
> in both the 2.5.52, and bitkeeper trees, i get this error with make
> bzImage.
>
>
> Generating include/linux/compile.h (updated)
> gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=pentium3
> -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix
> include -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o
> init/version.o init/version.c
> ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
> init/do_mounts.o init/initramfs.o
> ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o
> --start-group usr/built-in.o arch/i386/kernel/built-in.o
> arch/i386/mm/built-in.o arch/i386/mach-generic/built-in.o
> kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o
> security/built-in.o crypto/built-in.o lib/lib.a arch/i386/lib/lib.a

Stuff deleted...

> #
> # Input device support
> #
> CONFIG_INPUT=m
>
> #
> # Userland interfaces
> #
> CONFIG_INPUT_MOUSEDEV=m
> CONFIG_INPUT_MOUSEDEV_PSAUX=y
> CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
> CONFIG_INPUT_JOYDEV=m
> # CONFIG_INPUT_TSDEV is not set
> CONFIG_INPUT_EVDEV=m
> # CONFIG_INPUT_EVBUG is not set
>
> #
> # Input I/O drivers
> #
> # CONFIG_GAMEPORT is not set
> CONFIG_SOUND_GAMEPORT=y
> CONFIG_SERIO=y
> CONFIG_SERIO_I8042=y
> CONFIG_SERIO_SERPORT=y
> # CONFIG_SERIO_CT82C710 is not set
> # CONFIG_SERIO_PARKBD is not set
>
> #
> # Input Device Drivers
> #
> CONFIG_INPUT_KEYBOARD=y
> CONFIG_KEYBOARD_ATKBD=m
> # CONFIG_KEYBOARD_SUNKBD is not set
> # CONFIG_KEYBOARD_XTKBD is not set
> # CONFIG_KEYBOARD_NEWTON is not set
> # CONFIG_INPUT_MOUSE is not set
> # CONFIG_INPUT_JOYSTICK is not set
> # CONFIG_INPUT_TOUCHSCREEN is not set
> # CONFIG_INPUT_MISC is not set
>

CONFIG_INPUT and friends can NOT be configed as modules. They must be
built into the kernel.

--
Bob Miller Email: [email protected]
Open Source Development Lab Phone: 503.626.2455 Ext. 17

2002-12-19 23:39:13

by Justin Pryzby

[permalink] [raw]
Subject: Re: Bug? undefined reference to `input_event'

Is somebody keeping fixing, or at least keeping track of, these
configuration errors? I've seen a bunch of configuration problems, and
the typical response doesn't include a patch (which is fine, as long as
it ultimately gets fixed). If something can't be configured as a module,
then it shouldn't be possible to configure it as a module.

I can write patches for these things if someone gives me pointers for
how the 2.{4,5} kernel configuration stuff works.

Justin


On Thu, Dec 19, 2002 at 06:39:42PM -0500, Bob Miller wrote:
> On Fri, Dec 20, 2002 at 11:22:09AM +1300, mdew wrote:
> > in both the 2.5.52, and bitkeeper trees, i get this error with make
> > bzImage.
> >
> >
> > Generating include/linux/compile.h (updated)
> > gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > -pipe -mpreferred-stack-boundary=2 -march=pentium3
> > -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix
> > include -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o
> > init/version.o init/version.c
> > ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
> > init/do_mounts.o init/initramfs.o
> > ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s
> > arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o
> > --start-group usr/built-in.o arch/i386/kernel/built-in.o
> > arch/i386/mm/built-in.o arch/i386/mach-generic/built-in.o
> > kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o
> > security/built-in.o crypto/built-in.o lib/lib.a arch/i386/lib/lib.a
>
> Stuff deleted...
>
> > #
> > # Input device support
> > #
> > CONFIG_INPUT=m
> >
> > #
> > # Userland interfaces
> > #
> > CONFIG_INPUT_MOUSEDEV=m
> > CONFIG_INPUT_MOUSEDEV_PSAUX=y
> > CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> > CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
> > CONFIG_INPUT_JOYDEV=m
> > # CONFIG_INPUT_TSDEV is not set
> > CONFIG_INPUT_EVDEV=m
> > # CONFIG_INPUT_EVBUG is not set
> >
> > #
> > # Input I/O drivers
> > #
> > # CONFIG_GAMEPORT is not set
> > CONFIG_SOUND_GAMEPORT=y
> > CONFIG_SERIO=y
> > CONFIG_SERIO_I8042=y
> > CONFIG_SERIO_SERPORT=y
> > # CONFIG_SERIO_CT82C710 is not set
> > # CONFIG_SERIO_PARKBD is not set
> >
> > #
> > # Input Device Drivers
> > #
> > CONFIG_INPUT_KEYBOARD=y
> > CONFIG_KEYBOARD_ATKBD=m
> > # CONFIG_KEYBOARD_SUNKBD is not set
> > # CONFIG_KEYBOARD_XTKBD is not set
> > # CONFIG_KEYBOARD_NEWTON is not set
> > # CONFIG_INPUT_MOUSE is not set
> > # CONFIG_INPUT_JOYSTICK is not set
> > # CONFIG_INPUT_TOUCHSCREEN is not set
> > # CONFIG_INPUT_MISC is not set
> >
>
> CONFIG_INPUT and friends can NOT be configed as modules. They must be
> built into the kernel.
>
> --
> Bob Miller Email: [email protected]
> Open Source Development Lab Phone: 503.626.2455 Ext. 17
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2002-12-19 23:54:44

by Randy.Dunlap

[permalink] [raw]
Subject: Re: Bug? undefined reference to `input_event'

On Thu, 19 Dec 2002, Justin Pryzby wrote:

| Is somebody keeping fixing, or at least keeping track of, these
| configuration errors? I've seen a bunch of configuration problems, and
| the typical response doesn't include a patch (which is fine, as long as
| it ultimately gets fixed). If something can't be configured as a module,
| then it shouldn't be possible to configure it as a module.

That's what the kernel bugzilla is for.

http://bugzilla.kernel.org
or
http://bugme.osdl.org

And some of us are trying to address the issues.

| I can write patches for these things if someone gives me pointers for
| how the 2.{4,5} kernel configuration stuff works.
|
| > Stuff deleted...

--
~Randy

2002-12-20 18:03:30

by James Simmons

[permalink] [raw]
Subject: Re: Bug? undefined reference to `input_event'


> in both the 2.5.52, and bitkeeper trees, i get this error with make
> bzImage.

Ug. Not the VT input dependency bug again. There is a fix for that.
Vojtech do you want me to push those changes I pushed your way some time
ago?