1.3.90

Peter Jones (thanatos@drealm.org)
Tue, 16 Apr 1996 20:55:33 +0100


1.3.90 in "whack every driver in sight in (apart from Watchdog,
which I don't understand...)" mode gives the following failure
to link the kernel.

>> drivers/char/char.a(misc.o): In function `proc_misc_read':
>> misc.c(.text+0x240): undefined reference to `psaux_init'
>> make: *** [vmlinux] Error 1

In misc.c we have:
199 #if defined CONFIG_PSMOUSE || defined CONFIG_82C710_MOUSE
200 psaux_init();
201 #endif

This is within a section surrounded by "#ifndef MODULE".

My .config has the following lines:
CONFIG_PSMOUSE=m
CONFIG_82C710_MOUSE=y

The Makefile in drivers/char doesn't reference CONFIG_82C710_MOUSE -
it appears to be a "specialisation" of the PSMOUSE. I _guess_ it
should simply not be tested in misc.c line 199. That gives the
following patch:

--- misc.c.orig Tue Apr 16 20:52:06 1996
+++ misc.c Tue Apr 16 20:52:18 1996
@@ -196,7 +196,7 @@
#ifdef CONFIG_BUSMOUSE
bus_mouse_init();
#endif
-#if defined CONFIG_PSMOUSE || defined CONFIG_82C710_MOUSE
+#if defined CONFIG_PSMOUSE
psaux_init();
#endif
#ifdef CONFIG_MS_BUSMOUSE

-- Peter

-- 
drealm Conference System - (+44) 181 568 2204 (V.34)
The home of drealmBBS ------- six lines -- live chat