At Tue, 25 May 2004 14:26:33 +0200 (METDST),
Clemens Ladisch wrote:
> > Please, report (especially compilation) problems.
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.26/kernel/sound/isa/wavefront/snd-wavefront.o
> depmod:         errno
> The open/close/read system calls are implemented as inline functions
> which change errno which isn't exported from the kernel.
> We could reintroduce the dummy definition of errno for older kernels,
> or use filp_* calls (like sound_firmware.c).

i guess sys_* functions are also not defined correctly on older
kernels.  they were open(), close(), read() with __KERNEL_SYSCALLS__.

how about to make a patch for old kernels to add the following?
(about line 1920 of wavefront_synth.c:)

#include <linux/unistd.h>
static int errno;
#define sys_open open
#define sys_close close
#define sys_read read
#include <linux/unistd.h>


This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
Alsa-devel mailing list

Reply via email to