View previous topic :: View next topic |
Author |
Message |
5xl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/15322633864244cf4589db9.jpg)
Joined: 08 Aug 2004 Posts: 27 Location: Gaithersburg, MD, US
|
Posted: Mon Nov 22, 2004 9:44 pm Post subject: Madwifi errors |
|
|
I have been lurking and have not seen this error:
Code: | make[2]: Entering directory `/usr/src/linux-2.6.7-gentoo-r11'
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath_hal/ah_osdep.o
LD [M] /var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath_hal/ath_hal.o Building modules, stage 2.
MODPOST
/bin/sh: scripts/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.7-gentoo-r11'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath_hal'
make: *** [all] Error 1
|
But then I look for modpost and I find this:
Code: | laptop ~ # locate modpost
/usr/src/linux-2.6.8-gentoo-r3/scripts/mod/modpost.c
/usr/src/linux-2.6.8-gentoo-r3/scripts/mod/modpost.h
/usr/src/linux-2.6.8-gentoo-r3/scripts/Makefile.modpost
/usr/src/linux-2.6.7-gentoo-r11/scripts/modpost.c
/usr/src/linux-2.6.7-gentoo-r11/scripts/modpost.h
/usr/src/linux-2.6.7-gentoo-r11/scripts/Makefile.modpost
|
What am I missing? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grant.mcdorman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/15579433263f8eb16ed225f.jpg)
Joined: 29 Jan 2003 Posts: 295 Location: Toronto, ON, Canada
|
Posted: Wed Nov 24, 2004 6:38 pm Post subject: |
|
|
Have you done a kernel build in the directory pointed to by /usr/src/linux? (I'm not a kernel build expert, but it appears modpost is built when the kernel is built.) |
|
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
|
|