You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Mukesh_Kumar02 <Mu...@infosys.com> on 2007/03/09 13:05:31 UTC

xerces-c for windows 2003 64 bit amd64 architecture

Hi,



I am working on Windows 2003 SP1 (64 bit). I need to use xerces-c for
the same.

Is the binary distribution of xerces-c (any version) supported on 64 bit
Windows AMD64 architecture?

I can find one binary distribution i.e. v2.1.0 for Windows XP 64 bit but
that is for IA-64 architecture.

I tried building the source of xerces-c v2.1.0 on Windows 2003 SP1 (64
bit) Visual studio 2005 environment but in vein.

It gives me a lot of build errors. Please let me know if any working
distribution of the same is available or any source which could be built
fine on 64 bit Windows (AMD64) architecture.







Regards,

Mukesh Kumar,
Infosys Technologies Limited,
Mohali.





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

RE: xerces-c for windows 2003 64 bit amd64 architecture

Posted by Alberto Massari <am...@datadirect.com>.
Hi Mukesh,
I guess you are just running the Win32 build that was created by the 
conversion of the VC7.1 project, and this will select that part of 
the code. Can you try replacing the WIN32 macro definition into WIN64?

As for the VC8 project, that has been added in the 3.0 branch; we are 
still missing a Win64 folder and a 64-bit build, as nobody here has 
such platform/compiler.

Alberto

