View previous topic :: View next topic |
Author |
Message |
drekka Tux's lil' helper
Joined: 06 Jul 2003 Posts: 111
|
Posted: Tue Jul 08, 2003 3:05 pm Post subject: Emerging KDE, ALSA compile fails |
|
|
Hi all,
Sound is working on my system (mp3Blaster works fine) as I compiled support for my nForce2 chipset into the kernel. However when I attempt to emerge kde-base/kde, it attempts to compile medi-sound/alsa-driver-0.9.2 and crashes with
!!!ERROR: media-sound/alsa-driver-0.9.2 failed.
!!!Function src_compile, line 59, Exitcode 2
!!!Parallel Make Failed.
Does anyone know what this means and how I can fix it ? or at least point me in the right direction.
Regards,
Derek. |
|
Back to top |
|
|
MarioCorleone Guru
Joined: 29 Jun 2003 Posts: 336
|
Posted: Tue Jul 08, 2003 5:12 pm Post subject: |
|
|
what kernel are you running? and you should probably try
so you get kde. you can also
Code: | emerge --pretend kde |
and see if alsa is in the portage tree for kde and if so you can exclude alsa when actually emergeing kde[/code] _________________ -Mario |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Tue Jul 08, 2003 8:19 pm Post subject: Re: Emerging KDE, ALSA compile fails |
|
|
drekka wrote: | Hi all,
Sound is working on my system (mp3Blaster works fine) as I compiled support for my nForce2 chipset into the kernel. However when I attempt to emerge kde-base/kde, it attempts to compile medi-sound/alsa-driver-0.9.2 and crashes with
!!!ERROR: media-sound/alsa-driver-0.9.2 failed.
!!!Function src_compile, line 59, Exitcode 2
!!!Parallel Make Failed.
Does anyone know what this means and how I can fix it ? or at least point me in the right direction.
Regards,
Derek. |
Add this flag to your make.conf
should do the trick... |
|
Back to top |
|
|
drekka Tux's lil' helper
Joined: 06 Jul 2003 Posts: 111
|
Posted: Thu Jul 10, 2003 2:06 pm Post subject: |
|
|
Yeup, -alsa did it. I only enabled it because I thought that alsa was the way things where going in the sound world. Meybe later |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Thu Jul 10, 2003 6:59 pm Post subject: |
|
|
drekka wrote: | Yeup, -alsa did it. I only enabled it because I thought that alsa was the way things where going in the sound world. Meybe later |
You don't necessarily need to setup alsa in your system... perhaps a simple OSS would do for you. Usually, if you have 2 speakers and a simle sound card, you don't really need alsa. I have a SBLive!5.1 with 5.1 speakers, so I _need_ alsa to make it work fully, more exactly my speakers, that requiere alsa if I want to use all of them. |
|
Back to top |
|
|
tholu n00b
Joined: 02 Aug 2003 Posts: 8
|
Posted: Sat Aug 02, 2003 9:12 am Post subject: Alsa compile problems |
|
|
Well, I have the same problem as Deathwing00. I've just re-installed gentoo with the 2.4.22-pre6-ac1 kernel. I use glibc version 2.3.2-r1 with gcc 3.2.3-r1. I have module support activated in my kernel config and have tried with alsa-driver 0.9.2, 0.9.5 and 0.9.6 but to no avail. Could the problem be in using the newest glibc version? Or is this a typical problem?
Note that I need alsa, so I have to get this to work somehow.
Thx in advance |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Sat Aug 02, 2003 9:33 am Post subject: Re: Alsa compile problems |
|
|
tholu wrote: | Well, I have the same problem as Deathwing00. I've just re-installed gentoo with the 2.4.22-pre6-ac1 kernel. I use glibc version 2.3.2-r1 with gcc 3.2.3-r1. I have module support activated in my kernel config and have tried with alsa-driver 0.9.2, 0.9.5 and 0.9.6 but to no avail. Could the problem be in using the newest glibc version? Or is this a typical problem?
Note that I need alsa, so I have to get this to work somehow.
Thx in advance |
First give detailed hardware specs. And second, 'no avail' means nothing, better explain the situation fully. |
|
Back to top |
|
|
tholu n00b
Joined: 02 Aug 2003 Posts: 8
|
Posted: Sat Aug 02, 2003 9:47 am Post subject: |
|
|
All righty then...
(Oh, maybe I should say that it wasn't you, Deathwing00, that had the same problem as myself. It was Drekka. Sorry for the mix-up.)
Hardware: An AMD kt266A-equipped motherboard but I use a ensonic 1370 soundcard instead of the built-in one.
When I tried to build the alsa-driver, I have both tried to set the env-variable ALSA_CARDS to ens1370 and not doing so. My problem is that I when I compile I get a similar message as Drekka:
Code: |
!!!ERROR: media-sound/alsa-driver-0.9.6 failed.
!!!Function src_compile, line 68, Exitcode 2
!!!Parallel Make Failed.
|
My suspicion is that the glibc may be too new for the alsa-driver, but I don't know how to change the version. Is it possible to emerge a parallel glibc and somehow redirect the compiler to use the old one instead? |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Sat Aug 02, 2003 9:48 am Post subject: |
|
|
Before we go on those things, and paste it here, I need to check some things. |
|
Back to top |
|
|
tholu n00b
Joined: 02 Aug 2003 Posts: 8
|
Posted: Sat Aug 02, 2003 10:03 am Post subject: |
|
|
Oh, maybe I should say that the actual gcc output seems to be:
Code: |
serialmidi.c: In function `open_tty´:
serialmidi.c:158: invalid operands to binary >
|
The actual code in the serialmidi.c is:
Code: |
if (tty->count > 1) {
|
The variable tty is a struct of the type tty_struct. I couldn't seem to find the typedef for that one, and my system is rather crippled at the moment so I don't know what to do with this. My guess is that the overloading of the '>' (greater than) operator may be somewhat strange or just incorrect. (Of course this couldn't be my fault, or could it? ) |
|
Back to top |
|
|
tholu n00b
Joined: 02 Aug 2003 Posts: 8
|
Posted: Sat Aug 02, 2003 10:05 am Post subject: |
|
|
Deathwing00 wrote: | Before we go on those things, and paste it here, I need to check some things. |
Could you please ask more specifically? I am writing this on another computer, so it is quite cumbersome to copy every line manually. |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Sat Aug 02, 2003 10:12 am Post subject: |
|
|
tholu wrote: | Deathwing00 wrote: | Before we go on those things, and paste it here, I need to check some things. |
Could you please ask more specifically? I am writing this on another computer, so it is quite cumbersome to copy every line manually. |
I need almost every line. Specially host related, flags related settings and also env. vars. |
|
Back to top |
|
|
tholu n00b
Joined: 02 Aug 2003 Posts: 8
|
Posted: Sat Aug 02, 2003 10:26 am Post subject: |
|
|
Ah, crap. Well, here goes...
Code: |
#emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
======================================
System uname: 2.4.22-pre6-ac1 i686 Athlon(tm) XP 1600+
GENTOO_MIRRORS=(skipping this one)
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="arts crypt imlib libwww mad mikmod ncurses nls slang svga xms2 gdbm berkdb tcpd motif -oss- cups -foomaticdb -gpm -libg++ alsa 3dnow acpt apm avi cdr dvd emacs encode evo gif gnome gtk gtk2 imap java jpeg kde ldap mmx mozilla mpeg mule oggvorbis opengl pam pda pdflib perl png python qt quicktime readline samba sdl spell sse ssl tetex tiff truetype wxwindows X xmms xv zlib x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC=...
FEATURES="sandbox ccache"
|
|
|
Back to top |
|
|
tholu n00b
Joined: 02 Aug 2003 Posts: 8
|
Posted: Sat Aug 02, 2003 10:47 am Post subject: SOLVED! |
|
|
Well I'd be damned. I tried to install alsa from the top (for about the third time or something) and now it works. Thx anyways for the tips Deathwing00, you're an angel for trying to help out. Or should I say Muchos gracias maybe? |
|
Back to top |
|
|
|