Re: [proaudio] alsa-driver

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Dominique Michel wrote:
Hi all,

I have some problems with the alsa-driver. I compiled a 2.6.19.1-rt15 kernel,
and when trying to merge the alsa-driver package for this kernel I get,

1) With alsa-headers and alsa-driver 1.0.14_rc1: the same result as on this bug
report: patching file usx2yhwdeppcm.c
make[3]: Leaving directory
`/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/usb/usx2y'
make[2]: Leaving directory
`/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/usb'
make[1]: Leaving directory
`/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1' make
-C /usr/src/linux
M=/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1
O=/usr/src/linux CPP="i686-pc-linux-gnu-gcc -E" CC="i686-pc-linux-gnu-gcc"
modules make[1]: Entering directory `/usr/src/linux-2.6.19-rt15' CC
[M]  /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/dummy.o
CC
[M]  /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/hwdep.o
In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/sound/driver.h:46,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/../alsa-kernel/drivers/dummy.c:21,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/dummy.c:1: /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:776:
error: static declaration of 'jiffies_to_msecs' follows non-static declaration
include/linux/jiffies.h:264: error: previous declaration of 'jiffies_to_msecs'
was
here /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:795:
error: static declaration of 'msecs_to_jiffies' follows non-static declaration
include/linux/jiffies.h:266: error: previous declaration of 'msecs_to_jiffies'
was here In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:892,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/sound/driver.h:46,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/../alsa-kernel/drivers/dummy.c:21,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/dummy.c:1:
include/linux/pci.h:512: error: expected identifier or '(' before numeric
constant In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/sound/driver.h:46,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/../alsa-kernel/drivers/dummy.c:21,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/dummy.c:1: /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:
In function
'snd_pci_orig_save_state': /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:1134:
error: too many arguments to function
'pci_save_state' /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:
In function
'snd_pci_orig_restore_state': /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:1138:
error: too many arguments to function 'pci_restore_state' make[4]: ***
[/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers/dummy.o]
Error 1 make[3]: ***
[/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/drivers]
Error 2 make[3]: *** Waiting for unfinished jobs.... CC
[M]  /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/memalloc.o
In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/sound/driver.h:46,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/hwdep.c:22: /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:776:
error: static declaration of 'jiffies_to_msecs' follows non-static declaration
include/linux/jiffies.h:264: error: previous declaration of 'jiffies_to_msecs'
was
here /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:795:
error: static declaration of 'msecs_to_jiffies' follows non-static declaration
include/linux/jiffies.h:266: error: previous declaration of 'msecs_to_jiffies'
was here In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:892,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/sound/driver.h:46,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/hwdep.c:22:
include/linux/pci.h:512: error: expected identifier or '(' before numeric
constant In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/sound/driver.h:46,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/hwdep.c:22: /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:
In function
'snd_pci_orig_save_state': /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:1134:
error: too many arguments to function
'pci_save_state' /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:
In function
'snd_pci_orig_restore_state': /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:1138:
error: too many arguments to function 'pci_restore_state' make[4]: ***
[/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/hwdep.o]
Error 1 make[4]: *** Waiting for unfinished jobs.... In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/memalloc.inc:13,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/memalloc.c:1: /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:776:
error: static declaration of 'jiffies_to_msecs' follows non-static declaration
include/linux/jiffies.h:264: error: previous declaration of 'jiffies_to_msecs'
was
here /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:795:
error: static declaration of 'msecs_to_jiffies' follows non-static declaration
include/linux/jiffies.h:266: error: previous declaration of 'msecs_to_jiffies'
was here In file included
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/memalloc.inc:13,
from /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/memalloc.c:1: /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:
In function
'snd_pci_orig_save_state': /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:1134:
error: too many arguments to function
'pci_save_state' /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:
In function
'snd_pci_orig_restore_state': /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/include/adriver.h:1138:
error: too many arguments to function 'pci_restore_state' make[4]: ***
[/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore/memalloc.o]
Error 1 make[3]: ***
[/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/acore]
Error 2 make[2]: ***
[_module_/var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1]
Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory
`/usr/src/linux-2.6.19-rt15' make: *** [compile] Error 2


2) With alsa-headers and alsa-driver 9999:
 * rsync
to /var/tmp/portage/alsa-driver-9999/work/alsa-driver ...
[ ok ]
 * hg pull -u http://hg.alsa-project.org/alsa-kernel ...
pulling from http://hg.alsa-project.org/alsa-kernel
searching for changes
no changes
found
[ ok ]
 * rsync
to /var/tmp/portage/alsa-driver-9999/work/alsa-driver/alsa-kernel ...
[ ok ]
 * Applying alsa-driver-1.0.10_rc1-include.patch ...

 * Failed Patch: alsa-driver-1.0.10_rc1-include.patch !
 *
( /usr/portage/media-sound/alsa-driver/files/alsa-driver-1.0.10_rc1-include.patch )
* * Include in your bugreport the contents of: * * /var/tmp/portage/alsa-driver-9999/temp/alsa-driver-1.0.10_rc1-include.patch-17466.out

This file show at epatch doesn't find the files to patch. So, I try to comment
out this patch from the ebuild, but get a compilation error at the very
beginning of the compilation.

Have someone succeeded to merge the alsa-driver with rt-sources-2.6.19-r15?
Is it some clue on how to solve this?

Cheers,
Dominique

does this also occur on a regular 2.6.19 kernel?



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/