At 18.46 09/03/2007 +0530, Mukesh_Kumar02 wrote:
>Hi Alberto,
>
>Thanks for the valuable information. I tried building the xerces-c
>source v2.7 on Windows 2003 SP1 64 bit using Visual Studio 2005. But I
>am getting some errors while building the code. The following is the
>error which we get:
>
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>03) : error C4235: nonstandard extension used : '__asm' keyword not
>supported on this architecture
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>05) : error C2065: 'mov' : undeclared identifier
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>05) : error C2146: syntax error : missing ';' before identifier 'eax'
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>05) : error C2065: 'eax' : undeclared identifier
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>06) : error C2146: syntax error : missing ';' before identifier 'ebx'
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>06) : error C2065: 'ebx' : undeclared identifier
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>07) : error C2146: syntax error : missing ';' before identifier 'ecx'
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>07) : error C2065: 'ecx' : undeclared identifier
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>08) : error C2146: syntax error : missing ';' before identifier 'lock'
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>08) : error C2065: 'lock' : undeclared identifier
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>08) : error C2146: syntax error : missing ';' before identifier
>'cmpxchg'
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>08) : error C2065: 'cmpxchg' : undeclared identifier
>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
>09) : error C2146: syntax error : missing ';' before identifier 'result'
>
>I would just like to add here that the source of v2.7 contains projects
>for Win32 and has the directories as VC6, VC7 and VC7.1. I am currently
>using VC7.1 folder. Now please correct me if I am wrong but my
>perception is that if 64 bit Windows is supported by the code then the
>project should be Win64 and there should be one folder as VC8.
>
>Anyways as per the above build errors, we can see that _asm i.e. inline
>assembly code is used whereas Visual Studio 2005 compiler clearly
>mentions that inline assembly is not supported. So please suggest any
>possible way to build the code if possible.
>
>
>Regards,
>
>Mukesh Kumar,
>Infosys Technologies Limited,
>Mohali.
>
>
>-----Original Message-----
>From: Alberto Massari [mailto:amassari@datadirect.com]
>Sent: Friday, March 09, 2007 5:53 PM
>To: c-dev@xerces.apache.org
>Subject: Re: xerces-c for windows 2003 64 bit amd64 architecture
>
>Hi Mukesh,
>Xerces supports 64-bit Windows platforms through the Intel compiler
>(see http://xml.apache.org/xerces-c/build-winunix.html#WinIntel); I
>think it can be built using Visual Studio 2005 and the latest version
>(2.7) but I've never done it.
>In any case, I would not waste time with version 2.1, as it is really
>too old to be compliant with Visual Studio 2005.
>
>Alberto
>
>At 17.35 09/03/2007 +0530, Mukesh_Kumar02 wrote:
> >Hi,
> >
> >I am working on Windows 2003 SP1 (64 bit). I need to use xerces-c
> >for the same.
> >Is the binary distribution of xerces-c (any version) supported on 64
> >bit Windows AMD64 architecture?
> >I can find one binary distribution i.e. v2.1.0 for Windows XP 64 bit
> >but that is for IA-64 architecture.
> >I tried building the source of xerces-c v2.1.0 on Windows 2003 SP1
> >(64 bit) Visual studio 2005 environment but in vein.
> >It gives me a lot of build errors. Please let me know if any working
> >distribution of the same is available or any source which could be
> >built fine on 64 bit Windows (AMD64) architecture.
> >
> >
> >
> >Regards,
> >Mukesh Kumar,
> >Infosys Technologies Limited,
> >Mohali.
> >
> >**************** CAUTION - Disclaimer *****************
> >This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
> >intended solely for the use of the addressee(s). If you are not the
> >intended recipient, please notify the sender by e-mail and delete
> >the original message. Further, you are not to copy, disclose, or
> >distribute this e-mail or its contents to any other person and any
> >such actions are unlawful. This e-mail may contain viruses. Infosys
> >has taken every reasonable precaution to minimize this risk, but is
> >not liable for any damage you may sustain as a result of any virus
> >in this e-mail. You should carry out your own virus checks before
> >opening the e-mail or attachment. Infosys reserves the right to
> >monitor and review the content of all messages sent to or from this
> >e-mail address. Messages sent to or from this e-mail address may be
> >stored on the Infosys e-mail system.
> >***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
>For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
>For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: xerces-c for windows 2003 64 bit amd64 architecture

Posted by Mukesh_Kumar02 <Mu...@infosys.com>.
Hi Alberto,

Thanks for the valuable information. I tried building the xerces-c
source v2.7 on Windows 2003 SP1 64 bit using Visual Studio 2005. But I
am getting some errors while building the code. The following is the
error which we get:

..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
03) : error C4235: nonstandard extension used : '__asm' keyword not
supported on this architecture
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
05) : error C2065: 'mov' : undeclared identifier
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
05) : error C2146: syntax error : missing ';' before identifier 'eax'
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
05) : error C2065: 'eax' : undeclared identifier
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
06) : error C2146: syntax error : missing ';' before identifier 'ebx'
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
06) : error C2065: 'ebx' : undeclared identifier
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
07) : error C2146: syntax error : missing ';' before identifier 'ecx'
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
07) : error C2065: 'ecx' : undeclared identifier
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
08) : error C2146: syntax error : missing ';' before identifier 'lock'
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
08) : error C2065: 'lock' : undeclared identifier
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
08) : error C2146: syntax error : missing ';' before identifier
'cmpxchg'
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
08) : error C2065: 'cmpxchg' : undeclared identifier
..\..\..\..\..\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(7
09) : error C2146: syntax error : missing ';' before identifier 'result'

I would just like to add here that the source of v2.7 contains projects
for Win32 and has the directories as VC6, VC7 and VC7.1. I am currently
using VC7.1 folder. Now please correct me if I am wrong but my
perception is that if 64 bit Windows is supported by the code then the
project should be Win64 and there should be one folder as VC8. 

Anyways as per the above build errors, we can see that _asm i.e. inline
assembly code is used whereas Visual Studio 2005 compiler clearly
mentions that inline assembly is not supported. So please suggest any
possible way to build the code if possible.


Regards,

Mukesh Kumar,
Infosys Technologies Limited,
Mohali.


-----Original Message-----
From: Alberto Massari [mailto:amassari@datadirect.com] 
Sent: Friday, March 09, 2007 5:53 PM
To: c-dev@xerces.apache.org
Subject: Re: xerces-c for windows 2003 64 bit amd64 architecture

