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

Re: Compiling third-party kernel modules for amd64 kernel on Debian/386



Xavier Bestel <xavier.bestel@free.fr> writes:

> On Fri, 2005-07-22 at 11:59, Jo Shields wrote:
>> I've personally had no difficulty whatsoever with VMware 5 natively on 
>> AMD64 Debian, including the building of kernel modules. Is your kernel 
>> built with the same version of GCC as "gcc -v" reports?
>
> Like the original poster, I'm using a 64bits kernel in a 32bits
> userspace environment. I have added -m64 to the kernel headers' Makefile
> CFLAGS to have gcc (which has the same version, as checked by
> vmware-config.pl) generate code for the correct architecture, but
> modpost fails in the same way.
>
> 	Xav

The kernel-image-amd64 package overrides a few more things to get the
kernel building, like ld and as. You might have to do that too.

Personaly I recomend running cdebootstrap to build a 64bit chroot and
compile the stuff in there.

MfG
        Goswin



Reply to: