Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge alsa-drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
smartidiotaz
n00b
n00b


Joined: 07 Apr 2005
Posts: 3

PostPosted: Thu Apr 07, 2005 2:29 pm    Post subject: Emerge alsa-drivers Reply with quote

I have gentoo mostly running but ran into an issue with the alsa-drivers. I get these error messages.

Code:

/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore/memalloc.c: In function `snd_pci_hack_alloc_consistent':
/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore/memalloc.c:109:error: structure has no member named `consistent_dma_mask'
/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore/memalloc.c:117:error: structure has no member named `consistent_dma_mask'
/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore/memalloc.c:122:error: structure has no member named `consistent_dma_mask'
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../acore/memalloc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/ac97/ac97_codec.o
make[2]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../acore] Error 2
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/ac97/ac97_pcm.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/ac97/ac97_proc.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/ac97/ac97_patch.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emu10k1_synth.o
  LD [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/ac97/snd-ac97-codec.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emu10k1_callback.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emu10k1_patch.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emu10k1_main.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emu10k1.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/irq.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/memory.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/voice.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emumpu401.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emupcm.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/io.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emuproc.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emumixer.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/emufx.o
  LD [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/snd-emu10k1-synth.o
  LD [M]  /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../pci/emu10k1/snd-emu10k1.o
make[1]: *** [_module_/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/temp/linux'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.3 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! Parallel Make Failed
!!! If you need support, post the topmost build error, NOT this status message.


Can anyone help me with this? I know I can build the driver in the 2.6 kernel, but the Gentoo Handbook suggests using alsa-driver as it has been updated.
http://www.gentoo.org/doc/en/alsa-guide.xml#doc_chap2

Thanks.
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Thu Apr 07, 2005 2:36 pm    Post subject: Reply with quote

I'd say this guide is out of date.
The actual considered stable gentoo-sources is 2.6.11-gentoo-r5 and they contain alsa-driver 1.08.
From the output you provided I take it you have an older installation or not done done a "emerge sync" for some time?
Back to top
View user's profile Send private message
smartidiotaz
n00b
n00b


Joined: 07 Apr 2005
Posts: 3

PostPosted: Thu Apr 07, 2005 2:39 pm    Post subject: Reply with quote

inode77 wrote:
I'd say this guide is out of date.
The actual considered stable gentoo-sources is 2.6.11-gentoo-r5 and they contain alsa-driver 1.08.
From the output you provided I take it you have an older installation or not done done a "emerge sync" for some time?


Nope. I do an emerge --sync nightly. The kernel I have been using is linux-2.6.11-gentoo-r4. Guess I did not get the newer one.
I will just build with the kernel driver then.

Why did you think I had an older install?

Thanks.
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Thu Apr 07, 2005 2:44 pm    Post subject: Reply with quote

Cos if I try to emerge the alsa-driver package my system suggests to install 1.08 not 1.03.
Code:
emerge -pv alsa-driver

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/alsa-driver-1.0.8  -debug -doc +oss 0 kB

Total size of downloads: 0 kB


And as long you're using a 2.6.11 the r4 or r5 does not change much.
Back to top
View user's profile Send private message
smartidiotaz
n00b
n00b


Joined: 07 Apr 2005
Posts: 3

PostPosted: Thu Apr 07, 2005 2:47 pm    Post subject: Reply with quote

inode77 wrote:
Cos if I try to emerge the alsa-driver package my system suggests to install 1.08 not 1.03.
Code:
emerge -pv alsa-driver

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/alsa-driver-1.0.8  -debug -doc +oss 0 kB

Total size of downloads: 0 kB


And as long you're using a 2.6.11 the r4 or r5 does not change much.


Alright, thanks for the help. I had some packages in my /usr/portage/package.keywords file that were blocking the newst version. I will try getting the drivers to work when I get home tonight.

Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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