This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool help with debian 2.6.8-10 em64t


Jason Eacott wrote:
I am trying to install vmware 5 on a debian/intel em64 machine running debian kernel 2.6.8-10-
em64t-p4-smp
It doesn't seem that anyone else has done this yet.

I cant install vmware because it cant compile its module:
----------
Building the vmmon module.


Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config3/vmmon-only' make -C /lib/modules/2.6.8-10-em64t-p4-smp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-10-em64t-p4-smp' CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o /tmp/vmware-config3/vmmon-only/linux/driver.c:1: error: code model 'kernel' not supported in the 32 bit mode ...
----------------


after a bit of hunting the problem seems to be that I don't have a suitable 64bit compiler to build the module.

Yeah, that's how it look to me after a bit of hunting, too -- but it's hard to believe. Which version of Debian are you running? Is it the x86_64 version? In that case, it's pure 64 bits! Or are you running the normal, 32 bit version of Debian?

and shortly after that I found your scripts.

I have tried quite a few combinations of settings with varying degrees of success, but none that complete.

checking size of long double...configure: cannot compute sizeof (long double), 77

You did not include enough context for me to figure out what you did. What version of crosstool? The latest is crosstool-0.38, please use that. What version of gcc and glibc? You're probably trying to build too old a version of gcc. The earliest version likely to work for x86_64 is gcc-3.3.x (e.g. gcc-3.3.6). See the bottom row of http://kegel.com/crosstool/current/buildlogs/ to see which combinations work for x86_64. - Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]