Hi Mukesh,
Xerces supports 64-bit Windows platforms through the Intel compiler 
(see http://xml.apache.org/xerces-c/build-winunix.html#WinIntel); I 
think it can be built using Visual Studio 2005 and the latest version 
(2.7) but I've never done it.
In any case, I would not waste time with version 2.1, as it is really 
too old to be compliant with Visual Studio 2005.

Alberto

At 17.35 09/03/2007 +0530, Mukesh_Kumar02 wrote:
>Hi,
>
>I am working on Windows 2003 SP1 (64 bit). I need to use xerces-c 
>for the same.
>Is the binary distribution of xerces-c (any version) supported on 64 
>bit Windows AMD64 architecture?
>I can find one binary distribution i.e. v2.1.0 for Windows XP 64 bit 
>but that is for IA-64 architecture.
>I tried building the source of xerces-c v2.1.0 on Windows 2003 SP1 
>(64 bit) Visual studio 2005 environment but in vein.
>It gives me a lot of build errors. Please let me know if any working 
>distribution of the same is available or any source which could be 
>built fine on 64 bit Windows (AMD64) architecture.
>
>
>
>Regards,
>Mukesh Kumar,
>Infosys Technologies Limited,
>Mohali.
>
>**************** CAUTION - Disclaimer *****************
>This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION 
>intended solely for the use of the addressee(s). If you are not the 
>intended recipient, please notify the sender by e-mail and delete 
>the original message. Further, you are not to copy, disclose, or 
>distribute this e-mail or its contents to any other person and any 
>such actions are unlawful. This e-mail may contain viruses. Infosys 
>has taken every reasonable precaution to minimize this risk, but is 
>not liable for any damage you may sustain as a result of any virus 
>in this e-mail. You should carry out your own virus checks before 
>opening the e-mail or attachment. Infosys reserves the right to 
>monitor and review the content of all messages sent to or from this 
>e-mail address. Messages sent to or from this e-mail address may be 
>stored on the Infosys e-mail system.
>***INFOSYS******** End of Disclaimer ********INFOSYS***


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: xerces-c for windows 2003 64 bit amd64 architecture

Posted by Alberto Massari <am...@datadirect.com>.
Hi Mukesh,
Xerces supports 64-bit Windows platforms through the Intel compiler 
(see http://xml.apache.org/xerces-c/build-winunix.html#WinIntel); I 
think it can be built using Visual Studio 2005 and the latest version 
(2.7) but I've never done it.
In any case, I would not waste time with version 2.1, as it is really 
too old to be compliant with Visual Studio 2005.

Alberto

At 17.35 09/03/2007 +0530, Mukesh_Kumar02 wrote:
>Hi,
>
>I am working on Windows 2003 SP1 (64 bit). I need to use xerces-c 
>for the same.
>Is the binary distribution of xerces-c (any version) supported on 64 
>bit Windows AMD64 architecture?
>I can find one binary distribution i.e. v2.1.0 for Windows XP 64 bit 
>but that is for IA-64 architecture.
>I tried building the source of xerces-c v2.1.0 on Windows 2003 SP1 
>(64 bit) Visual studio 2005 environment but in vein.
>It gives me a lot of build errors. Please let me know if any working 
>distribution of the same is available or any source which could be 
>built fine on 64 bit Windows (AMD64) architecture.
>
>
>
>Regards,
>Mukesh Kumar,
>Infosys Technologies Limited,
>Mohali.
>
>**************** CAUTION - Disclaimer *****************
>This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION 
>intended solely for the use of the addressee(s). If you are not the 
>intended recipient, please notify the sender by e-mail and delete 
>the original message. Further, you are not to copy, disclose, or 
>distribute this e-mail or its contents to any other person and any 
>such actions are unlawful. This e-mail may contain viruses. Infosys 
>has taken every reasonable precaution to minimize this risk, but is 
>not liable for any damage you may sustain as a result of any virus 
>in this e-mail. You should carry out your own virus checks before 
>opening the e-mail or attachment. Infosys reserves the right to 
>monitor and review the content of all messages sent to or from this 
>e-mail address. Messages sent to or from this e-mail address may be 
>stored on the Infosys e-mail system.
>***INFOSYS******** End of Disclaimer ********INFOSYS***


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org