[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx <proaudio@xxxxxxxxxxxxxxxxxxx>
- Subject: [proaudio] alsa-driver
- From: Dominique Michel <dominique.michel@xxxxxxxxxxxx>
- Date: Mon, 18 Dec 2006 22:18:22 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXy8ubtkoXo7+b1+fbN cGKCeWDtamweFA8eMkmKPkPtvcWRoqyV0Pn7AAACbElEQVQ4jXXTMWvbQBQA4MOlizsdXEXp KAi09mKcLZ0EJxONDRJVkikg9AtqTm63gtHDmVJs1GsnC0JiaTMJGN2f67uzznJb+gZj9PFO 7717IqdtvCAmem4bxMLp/2BEyEBF1+U/0H8uhI6rv+BVLNrY/gH9T0L8yAxk2yMY3YuZxDCn TY/gpBByyTGktIcZOIvFjPNJmqYJDwrx3cIoBrE0zzG4FF8tfBAwM+DonKCYWjgROZ6Upjcm 5Qje58JAmlKKGfIAjzaDUuogZBY2Bjg14eDbywMIqZvwqgqFBcVFB0seYONLb00ZZlh4p0F6 FHNoUMyKAzxowJSQTyj+XloYs3MN3GeMpzyYSTMshLM00ODpWlPp4SDbqs4cViDcGAgmlK/a PsaOg7DvIQ3wzANMqB/iQW/XTkoTLO6XhSeHUoQKe+NLjyY/Ldx7CW2D4WTYhZ3V0GP64RpP Q/E66IUWMLj3+nDn4w2ejMACyXFeHZy6ETcZehc49bv1GQ/0bazNuzm97mDkhnoie9i30WYM w/YCnYT7Fx308s98n0IT//Jod1+aOzdzYXLVbftol+PC+REG3u+0AxdEtuSMB6G+DLGwMH4E vXGmJn8VCLM9LhmrOAMQYt5Wi/DFgIC52iFkUzMpDVmjAaDZRGC+JGwDqzJ/G5fUUcWZAaE7 YfvPLYtIU1Wb4A2IeS7uDMgcIFutiCr766qGfKHyuxvTIERKXVNSN27lDgCuBuojlpxIyJV6 ritS1uWWuHF2Ww7qcIKbqEFVNbmtmm3vGSCHbVXjikrY3SpVxwQWw2aIjwG+ueXTJDmHeK6a HfwGyU5ZSlGeSRQAAAAASUVORK5CYII=
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