Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.16 and ALSA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
TheNewb
Apprentice
Apprentice


Joined: 10 Jun 2005
Posts: 183

PostPosted: Tue Mar 21, 2006 5:27 am    Post subject: 2.6.16 and ALSA Reply with quote

I couldn't find any posts in the forums about this, there might be something on bugzilla by now... but just in case there isn't, here's what happens on my attempt to compile ALSA on an amd64:

Code:
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.10-r2 to /
>>> md5 files   ;-) alsa-driver-1.0.11_rc3.ebuild
>>> md5 files   ;-) alsa-driver-1.0.10-r2.ebuild
>>> md5 files   ;-) files/digest-alsa-driver-1.0.10-r2
>>> md5 files   ;-) files/alsa-driver-1.0.10-gfp-flags.patch
>>> md5 files   ;-) files/digest-alsa-driver-1.0.11_rc3
>>> md5 files   ;-) files/alsa-driver-1.0.10_rc1-include.patch
>>> md5 files   ;-) files/alsa-driver-1.0.10-oops.patch
>>> md5 src_uri ;-) alsa-driver-1.0.10.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16-gentoo
 * Checking for suitable kernel configuration options:


~snip~

Code:
make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10 O=/usr/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo'
  CC [M]  /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.o
In file included from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/sound/driver.h:42,
                 from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.c:22:
/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/adriver.h:676: error: redefinition of 'jiffies_to_msecs'
include/linux/jiffies.h:247: error: previous definition of 'jiffies_to_msecs' was here
/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/adriver.h:695: error: redefinition of 'msecs_to_jiffies'
include/linux/jiffies.h:269: error: previous definition of 'msecs_to_jiffies' was here
In file included from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/adriver.h:770,
                 from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/sound/driver.h:42,
                 from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.c:22:
include/linux/pci.h:460: error: parse error before numeric constant
make[4]: *** [/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.o] Error 1
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore] Error 2
make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo'
make: *** [compile] Error 2

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


Hope this helps!

Edit: Corrected code blocks.
_________________
#define struct union /* A Real space saver! :) */
Back to top
View user's profile Send private message
bMd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2004
Posts: 110

PostPosted: Tue Mar 21, 2006 8:12 pm    Post subject: Reply with quote

whats wrong with built-in alsa driver in kernel?
Back to top
View user's profile Send private message
TheNewb
Apprentice
Apprentice


Joined: 10 Jun 2005
Posts: 183

PostPosted: Tue Mar 21, 2006 11:13 pm    Post subject: Reply with quote

Nothing as far as I know. I haven't tried to build it in.

I swapped back to 2.6.14 for the meantime (2.6.15 doesn't get along with vmware...)
_________________
#define struct union /* A Real space saver! :) */
Back to top
View user's profile Send private message
mephist0
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2005
Posts: 94
Location: Germany, Frankfurt/Main

PostPosted: Tue Apr 18, 2006 4:05 pm    Post subject: Reply with quote

I got the same Problem with alsa-drivers

kernel 2.6.16.5

Code:

root@dampframme /home/acidcore # emerge alsa-driver
Calculating dependencies... done!
>>> Emerging (1 of 1) media-sound/alsa-driver-1.0.10-r2 to /
>>> checksums files   ;-) alsa-driver-1.0.11_rc3.ebuild
>>> checksums files   ;-) alsa-driver-1.0.10-r2.ebuild
>>> checksums files   ;-) alsa-driver-1.0.11_rc5.ebuild
>>> checksums files   ;-) alsa-driver-1.0.11_rc4.ebuild
>>> checksums files   ;-) files/alsa-driver-1.0.10_rc1-include.patch
>>> checksums files   ;-) files/alsa-driver-1.0.10-gfp-flags.patch
>>> checksums files   ;-) files/digest-alsa-driver-1.0.11_rc3
>>> checksums files   ;-) files/digest-alsa-driver-1.0.11_rc5
>>> checksums files   ;-) files/digest-alsa-driver-1.0.10-r2
>>> checksums files   ;-) files/alsa-driver-1.0.10-oops.patch
>>> checksums files   ;-) files/digest-alsa-driver-1.0.11_rc4
>>> checksums src_uri ;-) alsa-driver-1.0.10.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16.5
 * Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking alsa-driver-1.0.10.tar.bz2 to /var/tmp/portage/alsa-driver-1.0.10-r2/work
 * Applying alsa-driver-1.0.10_rc1-include.patch ...                                                                                                                 [ ok ]
 * Applying alsa-driver-1.0.10-oops.patch ...                                                                                                                        [ ok ]
 * Applying alsa-driver-1.0.10-gfp-flags.patch ...                                                                                                                   [ ok ]
 * Converting alsa-driver-1.0.10/Makefile to use M= instead of SUBDIRS= ...                                                                                          [ ok ]
