View previous topic :: View next topic |
Author |
Message |
matty01 n00b
Joined: 16 Jul 2007 Posts: 2
|
Posted: Mon Jul 16, 2007 1:56 pm Post subject: problema compilazione alsa-driver-1.0.14_rc2-r1 [Risolto] |
|
|
Ciao a tutti, ho un problema dopo l'emerge world, non riesco a compilare alsa-driver-1.0.14_rc2-r1.
Utilizzo un kernel 2.6.21-gentoo-r4 compilato con il supporto audio ma senza alsa e oss (come da guida), ho riutilizzato il .config del precedente kernel in cui alsa funzionava correttamente.
Compilatore gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1)
Allego alcune parti del build.log
Code: | #cat build.log|grep error
include/linux/pci.h:543: error: expected identifier or '(' before numeric constant
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'
include/linux/pci.h:543: error: expected identifier or '(' before numeric constant
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'
include/linux/pci.h:543: error: expected identifier or '(' before numeric constant
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'
include/linux/pci.h:543: error: expected identifier or '(' before numeric constant
include/linux/pci.h:543: error: expected identifier or '(' before numeric constant
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'
|
Code: | make[5]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/pci/ac97/ac97_patch.o] Error 1
make[4]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/pci/ac97] Error 2
make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/pci] Error 2
make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21-gentoo-r4'
make: *** [compile] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.14_rc2-r1 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
alsa-driver-1.0.14_rc2-r1.ebuild, line 129: Called die
|
Attendo consigli...
Last edited by matty01 on Tue Jul 17, 2007 8:57 am; edited 1 time in total |
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Mon Jul 16, 2007 2:11 pm Post subject: |
|
|
Un consiglio:
http://www.gentoo.org/doc/it/alsa-guide.xml wrote: |
Le differenze tra alsa-driver e ALSA fornito dal kernel sono abbastanza sottili, come menzionato precedentemente. Dal momento che le differenze non sono enormi, per praticità si incoraggia a seguire in primo luogo la modalità di utilizzo di ALSA fornito dal kernel. Prima di riportare problemi relativi al suono in Gentoo Bugzilla, cercare di riprodurli usando alsa-driver, ed inserire i risultati nel report, qualunque siano gli esiti.
|
Fai un passo indietro e riprova con i driver ALSA del kernel.
N.B. Il futuro del pacchetto alsa-driver non è chiarissimo, pertanto, se non si è "avventurosi", la via migliore è quella appena accennata. _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
|
matty01 n00b
Joined: 16 Jul 2007 Posts: 2
|
Posted: Tue Jul 17, 2007 8:58 am Post subject: |
|
|
Ora tutto funziona a dovere, grazie. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|