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

2005-07-22 Thread Xavier Bestel
Ok, I finally found a solution: I rebuilt the script/mod/modpost
executable and copied it over the one in the kernel-build directory, and
the installation went perfectly.

Thanks,

Xav



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2005-07-22 Thread Xavier Bestel
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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2005-07-22 Thread Xavier Bestel
Hi,

> Hello,
> 
> try vmware-any-any-update found at http://ftp.cvut.cz/vmware/

I tried the any-any-update93 to install vmware build 13124, but it still
fails with:

make: Entering directory `/tmp/vmware-config6/vmmon-only'
make -C /lib/modules/2.6.11-9-amd64-k8/build/include/.. SUBDIRS=$PWD 
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.11-9-amd64-k8'
  CC [M]  /tmp/vmware-config6/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config6/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config6/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config6/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config6/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config6/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config6/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but 
not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid 
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
  CC [M]  /tmp/vmware-config6/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config6/vmmon-only/vmcore/compat.o
  CC [M]  /tmp/vmware-config6/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config6/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
modpost: /tmp/vmware-config6/vmmon-only/vmmon.o no symtab?
/bin/sh: line 1: 11235 Aborted scripts/mod/modpost -i 
/usr/src/kernel-headers-2.6.11-9-amd64-k8/Module.symvers 
/tmp/vmware-config6/vmmon-only/vmmon.o
make[2]: *** [__modpost] Error 134


Any hint ?

Thanks,

Xav

PS: please Cc: me, I'm off-list. Sorry for Cc:ing you, I'm not sure it
would have reached you otherwise.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]