>>> Source unpacked.


error message :

Code:

make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/usb/usx2y'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/usb'
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10'
make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10 O=/usr/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.16.5'
  CC [M]  /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.o
In file included from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/sound/driver.h:42,
                 from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.c:22:
/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/adriver.h:676: error: redefinition of 'jiffies_to_msecs'
include/linux/jiffies.h:247: error: previous definition of 'jiffies_to_msecs' was here
/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/adriver.h:695: error: redefinition of 'msecs_to_jiffies'
include/linux/jiffies.h:269: error: previous definition of 'msecs_to_jiffies' was here
In file included from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/adriver.h:770,
                 from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/include/sound/driver.h:42,
                 from /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.c:22:
include/linux/pci.h:460: error: syntax error before numeric constant
make[4]: *** [/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore/hwdep.o] Error 1
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/acore] Error 2
make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.5'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.10-r2 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  alsa-driver-1.0.10-r2.ebuild, line 101:   Called die

!!! Make Failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


_________________
There is only one God, and his name is Death. And there is only one thing we say to Death: 'Not today!'

Photography portfolio
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Tue Apr 18, 2006 4:13 pm    Post subject: Reply with quote

bMd wrote:
whats wrong with built-in alsa driver in kernel?
It doesn't work with some kernels. There's even a recomendation to use the media-sound/alsa-driver instead of the kernel version. (AFAIK, it is a recomendation from Gentoo dev(s), but I don't recall the package that recommends it).
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
dom_cyrus
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 102

PostPosted: Wed May 03, 2006 11:33 am    Post subject: Reply with quote

pjp wrote:
bMd wrote:
whats wrong with built-in alsa driver in kernel?
It doesn't work with some kernels. There's even a recomendation to use the media-sound/alsa-driver instead of the kernel version. (AFAIK, it is a recomendation from Gentoo dev(s), but I don't recall the package that recommends it).


I still have this problem, but I do NOT use the alsadrivers from the Kernel. I compiled the Kernel with Modular ALSA support. So I think there must be somewhere in the alsa-driver ebuild an error at least in the 64bit.
_________________
AMD X2 4400 || 2GB || NVIDIA 6600 || EMU10K1
Back to top
View user's profile Send private message
dom_cyrus
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 102

PostPosted: Thu May 04, 2006 9:57 am    Post subject: Reply with quote

Finally I got it working, if I use alsa-driver-1.0.11.
_________________
AMD X2 4400 || 2GB || NVIDIA 6600 || EMU10K1
Back to top
View user's profile Send private message
Cvken
n00b
n00b


Joined: 09 Oct 2005
Posts: 12

PostPosted: Wed Aug 02, 2006 7:53 pm    Post subject: Reply with quote

I got the same problem with all alsa-drivers in the tree :(

Code:
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/home/tuxmaster/OperaDownloads/alsa-driver-1.0.12rc1/pci/asihpi'
make[2]: *** [_sfdep_asihpi] Error 2
make[2]: Leaving directory `/home/tuxmaster/OperaDownloads/alsa-driver-1.0.12rc1/pci'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/tuxmaster/OperaDownloads/alsa-driver-1.0.12rc1'
make: *** [include/sndversions.h] Error 2

_________________
Gentoo (64 bits) AMD64 3200+, MSI K8N Neo4, 2048 Mb dual channel DDR Ram (2 pairs, 4 sticks), 160 Gb SATA, Geforce 6600GT
Yess fifth try and i made it ;) ... almost :s
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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