LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling emu10k1-v0.20a for kernel 2.6 (https://www.linuxquestions.org/questions/linux-software-2/compiling-emu10k1-v0-20a-for-kernel-2-6-a-452212/)

guze 06-06-2006 04:26 PM

Compiling emu10k1-v0.20a for kernel 2.6
 
Hi all,

Has anyone succeeded in compiling the emu10k1-v0.20a (OSS) module for 2.6?
It was well supported up to 2.4 but sadly not maintained beyond that. Nevertheless I heard some succeeded in compiling it for 2.6.
I had it compiled with kernel 2.4 (SuSE 8.2) and it worked great. Since moving to SuSE 10 I'm missing it dearly cause Alsa realy sucks big time.

Compilation is done by launching make twice.
I tried compiling it but get the following errors after the 2nd "make" :

In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:9,
from audio.c:34:
/usr/include/linux/jiffies.h:385:41: error: division by zero in #if
/usr/include/linux/jiffies.h:385:42: error: division by zero in #if
/usr/include/linux/jiffies.h:396:18: error: division by zero in #if
/usr/include/linux/jiffies.h:416:41: error: division by zero in #if
/usr/include/linux/jiffies.h:416:42: error: division by zero in #if
/usr/include/linux/jiffies.h:432:28: error: division by zero in #if
audio.c:42:27: error: linux/wrapper.h: No such file or directory

The wrapper.h file cannot be found under 2.6 so I copied the 2.4 version over
from my Suse 8.2 (does not contain kernel specific info by the looks of it)
but compilation fails further on.

Help would be much appreciated here.

Can anyone help?

Thanks,
Guy.

320mb 06-11-2006 09:42 PM

Quote:

Originally Posted by guze
Since moving to SuSE 10 I'm missing it dearly cause Alsa realy sucks big time.

ditto to that.......

I'm sorry to say that the 2.6x kernels will
break this sound driver. I have tried numerous times to get it to work, but it appears the driver source will need to be completly re-written so as to work with the 2.6 kernels......

I have yet to receive a response to my emails to the orginal author asking if he is going to re-write the source......

guze 06-12-2006 03:42 PM

Thanks for your input.

Quote:

I'm sorry to say that the 2.6x kernels will
break this sound driver. I have tried numerous times to get it to work, but it appears the driver source will need to be completly re-written so as to work with the 2.6 kernels......
Looks like it indeed.

Quote:

I have yet to receive a response to my emails to the orginal author asking if he is going to re-write the source......
Doesn't look good.

CU,
Guy.


All times are GMT -5. The time now is 12:52 PM.