From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitri Seletski Date: Wed, 05 Aug 2009 04:18:05 +0100 Subject: [ath9k-devel] still cant compile new code In-Reply-To: <43e72e890908041846u26a7bc32na1f87bd5b9a2e21a@mail.gmail.com> References: <4A74F979.50304@gmail.com> <4A786BDC.4000404@gmail.com> <20090804172726.GB7839@mosca> <4A787975.1090107@gmail.com> <43e72e890908041846u26a7bc32na1f87bd5b9a2e21a@mail.gmail.com> Message-ID: <4A78F9ED.2060803@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Luis R. Rodriguez wrote: > On Tue, Aug 4, 2009 at 11:09 AM, Dmitri Seletski wrote: > >> Hi guys. >> >> I have used git to download code >> Went into directory where code is. >> >> wireless-testing # make >> scripts/kconfig/conf -s arch/x86/Kconfig >> *** >> *** You have not yet configured your kernel! >> *** (missing kernel config file ".config") >> *** >> *** Please run some configurator (e.g. "make oldconfig" or >> *** "make menuconfig" or "make xconfig"). >> *** >> make[2]: *** [silentoldconfig] Error 1 >> make[1]: *** [silentoldconfig] Error 2 >> make: *** No rule to make target `include/config/auto.conf', needed by >> `include/config/kernel.release'. Stop. >> >> >> >> >> ls /usr/src/linux/.config >> /usr/src/linux/.config >> >> >> So looks like it is failing there again. let me know when its fixed so i >> could try again please >> > > wireless-testing is a git tree based on Linus Torval's own git tree > for Linux development. It contains the entire kernel. On top of Linus' > stuff are the patches being queued up for the wireless subsystem for > the next kernel release, in this case right now for 2.6.32. > > Compiling wireless-testing means compiling your own kernel. To compile > your own kernel you need to configure the kernel first. To do that you > can read the documentation on how to do that on README. A quick way > would be to cp your current kernel's .config to the > wireless-testing/.config and then run 'make menuconfig;' and exit. > That would then base your current kernel configuration based on your > distribution's kernel. The compile will take significantly long but > it'll be close to what your distribution has today. After you are done > configuring your kernel you run: > > make > sudo make modules_install install > > Now, the install target will only do the full job if your distribution > has an appropriate /sbin/installkernel. What I mean by doing a full > job I mean copying the kernel to /boot/ but also building the > initramfs for it, putting into /boot/ and updating your grub menu.lst > file. Fedora has an /sbin/installkernel file so you should be fine > with that. Ubuntu does't. I've sent a patch to add it but that patch > has been ignored. I'm attaching my /sbin/installkernel in case you > have Ubuntu. > > compat-wireless exists to help you just compile the wireless subsystem > from wireless-testing, even on older kernels. I suspect its easier for > you to just use compat-wireless than building your own kernel from > wireless-testing if you've never done that before. > > Anyway I've updated compat-wireless to reflect John's new updates on > wireless-testing. I've also added a new ./scripts/driver-select on > compat-wireless which lets you select the driver you want so you do > not have to compile all wireless drivers. > > In your case you can run: > > ./scripts/driver-select ath9k > > Run it with no arguments to get a list of supported stuff. > > Origin remote URL: > git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git > git-describe for wireless-testing.git says: v2.6.31-rc5-30113-gf1aa58f > This is a bleeding edge compat-wireless release based on: master-2009-08-04 > This is compat-release: master-2009-08-04-8-gd596eac > > Luis > HelloLuis, I am not using Ubuntu, in fact I am using Gentoo. I have downloaded that kernel, compiled it and installed it. Linux dimko 2.6.31-rc5-wl #1 SMP PREEMPT Wed Aug 5 03:12:10 IST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux Ihave installed ath9k as module from kernel(i guess there is no need to download anything else, is there?) I shall send another email with ongoing problem i have. Regards Dmitri