View previous topic :: View next topic |
Author |
Message |
Joe_H n00b
Joined: 26 Feb 2004 Posts: 5 Location: Chicago
|
Posted: Thu Feb 26, 2004 7:01 pm Post subject: emerge alsa-driver-1.0.2c fails w/ amd64/x86_64 confusion |
|
|
On kernel 2.6.3, w/ sync'd portage tree, "emerge alsa-driver-1.0.2c" fails.
The following lines are the last few lines of the emerge command:
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.2c/work/alsa-driver-1.0.2c/usb'
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.2c/work/alsa-driver-1.0.2c'
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/alsa-driver-1.0.2c/work/alsa-driver-1.0.2c/kbuild modules
make[1]: Entering directory `/usr/src/linux-2.6.3-gentoo-r2'
Makefile:406: /usr/src/linux-2.6.3-gentoo-r2/arch/amd64/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.3-gentoo-r2/arch/amd64/Makefile'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.3-gentoo-r2'
make: *** [compile] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.2c failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! Parallel Make Failed
Of course, .../arch/amd64/Makefile doesn't exist!. It's arch/x86_64!
By the way, /usr/src/linux is what's used and it's symbolically linked as suggested above.
A couple of nights back, I was certain I'd found the root of the confusion. So I left it until morning. A power hit forced a reboot and now I cannot recall what I'd found.
What's the "proper" way to fix this for this and any other ebuild that fails for the same reason? |
|
Back to top |
|
|
wolf@zh n00b
Joined: 14 Feb 2003 Posts: 72
|
Posted: Fri Feb 27, 2004 9:31 am Post subject: |
|
|
ahhmm....why do you need alsa-driver? alsa is supposed to be in the kernel, no needs ro emerge alsa-driver, just alsa-utils... |
|
Back to top |
|
|
RockHound Tux's lil' helper
Joined: 11 Nov 2002 Posts: 112 Location: Hamburg, Germany
|
Posted: Fri Feb 27, 2004 11:54 am Post subject: |
|
|
Aren't the alsa-libs also needed? |
|
Back to top |
|
|
J.M.I.T. Guru
Joined: 15 Jan 2003 Posts: 481 Location: München, Germany
|
Posted: Fri Feb 27, 2004 12:04 pm Post subject: |
|
|
Yes... alsa-libs are needed and you can emerge alsa-utils too to get alsamixer, etc... but DON'T emerge alsa-driver as it's already integrated in the kernel... take a look at the section DeviceDrivers->Sound->ALSA when configuring the kernel. _________________ Get a life...
Use at own risk... |
|
Back to top |
|
|
|