Compile-Failure Kernel 2.5.64-pa4
Hi there,
I tried to compiled the newest kernel from CVS. After "make distclean" and "make oldconfig", "make vmlinux" stops with the following error:
make -f scripts/Makefile.build obj=drivers/input/misc
gcc -Wp,-MD,drivers/input/misc/.gsc_ps2.o.d -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1 -mschedule=7100LC -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=gsc_ps2 -DKBUILD_MODNAME=gsc_ps2 -c -o drivers/input/misc/gsc_ps2.o drivers/input/misc/gsc_ps2.cdrivers/input/misc/gsc_ps2.c:59:27: linux/pc_keyb.h: Datei oder Verzeichnis nicht gefunden drivers/input/misc/gsc_ps2.c:345:40: macro "input_regs" requires 2 arguments, but only 1 given drivers/input/misc/gsc_ps2.c: In function `gscps2_kbd_docode':drivers/input/misc/gsc_ps2.c:345: `input_regs' undeclared (first use in this function) drivers/input/misc/gsc_ps2.c:345: (Each undeclared identifier is reported only once drivers/input/misc/gsc_ps2.c:345: for each function it appears in.) drivers/input/misc/gsc_ps2.c:392:32: macro "input_regs" requires 2 arguments, but only 1 given drivers/input/misc/gsc_ps2.c: In function `gscps2_mouse_docode':drivers/input/misc/gsc_ps2.c:392: input_regs' undeclared (first use in this function) drivers/input/misc/gsc_ps2.c: In function gscps2_hpkeyb_event':drivers/input/misc/gsc_ps2.c:454: KBD_CMD_SET_LEDS' undeclared (first use in this function) drivers/input/misc/gsc_ps2.c:471: KBD_CMD_ENABLE' undeclared (first use in this function) drivers/input/misc/gsc_ps2.c: In function `gscps2_kbd_probe':drivers/input/misc/gsc_ps2.c:501: KBD_CMD_SET_LEDS' undeclared (first use in this function) drivers/input/misc/gsc_ps2.c:503: KBD_CMD_ENABLE' undeclared (first use in this function) drivers/input/misc/gsc_ps2.c: In function `gscps2_mouse_probe':drivers/input/misc/gsc_ps2.c:561: AUX_ENABLE_DEV' undeclared (first use in this function) drivers/input/misc/gsc_ps2.c: In function gscps2_probe':drivers/input/misc/gsc_ps2.c:584: warning: `ret' might be used uninitialized in this function make[3]: *** [drivers/input/misc/gsc_ps2.o] Fehler 1
make[2]: *** [drivers/input/misc] Fehler 2
make[1]: *** [drivers/input] Fehler 2
make: *** [drivers] Fehler 2
ruediger@gandalf:/usr/src/linux-2.5$
Can I delete the line, which includes "linux/pc_keyb" or how can I avoid this error?
TIA, Rüdiger
that's 2.5, aka _development_ kernel, and the keyboard driver is=20 b0rken. There'll be a fix soon, please be patient; but unless you want=20=
to contribute to 2.5, you don't want to use it.
Anyway, if your box boots using serial console, you don't need that=20 driver.
Thibaut VARENE
The PA/Linux ESIEE Team
http://pateam.esiee.fr/
Le mercredi, 12 mar 2003, =E0 14:52 Europe/Paris, R=FCdiger Scholz a = =E9crit :
Quoted 70 lines
Hi there,
I tried to compiled the newest kernel from CVS. After "make distclean"=20=
and "make oldconfig", "make vmlinux" stops with the following error:
make -f
scripts/Makefile.buildobj=3Ddrivers/input/misc
gcc -Wp,-MD,drivers/input/misc/.gsc_ps2.o.d -D__KERNEL__ -Iinclude=20(quoted diff) +0
-5-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing=20 -fno-common -pipe -mno-space-regs -mfast-indirect-calls=20 -mdisable-fpregs -ffunction-sections -march=3D1.1 -mschedule=3D7100LC=20= -fomit-frame-pointer -nostdinc -iwithprefix include =20 -DKBUILD_BASENAME=3Dgsc_ps2 -DKBUILD_MODNAME=3Dgsc_ps2 -c -o=20
drivers/input/misc/gsc_ps2.odrivers/input/misc/gsc_ps2.cdrivers/input/misc/gsc_ps2.c:59:27:linux/pc_keyb.h: Datei oder=20 Verzeichnis nicht gefundendrivers/input/misc/gsc_ps2.c:345:40: macro "input_regs" requires 2=20 arguments, but only 1 givendrivers/input/misc/gsc_ps2.c: In function `gscps2_kbd_docode':drivers/input/misc/gsc_ps2.c:345: `input_regs' undeclared (first use=20=in this function)
drivers/input/misc/gsc_ps2.c:345: (Each undeclared identifier is=20 reported only oncedrivers/input/misc/gsc_ps2.c:345: for each function it appears in.)drivers/input/misc/gsc_ps2.c:392:32: macro "input_regs" requires 2=20 arguments, but only 1 givendrivers/input/misc/gsc_ps2.c: In function `gscps2_mouse_docode':drivers/input/misc/gsc_ps2.c:392: `input_regs' undeclared (first use=20=in this function)
drivers/input/misc/gsc_ps2.c: In function `gscps2_hpkeyb_event':drivers/input/misc/gsc_ps2.c:454: `KBD_CMD_SET_LEDS' undeclared (first=20=use in this function)
drivers/input/misc/gsc_ps2.c:471: `KBD_CMD_ENABLE' undeclared (first=20=use in this function)
drivers/input/misc/gsc_ps2.c: In function `gscps2_kbd_probe':drivers/input/misc/gsc_ps2.c:501: `KBD_CMD_SET_LEDS' undeclared (first=20=use in this function)
drivers/input/misc/gsc_ps2.c:503: `KBD_CMD_ENABLE' undeclared (first=20=use in this function)
drivers/input/misc/gsc_ps2.c: In function `gscps2_mouse_probe':drivers/input/misc/gsc_ps2.c:561: `AUX_ENABLE_DEV' undeclared (first=20=use in this function)
drivers/input/misc/gsc_ps2.c: In function `gscps2_probe':drivers/input/misc/gsc_ps2.c:584: warning: `ret' might be used=20 uninitialized in this function
make[3]: *** [drivers/input/misc/gsc_ps2.o] Fehler 1 make[2]: *** [drivers/input/misc] Fehler 2
make[1]: *** [drivers/input] Fehler 2
make: *** [drivers] Fehler 2 ruediger@gandalf:/usr/src/linux-2.5$Can I delete the line, which includes "linux/pc_keyb" or how can I=20 avoid this error?
TIA, R=FCdiger
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux