View previous topic :: View next topic |
Author |
Message |
mbreith Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/106667950447a4ca32a8549.jpg)
Joined: 09 Mar 2006 Posts: 196
|
Posted: Thu Apr 03, 2008 11:41 pm Post subject: some external kernel modules fail to build |
|
|
I'm trying to upgrade to the 2.6.24-gentoo-r4 kernel from the 2.6.23-gentoo-r6 that I am running right now. The problem is that some of the external modules are failing to build against it. The madwifi driver and the alsa-driver are the ones that are causing problems.
I did change the /usr/src/linux symlink before doing the module-rebuild.
Here are the error messages that I am getting.
Quote: | >>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/work/madwifi-0.9.3.3 ...
Preparing ath_hal module
../scripts/get_arch.mk:44: *** ARCH mismatch: supplied "x86", determined "i386". Stop.
ERROR: net-wireless/madwifi-ng-0.9.3.3 failed.
Call stack:
ebuild.sh, line 49: Called src_compile
environment, line 3149: Called linux-mod_src_compile
environment, line 2398: Called die
The specific snippet of code:
eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
The die message:
Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KERNELPATH=/lib/modules/2.6.24-gentoo-r4/build all
If you need support, post the topmost build error, and the call stack if relevant. |
Quote: | make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4'
make: *** [compile] Error 2
ERROR: media-sound/alsa-driver-1.0.15 failed.
Call stack:
ebuild.sh, line 49: Called src_compile
environment, line 3909: Called die
The specific snippet of code:
emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed";
The die message:
Make Failed
If you need support, post the topmost build error, and the call stack if relevant. |
Both of these are working in the 2.6.23 kernel. I can even re-compile them (after I change the kernel symlink back).
Any idea what would cause these errors? I can post my .config if someone wants it, but it does take up a lot of room if it is not needed. _________________ I don't stat chatspeak acronyms. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jburns Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Jan 2007 Posts: 1227 Location: Massachusetts USA
|
Posted: Fri Apr 04, 2008 5:03 am Post subject: |
|
|
Replace the external alsa driver with the alsa driver that is in the kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mbreith Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/106667950447a4ca32a8549.jpg)
Joined: 09 Mar 2006 Posts: 196
|
Posted: Fri Apr 04, 2008 5:32 pm Post subject: |
|
|
Well, that might work for the sound card, but it won't do anything for the wireless network card.
It also doesn't explain why the drivers, which work fine on the earlier kernel, don't work with the new one. Did I set something up wrong? I know originally I had the ramdrive and tempfs options turned off. That made udev fail during boot. Slightly less than useful at that point. _________________ I don't stat chatspeak acronyms. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jquinte n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/7412059484639810cd28cd.jpg)
Joined: 01 May 2007 Posts: 74 Location: Berlin, Germany
|
Posted: Mon May 05, 2008 11:50 am Post subject: |
|
|
I think that you will find the solution here.
Good luck! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|