Problems with 2.1.77

Michael H. Warfield (mhw@wittsend.com)
Sun, 4 Jan 1998 16:34:19 -0500 (EST)


I ran into the following problems attempting to compile version 2.1.77
with the same configuration I was able to compile 2.1.75 with... This was
a clean unpack of linux-2.1.77.tar.gz (not patching existing sources) and
was configured using make xconfig and reading in my previous .config file.

1) Could not set Kernel/User Netlink socket to Yes under xconfig.
Acts like is is disabled although it is not "greyed out". Setting it to
yes under "make config" appears to have no effect. Since I was not using
this under 2.1.75, I don't know if it was previously functional.

2) Unable to compile soundcard.c with "sound" option set to yes:

soundcard.c: In function `sound_notifier_chain_register':
soundcard.c:1252: warning: implicit declaration of function `notifier_chain_register'
soundcard.c:1259: dereferencing pointer to incomplete type

Critical problem seems to be the dereference of the notifier_block
structure...

Not sure where the problem is with this but it compiled just fine
under 2.1.75 and there is no change to that source file or to sound_syms.c
where it is also referenced...

Compiles without error with sound option set to "module".

3) Compiling sb_audio.c:

sb_audio_ioctl is not defined but referenced in several locations.

A diff against previous sources show that it was a stub function
returning -EIVAL. Function was removed but only one of the table references
to it was removed and changed to NULL. There are several others that also
need to be changed from sb_audio_ioctl to NULL.

Changing remaining sb_audio_ioctl references to NULL fixes compile.

Mike

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!