* [gentoo-user] Alsa build problem
@ 2006-03-28 10:11 Technomancer
2006-03-28 21:46 ` Richard Fish
0 siblings, 1 reply; 4+ messages in thread
From: Technomancer @ 2006-03-28 10:11 UTC (permalink / raw
To: gentoo-user
Hello guys! I'm having some trouble building alsa on my machine.
The alsa kernel driver builds fine, but I get many error messages when
alsasound tries to load the module and also a lot of error messages
when the service is stopped.
I tried to build the modules with alsa-driver (I have disabled the
alsa option in the kernel) but it fails to compile, with the following
error:
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-gentoo'
make: *** [compile] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.10-r2 failed.
!!! Function src_compile, Line 101, Exitcode 2
!!! Make Failed
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Alsa build problem
2006-03-28 10:11 [gentoo-user] Alsa build problem Technomancer
@ 2006-03-28 21:46 ` Richard Fish
2006-03-29 1:59 ` Technomancer
0 siblings, 1 reply; 4+ messages in thread
From: Richard Fish @ 2006-03-28 21:46 UTC (permalink / raw
To: gentoo-user
On 3/28/06, Technomancer <zauberschloss@gmail.com> wrote:
> Hello guys! I'm having some trouble building alsa on my machine.
>
> The alsa kernel driver builds fine, but I get many error messages when
> alsasound tries to load the module and also a lot of error messages
> when the service is stopped.
>
> I tried to build the modules with alsa-driver (I have disabled the
> alsa option in the kernel) but it fails to compile, with the following
> error:
>
> include/linux/pci.h:460: error: syntax error before numeric constant
I think we are going to need a few more preceding lines here.
Also, which kernel version are you trying to build against?
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Alsa build problem
2006-03-28 21:46 ` Richard Fish
@ 2006-03-29 1:59 ` Technomancer
2006-03-29 4:52 ` Richard Fish
0 siblings, 1 reply; 4+ messages in thread
From: Technomancer @ 2006-03-29 1:59 UTC (permalink / raw
To: gentoo-user
On 3/28/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 3/28/06, Technomancer <zauberschloss@gmail.com> wrote:
> > Hello guys! I'm having some trouble building alsa on my machine.
> >
> > The alsa kernel driver builds fine, but I get many error messages when
> > alsasound tries to load the module and also a lot of error messages
> > when the service is stopped.
> >
> > I tried to build the modules with alsa-driver (I have disabled the
> > alsa option in the kernel) but it fails to compile, with the following
> > error:
> >
> > include/linux/pci.h:460: error: syntax error before numeric constant
>
> I think we are going to need a few more preceding lines here.
>
> Also, which kernel version are you trying to build against?
>
> -Richard
>
> --
> gentoo-user@gentoo.org mailing list
>
>
Well... I was using 2.6.15-gentoo-r1 and upgraded to 2.6.16 hoping
this was bug in the Kernel version. The strange thing is that kernel
alsa works fine but the alsasound script reports errors. The
alsa-driver packages just fails to compile as I said.
The sound card is CMI 8738 and the motherboard is an old Asus TUV4X.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
uname -a output:
Linux tannhauser 2.6.16-gentoo #3 PREEMPT Tue Mar 28 21:38:05 BRT 2006
i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
make.conf:
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="mmx sse opengl nvidia glut fbcon svga acpi alsa esd usb nptl
nptlonly crypt ssl doc sdl directfb v4l qt xprint lm_sensors -kde -oss
-arts -gnome -gtk -gtk2 -eds -ipv6"
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Alsa build problem
2006-03-29 1:59 ` Technomancer
@ 2006-03-29 4:52 ` Richard Fish
0 siblings, 0 replies; 4+ messages in thread
From: Richard Fish @ 2006-03-29 4:52 UTC (permalink / raw
To: gentoo-user
> Well... I was using 2.6.15-gentoo-r1 and upgraded to 2.6.16 hoping
> this was bug in the Kernel version. The strange thing is that kernel
> alsa works fine but the alsasound script reports errors. The
> alsa-driver packages just fails to compile as I said.
But you didn't say enough. Is it looking at "include/linux/pci.h"
from /usr/src/linux, /usr, or someplace else? This is information
that should be in the preceding lines.
Actually the most useful part to look at would be the configure
output. You should see a line that starts with "./configure",
followed by a bunch of "checking for ..." lines.
Also, you might try alsa-driver-1.0.11_rc4. It is keyworded ~x86, but
should have lots of bug fixes over 1.0.10.
>
> The sound card is CMI 8738 and the motherboard is an old Asus TUV4X.
You will probably want to set ALSA_CARDS=cmi8330 in /etc/make.conf to
avoid building a bunch of drivers that you don't need.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-29 4:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28 10:11 [gentoo-user] Alsa build problem Technomancer
2006-03-28 21:46 ` Richard Fish
2006-03-29 1:59 ` Technomancer
2006-03-29 4:52 ` Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox