Hi,

I've got open-vm-tools-9.10.0 building for most of the SLES/openSUSE 
environments I'm interested in. However, when attempting to build this on i586 
SLES11 (with gcc 4.3), the compile fails with the following:

[  100s] In file included from /usr/src/packages/BUILD/open-vm-
tools-9.10.0-2476743/lib/include/vm_basic_asm.h:59,
[  100s]                  from hgfsUtil.c:49:
[  100s] /usr/src/packages/BUILD/open-vm-
tools-9.10.0-2476743/lib/include/vm_basic_asm_x86.h:439:19: error: mul64.h: No 
such file or directory
[  100s] make[2]: *** [hgfsUtil.lo] Error 1

What is interesting is that the vm_basic_asm.h doesn't '#include mul64.h' 
until after checking if "VM_X86_64" or "__i386__" are defined:

#if defined VM_X86_64
#include "vm_basic_asm_x86_64.h"
#elif defined __i386__
#include "vm_basic_asm_x86.h"
#else
#define MUL64_NO_ASM 1
#include "mul64.h"
#endif

Checking the predefined macros in the environment (using `cpp -dM`) seems to 
show that "__i386__" is defined, so it really should never get to mul64.h. If 
it does try to include mul64.h, I have no idea where it is supposed to come 
from...

openSUSE Factory i586 (with gcc 4.8) works just fine, and there are no 
differences in the __i386__ type macros. I'd like to figure out a good way to 
resolve this for older versions, as opposed to a hack that forces 
vm_basic_asm_x86 on this older version.

Any ideas?

Thanks,
Mike

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to