On Wed, 2005-02-16 at 14:21 +0100, Tomas Nalevajko wrote: > On Wed, 16 Feb 2005, Wim De Smet wrote: > > > On Wed, 16 Feb 2005 13:35:35 +0100 (MET), Tomas Nalevajko > > <nalevajk@dcs.fmph.uniba.sk> wrote: > > > Hello there, > > > > > > I have problem compiling nvidia kernel module with kernel > > > 2.6.8-10-amd64-k8. architecture of my distro is i386 (dpkg > > > --print-architecture -> i386) but I have athlon64 processor. > > > > > > packages: > > > > > > ii kernel-image-2.6-amd64-k8 101 > > > ii kernel-image-2.6.8-10-amd64-k8 2.6.8-11 > > > > > > ii kernel-headers-2.6-amd64-k8 101 > > > ii kernel-headers-2.6.8-10 2.6.8-11 > > > ii kernel-headers-2.6.8-10-amd64-k8 2.6.8-11 > > > > > > ii amd64-libs 1.1 > > > ii amd64-libs-dev 1.1 > > > > > > ii nvidia-kernel-common 1.0.6629+1 > > > ii nvidia-kernel-source 1.0.6629+1-1 > > > > > > - if building with nvidia native installer, i've got > > > /var/log/nvidia-installer: > > > > > > /tmp/selfgz5590/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:1: > > > error: code model `kernel' not supported in the 32 bit mode > > > > > > - this is also error when building module using 'debian/rules > > > binary_modules' with > > > > > > KSRC=/usr/src/linux > > > KVERS=2.6.8-10-amd64-k8 > > > > > > - exporting CC='gcc -m64' does not help, it causes even more errors and > > > reference kernel headers, so i think this is not the way. > > > > > > - i also used module-assistant but with same error > > > > > > any idea? beside of switching to kernel for i386 arch > > > > > I found this: http://lists.debian.org/debian-amd64/2004/05/msg00187.html > > among other things. Perhaps you still have some userland 32 bit > > software that you need to switch over? Or you're compiling this > > running the wrong kernel or something... > > hmm, i'm using 32bit userland with 64bit kernel, i don't want to switch > to 64bit userland as you can see from my mail Ahhh HA! Try using the 64-bit userland tools which can co-exist with the 32-bit userland tools as well. I haven't tried to do the mixed mode setup, but based on others comments it is a doable thing. More Space and Bandwidth to get it this way. Of course, I am just starting to be in the 64-Bit stuff on *X86 but on the other 64-Bit platforms I use, it appears to work for me. -- greg, greg@gregfolkert.net The technology that is Stronger, better, faster: Linux
Attachment:
signature.asc
Description: This is a digitally signed message part