[64studio-devel] Missing "asm-x86_64/tsc.h" file in kernel headers 2.6.19 i386
Brad Powell
bapowell at sbcglobal.net
Mon Feb 26 17:18:40 UTC 2007
Free,
You are correct in that it appears I compiled the module with gcc-4.1, as that is what /usr/bin/gcc points to. However, I do not have gcc-4.0 installed on my system (a stock install of 64Studio 1.0.0 i386). Furthermore, I cannot find gcc-4.0 available as a package to install from the 64Studio or Debian stable/testing/unstable repositories. Am I missing something?
Thank you for your assistance,
Brad
----- Original Message ----
From: Free Ekanayaka <free at 64studio.com>
To: Brad Powell <bapowell at sbcglobal.net>
Cc: 64studio-devel at 64studio.com
Sent: Monday, February 26, 2007 3:51:59 AM
Subject: Re: Missing "asm-x86_64/tsc.h" file in kernel headers 2.6.19 i386
|--==> Brad Powell writes:
BP> Out of curiousity, I installed 64Studio v1.0.0 from scratch and
BP> tried building the rt2570 driver using the original 2.6.17
BP> kernel. It actually built just fine, but when I try to
BP> "modprobe" it, I get the following error: FATAL: Error inserting
BP> rt2570
BP> (/lib/modules/2.6.17-2-multimedia-486/kernel/drivers/net/wireless/rt2570.ko):
BP> Invalid module format
BP> The kernel output from dmesg shows:
BP> rt2570: version magic '2.6.17-2-multimedia-486 preempt
BP> mod_unload 486 gcc-4.1' should be '2.6.17-2-multimedia-486
BP> preempt mod_unload 486 gcc-4.0'rt2570: no version for
BP> "struct_module" found: kernel tainted. rt2570: no version
BP> magic, tainting kernel. rt2570: Unknown symbol
BP> there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
BP> Any ideas on how I might be able to fix this?
It seems that the problem is that you are compiling with gcc-4.1
instead of gcc-4.0. Please check this:
ls -l /usr/bin/gcc
it should point to /usr/bin/gcc-4.0, if not please replace the
link. Let me know, ciao!
Free
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.64studio.com/pipermail/64studio-devel/attachments/20070226/60c31d58/attachment.htm
More information about the 64studio-devel
mailing list