-
no rule to make target
I am trying to install Madwifi and had the dependency error so I am manually installing as per directions at
http://www.linuxquestions.org/questi...hreadid=163192
When I got to run make && make install I get
no rule to make target 'module' stop
I searched around and it said I need to recompile my kernel first :
If you've just installed a RedHat kernel package, have all of the correct symlinks, and it still won't work, then it could be because you don't have a built/configured kernel. To fix this problem cd into your kernel tree and build it as normal. [Note: previous driver incarnations did not require a built kernel tree, however recent versions (post Dec 2003) have used kbuild in the Makefile, which need to use some parts of the built kernel.]
What do I need to do when I recompile the kernel. I tried once, I ran make menuconfig, then saved it and ran make dep
Any ideas what to do next I am still getting the same errors
-
is /usr/src/linux a link to the kernel source?
-
that shouldn't matter as long as you are in the /usr/src/linux-versionnumber directory
I haven't cried like this since I paid for Godfather III --Fat Tony
Currently breaking:
Gentoo Stage 1 w/gentoo-dev-2.6.14-r2 kernel
FreeBSD 6.0
XP Pro, well thats already broken
-
Judging by the readme he posted
have used kbuild in the Makefile, which need to use some parts of the built kernel
it's probably doing the nono of looking in the source tree at /usr/src/linux
-
It also says in that thread you referenced......
If they complain about symbolic links, you need to recompile your kernel. Edit the .config file in your kernel source directory and look for the line CONFIG_MODVERSIONS= make sure it says ``n''. If it doesn't, change the ``y'' to ``n'' and recompile your kernel. Note; you only need to remake your image! ``make bzImage''. Copy it to the correct place and reboot Linux.
-
I did
If they complain about symbolic links, you need to recompile your kernel. Edit the .config file in your kernel source directory and look for the line CONFIG_MODVERSIONS= make sure it says ``n''. If it doesn't, change the ``y'' to ``n'' and recompile your kernel. Note; you only need to remake your image! ``make bzImage''. Copy it to the correct place and reboot Linux
I changed the file /usr/src/linux.2.4.22.1-i686/kernel-2.4.22....config
Is that the correct file, there was a few others in that directory
Now it says make bzImage. What is that and where do I copy it to
Edit
I found where to type in make bzImage now just wonder where I need to copy it too
Last edited by Taqwus; 05-17-2004 at 06:41 PM.
-
Here is a RH guide to compiling kernels. This will work for any RH pre-2.6 kernel.
http://www.redhat.com/docs/manuals/l...om-kernel.html
-
Is there any option I am supposed to be adding into the kernel all it really says is rebuild it, but it never says what to add to it
-
well I have compiled a new kernel (didnt know it took that long) and rebooted and I am still getting the same error. Also my USB mouse does not work
I did get it to run to a new error
/usr/bingcc: Command not found
*** [if_ath_module.o] Error 127
Sorry for all the questions, trying to fix this card in between installing sheetrock
Last edited by Taqwus; 05-17-2004 at 11:27 PM.
-
Originally posted by Taqwus
Is there any option I am supposed to be adding into the kernel all it really says is rebuild it, but it never says what to add to it
LOL.....we covered this in the first few post about changing your .config file before compiling.
Also my USB mouse does not work
Did you enable the USB options as a module when doing "xconfig"?
Last edited by JohnT; 05-17-2004 at 11:40 PM.
-
xconfig never loaded up correctly so I used menuconfig
I can glance through to see if the USB is not configured or is there a way to use the .config file from the working good kernel and just look for the changes
I really dont know what is worse hauling and installing sheetrock or configuring linux
-
Originally posted by Taqwus
xconfig never loaded up correctly so I used menuconfig
I can glance through to see if the USB is not configured or is there a way to use the .config file from the working good kernel and just look for the changes
I really dont know what is worse hauling and installing sheetrock or configuring linux
LOL...its a toss-up with overhead hanging.
These are minimum on my system for mouse.
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
CONFIG_USB_AIPTEK=m
CONFIG_USB_WACOM=m
#
#Here's whats loaded at boot (lsmod):
ppp_synctty 6016 0 (unused)
ppp_async 7520 1
ppp_generic 15452 3 [ppp_synctty ppp_async]
slhc 5040 0 [ppp_generic]
ipt_state 536 1 (autoclean)
ip_conntrack 18016 1 (autoclean) [ipt_state]
iptable_filter 1644 1 (autoclean)
ip_tables 11768 2 [ipt_state iptable_filter]
keybdev 1952 0 (unused)
mousedev 4212 1
hid 18596 0 (unused)
usbmouse 2008 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
8139too 15272 1
mii 2240 0 [8139too]
usb-ohci 18856 0 (unused)
ehci-hcd 14632 0 (unused)
usbcore 58144 1 [hid usbmouse usb-ohci ehci-hcd]
cmpci 24976 0
soundcore 3332 2 [cmpci]
ide-scsi 8048 0
apm 9608 2
ntfs
Last edited by JohnT; 05-18-2004 at 01:11 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|