Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problema compilazione alsa-driver-1.0.14_rc2-r1 [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
matty01
n00b
n00b


Joined: 16 Jul 2007
Posts: 2

PostPosted: Mon Jul 16, 2007 1:56 pm    Post subject: problema compilazione alsa-driver-1.0.14_rc2-r1 [Risolto] Reply with quote

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... :oops: :D


Last edited by matty01 on Tue Jul 17, 2007 8:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Mon Jul 16, 2007 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
matty01
n00b
n00b


Joined: 16 Jul 2007
Posts: 2

PostPosted: Tue Jul 17, 2007 8:58 am    Post subject: Reply with quote

Ora tutto funziona a dovere, grazie. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
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