From alsa-devel-owner@alsa.jcu.cz  Mon Mar  8 14:45:02 1999
Received: from faui45.informatik.uni-erlangen.de (root@faui45.informatik.uni-erlangen.de [131.188.2.45] (may be forged))
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id OAA23700
	for <alsa-devel@alsa.jcu.cz>; Mon, 8 Mar 1999 14:39:00 +0100
Received: from servww1.ww.uni-erlangen.de (servww1.ww.uni-erlangen.de [131.188.142.2])
	by faui45.informatik.uni-erlangen.de (8.9.1/8.1.49-FAU) with SMTP id OAA07792
	for <alsa-devel%alsa.jcu.cz@faui45.informatik.uni-erlangen.de>; Mon, 8 Mar 1999 14:38:58 +0100 (MET)
Received: from hong.ww.uni-erlangen.de by ww.uni-erlangen.de with SMTP;
	id AA03097 (1.37.109.4/7.3m-FAU); Mon, 8 Mar 99 14:39:05 +0100
Message-Id: <9903081339.AA03097@servww1.ww.uni-erlangen.de>
Received: by hong (sSMTP sendmail emulation); Mon, 08 Mar 1999 14:40:22 +0100
From: "Takashi Iwai" <iwai@ww.uni-erlangen.de>
To: alsa-devel@alsa.jcu.cz
Subject: Re: ALSA OSS Sequencer Emulation and Modified Emu8k driver problems
In-Reply-To: <4.1.19990307195108.00926360@mail>
References: <Pine.LNX.4.04.9903080201370.988-100000@syrjala.pp.sci.fi>
	<4.1.19990307195108.00926360@mail>
Date: Mon, 08 Mar 1999 14:40:22 +0100
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

>>>>> On Sun, 07 Mar 1999 19:58:56 -0700, "I. Harold Oga"
<ogah@home.com> said: 

> On 05:24 PM 3/7/99 , Ville Syrjala spewed forth:
>> 
>> Could it be that your kernel is compiled with gcc 2.7.2.3 (??) and alsa
>> with egcs 1.1.1 and there is some incompatibility between the two.
> Hi,
>    Nope, because until I ran into this problem, I did not have gcc 2.7.2.3
> installed.  At the time this problem came up, I had only egcs 1.1.1 installed.
> Further to this, here's the combinations that I have got to work:

> - kernel compiled with gcc 2.7.2.3, alsa compiled with gcc 2.7.2.3
> - kernel compiled with egcs 1.1.1, alsa compiled with gcc 2.7.2.3

I suspect something around snd_malloc and snd_free.  Possibly, wrong
arguments are passed somewhere I've wrote..
How about replacing snd_malloc and snd_free with kmalloc and kfree?
(snd_calloc should be replaced, too.)

-- 
Takashi Iwai / iwai@ww.uni-erlangen.de
Department of Materials Science
Friedrich-Alexander-University Erlangen-Nuernberg

