[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc version used to compile the kernel



Hi all
    How can I find the gcc version that was used to compile the kernel? I am 
running debian testing (etch) with

$uname -a
Linux kusumanchi 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686 
GNU/Linux


Why I need this:
    I am trying to install madwifi drivers to get the wireless working. The 
wireless chipset is

02:02.0 Ethernet controller: Atheros Communications, Inc. AR5211 802.11ab NIC 
(rev 01)

After I compiled the madwifi module by
sudo m-a update
sudo m-a prepare
sudo m-a a-i madwifi
sudo depmod -a

If I do
$modprobe ath_pci
WARNING: Error inserting ath_hal 
(/lib/modules/2.6.17-2-686/kernel/drivers/net/ath_hal.ko): Operation not 
permitted
WARNING: Error inserting ath_rate_sample 
(/lib/modules/2.6.17-2-686/kernel/drivers/net/ath_rate_sample.ko): Operation 
not permitted
FATAL: Error inserting ath_pci 
(/lib/modules/2.6.17-2-686/kernel/drivers/net/ath_pci.ko): Operation not 
permitted


I believe the errors are due to incorrect gcc versions used to compile the 
module and the kernel. I am using

$gcc --version
gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)

But I am not sure how to find the gcc version that is used to compile the 
linux-image-2.6.17-2-686 package. Any ideas?

thanks
raju



-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



Reply to: