2003-01-09 21:10:30

by Stephen Hemminger

[permalink] [raw]
Subject: Can't build sound drivers as modules (2.5.55)

When I try to install with sound as a configured module:

WARNING: /lib/modules/2.5.55/kernel/sound/soundcore.ko needs unknown
symbol
errno

This is new in 2.5.55, not sure where the missing bogus definition is.
It looks like soundcore.ko contains sound_firmware.o which is seems to
be more of an application than a driver (open/close)...


--
Stephen Hemminger <[email protected]>
Open Source Devlopment Lab




2003-01-10 06:46:58

by Mikael Pettersson

[permalink] [raw]
Subject: Re: Can't build sound drivers as modules (2.5.55)

Stephen Hemminger writes:
> When I try to install with sound as a configured module:
>
> WARNING: /lib/modules/2.5.55/kernel/sound/soundcore.ko needs unknown
> symbol
> errno
>
> This is new in 2.5.55, not sure where the missing bogus definition is.
> It looks like soundcore.ko contains sound_firmware.o which is seems to
> be more of an application than a driver (open/close)...

Someone removed the 'static int errno;' declaration in sound_firmware.c.
The sys calls it uses are apparently user-space versions with errno references.

The real fix is to delete the file altogether :-) Like the comments in it
say, firmware should be inserted by a user-space application.