You need to install the kernel source rpm for whatever kernel you are using. Following that, there is a directory named /usr/src/linux-2.4 (which is or should be a symlink to the kernel you are currently using). Inside that directory is the actual source to the Linux kernel, which is mostly uninteresting in this case, execpt for the configs directory which contains a bunch of kernel-version-arch-other.config files. Pick the appropriate kernel config file (probably an i686 and not bigmem or smp) and copy it to /usr/src/linux-2.4/.config. This will work because /lib/modules/kernel-version/build is a symlink to the kernel directory that the modules were built for. That's your .config file that make is looking for and will solve the problem of building source against a specific kernel. Just to note, you would see the same issue if you build the wlan-ng drivers, or other such wireless stuff. Hope this helps. > > > -----Original Message----- > From: fedora-list-admin@xxxxxxxxxx > [mailto:fedora-list-admin@xxxxxxxxxx]On Behalf Of Ketchens, LeMarr T. > (RyTull) > Sent: Tuesday, January 06, 2004 3:35 PM > To: fedora-list@xxxxxxxxxx > Subject: RE: Sound Drivers > > > I searched the archives and could not find anything fitting. I'm trying > to > install the madwifi software for my wirleless pc card. I uncompressed the > tar file and then issued the "make" which is in the README file. What I > got > was this. I've played with the makefile.inc file, but I'm not getting any > positive results. > > [root@localhost madwifi-20030802]# make > Makefile.inc:98: /lib/modules/2.4.22-1.2115.nptl/build/.config: No such > file or directory > make: *** No rule to make target > `/lib/modules/2.4.22-1.2115.nptl/build/.config'. Stop. > [root@localhost madwifi-20030802]# > > > ---> Two things: > 1) You may find it more useful to change the subject line of your message > when you also change the subject. One might believe that this message is > about sound drivers, and not wifi cards. > > 2) This happened to me also, when I tried to build madwifi using a stock > kernel. When I built a newer kernel version from source, I had a ./config > file and was able to build properly. I don't know what to do when using a > stock kernel. For that matter, once I built the packages I still couldn't > get things to work. YMMV. > > -Don > > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list > -- Life is both difficult and time consuming. -- Pete