Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Emerge ALSA
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)
View previous topic :: View next topic  
Author Message
macca75
n00b
n00b


Joined: 28 Dec 2005
Posts: 59

PostPosted: Tue Aug 15, 2006 1:48 pm    Post subject: [RISOLTO] Emerge ALSA Reply with quote

Ho letto la guida riguardante alsa ma non riesco ad emergere alsa-driver
Code:

emerge alsa-driver
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:1048: error: too many arguments to function `pci_save_state'
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h: In function `snd_pci_orig_restore_state':
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:1052: error: too many arguments to function `pci_restore_state'
make[4]: *** [/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/hwdep.o] Error 1
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r13'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.11 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  alsa-driver-1.0.11.ebuild, line 109:   Called die

Code:

emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 Unknown CPU Typ
Gentoo Base System version 1.6.15
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow MMX2 X alsa apm arts avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvdr eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts vorbis xinerama xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_it userland_GNU video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE=" MMX2 3dnow mmx sse -gnome -kde dvdr cdr alsa -ipv6 samba cups xinerama
xmms nvidia "
LINGUAS="it"
#LANG="it"
VIDEO_CARDS="nvidia vesa"
ALSA_CARDS="emu10k1"
#GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ "

Ho provato ad installare la versione più recente masked...ma niente.
Premetto che usando alsa integrata nel kernel funziona.
Ho voluto provare ad installare alsa driver perchè con doom 3 avevo dei disturbi audio.
Grazie in anticipo.
Ciao
Stefano


Last edited by macca75 on Wed Aug 16, 2006 11:54 am; edited 1 time in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Aug 15, 2006 2:30 pm    Post subject: Re: Emerge ALSA Reply with quote

macca75 wrote:
Ho letto la guida riguardante alsa ma non riesco ad emergere alsa-driver
[code]
emerge alsa-driver
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:1048: error: too many arguments to function `pci_save_state'
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h: In function `snd_pci_orig_restore_state':
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:1052: error: too many arguments to function `pci_restore_state'
make[4]: *** [/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/hwdep.o] Error 1


Sei sicuro che quello é il "topmost build error"?
Il kernel si trova un /usr/src/linux ?
_________________
Ciao da me!
Back to top
View user's profile Send private message
macca75
n00b
n00b


Joined: 28 Dec 2005
Posts: 59

PostPosted: Tue Aug 15, 2006 2:45 pm    Post subject: Reply with quote

Il kernel si trova un /usr/src/linux ?
Si
Sei sicuro che quello é il "topmost build error"?
Sorry......avevo saltato un'errore.
Code:

include/linux/pci.h:460: error: syntax error before numeric constant
In file included from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/sound/driver.h:47,
                 from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/hwdep.c:22:
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h: In function `snd_pci_orig_save_state':
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:1048: error: too many arguments to function `pci_save_state'
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h: In function `snd_pci_orig_restore_state':
/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:1052: error: too many arguments to function `pci_restore_state'
make[4]: *** [/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/hwdep.o] Error 1
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r13'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.11 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  alsa-driver-1.0.11.ebuild, line 109:   Called die

Ciao
Stefano
Back to top
View user's profile Send private message
macca75
n00b
n00b


Joined: 28 Dec 2005
Posts: 59

PostPosted: Wed Aug 16, 2006 11:52 am    Post subject: Reply with quote

Cercando su internet
Quote:
http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix#Kernel_2.6.16

ho trovato questo howto.
Ne copio una parte:
Quote:

Kernel 2.6.16

There is currently a problem with the alsa-driver package and kernel 2.6.16, either vanilla, Gentoo, or -ck. Please note that upgrading to ALSA 1.0.11_rc3 or newer should solve the problem for some. Yet for others, this option might create modules that cannot load into your new kernel. Be aware that as of right now, you should only run 2.6.16 with Alsa built into the kernel. 2.6.15 is recommended for anybody on the alsa-driver package until this problem is solved.

If you choose to compile Sound card Support directly into the kernel and have alsa-sound on video capture cards there may be problems starting with 2.6.16. (It worked for me in 2.6.15.) My system detects the TV card before the sound card as an alsa device. This makes the TV card the default sound card which results in no sound and causes many alsa utilites to fail. Compiling as modules [as in the 2.6.15 example above] solved this problem for me.

Quindi ho aggiornato il kernel dalla linux-2.6.16-gentoo-r13 alla 2.6.17-gentoo-r4.
Ho emerso alsa-driver senza problemi.
L'audio in doom sfruttando alsa è perfetto.
Ciao
Stefano
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Wed Aug 16, 2006 11:59 am    Post subject: Re: [RISOLTO] Emerge ALSA Reply with quote

che necessità c'è di usare alsa-driver?
usa il driver del kernel, no? sarà sicuramente più stabile
Back to top
View user's profile Send private message
macca75
n00b
n00b


Joined: 28 Dec 2005
Posts: 59

PostPosted: Wed Aug 16, 2006 12:35 pm    Post subject: Reply with quote

Quote:

che necessità c'è di usare alsa-driver?
usa il driver del kernel, no? sarà sicuramente più stabile

Usando i driver del kernel avevo dei disturbi audio con doom3.
Mentre con alsa-driver l'audio è perfetto.
Ciao
Stefano
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Aug 17, 2006 7:59 am    Post subject: Reply with quote

ma sono gli stessi... ?:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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