On Tue, 11 Nov 2008, Takashi Iwai wrote:
At Sat, 8 Nov 2008 15:57:25 -0200 (BRDT),
Frédéric L. W. Meunier wrote:
I see "Add fmode_t definition for older kernels", but get
/usr/local/src/kernel/linux-2.6.27/sound/core/oss/pcm_oss.c: In function
'snd_pcm_oss_open_file':
/usr/local/src/kernel/linux-2.6.27/sound/core/oss/pcm_oss.c:2286: error:
'fmode_t' undeclared (first use in this function)
/usr/local/src/kernel/linux-2.6.27/sound/core/oss/pcm_oss.c:2286: error:
(Each undeclared identifier is reported only once
/usr/local/src/kernel/linux-2.6.27/sound/core/oss/pcm_oss.c:2286: error: for
each function it appears in.)
/usr/local/src/kernel/linux-2.6.27/sound/core/oss/pcm_oss.c:2286: error:
expected ';' before 'f_mode'
/usr/local/src/kernel/linux-2.6.27/sound/core/oss/pcm_oss.c:2295: error:
'f_mode' undeclared (first use in this function)
Is it supposed to build ?
Try my snapshot:
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
I got it to compile after adding "typedef unsigned int fmode_t;" to pcm_oss.c.
Is there anything wrong on my end ? It doesn't include adriver.h.
I'm not compiling using configure, but by replacing the ALSA tree in the
kernel.
I also get the "error: 'SW_LINEOUT_INSERT' undeclared (first use in this
function)" in jack.c.
I'll try with configure.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user