All of lore.kernel.org
 help / color / mirror / Atom feed
* 1.0.5rc1 release
@ 2004-05-24 19:49 Jaroslav Kysela
  0 siblings, 0 replies; 6+ messages in thread
From: Jaroslav Kysela @ 2004-05-24 19:49 UTC (permalink / raw)
  To: ALSA development

Hi all,

	ALSA 1.0.5rc1 is out. Please, report (especially 
compilation) problems.

					Thanks,
						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 1.0.5rc1 release
@ 2004-05-25 12:26 Clemens Ladisch
  2004-05-25 12:41 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2004-05-25 12:26 UTC (permalink / raw)
  To: alsa-devel; +Cc: Jaroslav Kysela, Takashi Iwai

> 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).


Regards,
Clemens




-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 1.0.5rc1 release
  2004-05-25 12:26 1.0.5rc1 release Clemens Ladisch
@ 2004-05-25 12:41 ` Takashi Iwai
  2004-05-25 12:57   ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2004-05-25 12:41 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel, Jaroslav Kysela

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:)

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5)
#define __KERNEL_SYSCALLS__
#include <linux/unistd.h>
static int errno;
#define sys_open open
#define sys_close close
#define sys_read read
#else
#include <linux/unistd.h>
#endif


Takashi


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 1.0.5rc1 release
  2004-05-25 12:41 ` Takashi Iwai
@ 2004-05-25 12:57   ` Takashi Iwai
  2004-05-25 13:31     ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2004-05-25 12:57 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel, Jaroslav Kysela

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

At Tue, 25 May 2004 14:41:31 +0200,
I wrote:
> 
> 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__.

does the attached patch work?


Takashi

[-- Attachment #2: Type: text/plain, Size: 691 bytes --]

Index: alsa-driver/isa/wavefront/wavefront_synth.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-driver/isa/wavefront/wavefront_synth.c,v
retrieving revision 1.3
diff -u -r1.3 wavefront_synth.c
--- alsa-driver/isa/wavefront/wavefront_synth.c	24 Apr 2004 19:54:17 -0000	1.3
+++ alsa-driver/isa/wavefront/wavefront_synth.c	25 May 2004 12:55:43 -0000
@@ -5,6 +5,11 @@
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5)
 #define __KERNEL_SYSCALLS__
+#include <linux/unistd.h>
+#define sys_open open
+#define sys_close close
+#define sys_read read
+static int errno;
 #endif
 
 #include "../../alsa-kernel/isa/wavefront/wavefront_synth.c"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 1.0.5rc1 release
  2004-05-25 12:57   ` Takashi Iwai
@ 2004-05-25 13:31     ` Clemens Ladisch
  2004-05-25 18:09       ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2004-05-25 13:31 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Jaroslav Kysela

Takashi Iwai wrote:

> I wrote:
> >
> > Clemens Ladisch wrote:
> > >
> > > 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.
>
> does the attached patch work?

> +static int errno;

I don't have access to my Linux machine here, but I guess it does.

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

> +#define sys_open open
> +#define sys_close close
> +#define sys_read read

These definitions are already in alsa-driver/include/syscalls_26.h.


I'm going to test and apply this until tomorrow, but feel free to
apply it now if you want to release rc2 earlier. :)


Regards,
Clemens




-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 1.0.5rc1 release
  2004-05-25 13:31     ` Clemens Ladisch
@ 2004-05-25 18:09       ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2004-05-25 18:09 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel, Jaroslav Kysela

At Tue, 25 May 2004 15:31:43 +0200 (METDST),
Clemens Ladisch wrote:
> 
> Takashi Iwai wrote:
> 
> > I wrote:
> > >
> > > Clemens Ladisch wrote:
> > > >
> > > > 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.
> >
> > does the attached patch work?
> 
> > +static int errno;
> 
> I don't have access to my Linux machine here, but I guess it does.
> 
> > > i guess sys_* functions are also not defined correctly on older
> > > kernels.  they were open(), close(), read() with __KERNEL_SYSCALLS__.
> 
> > +#define sys_open open
> > +#define sys_close close
> > +#define sys_read read
> 
> These definitions are already in alsa-driver/include/syscalls_26.h.

ok, thanks.

> I'm going to test and apply this until tomorrow, but feel free to
> apply it now if you want to release rc2 earlier. :)

the patch was already committed to cvs.


Takashi


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-25 18:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25 12:26 1.0.5rc1 release Clemens Ladisch
2004-05-25 12:41 ` Takashi Iwai
2004-05-25 12:57   ` Takashi Iwai
2004-05-25 13:31     ` Clemens Ladisch
2004-05-25 18:09       ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-05-24 19:49 Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.