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 Rolando Bazoalto <ba...@gmail.com> on 2005/08/09 21:23:47 UTC

problems with compiling xerces-c 2.3 on solaris 8 using gcc

i'm trying to compile xerces-c 2.3 on Solaris 8 with gcc 2.95 when i execute:
# ./runConfigure -psolaris -cgcc -xg++ -rdce -b32        i got:

Generating makefiles with the following options ...
Platform: solaris
C Compiler: gcc
C++ Compiler: g++
Message Loader: inmem
Net Accessor: socket
Transcoder: native
Thread option: dce
bitsToBuild option: 32
Extra compile options:
Extra link options:
Extra configure options:
Debug is OFF

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc   -w -O -DPROJ_XMLPARSER
-DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM
-DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_DCE
-DXML_USE_NETACCESSOR_SOCKET       ) works... no

what can be the problem? help me please.

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


Re: problems with compiling xerces-c 2.3 on solaris 8 using gcc

Posted by David Cargill <ca...@ca.ibm.com>.
Hi,
I believe this is just doing a test to see if gcc can compile a simple
file.  From looking at the configure script it looks like it is trying to
compile:
#line 653 "configure"
#include "confdefs.h"

main(){return(0);}

Where confdefs.h is generated through the configure script.
See if you can compile a simple file using gcc...  If that works then you
will need to hack the configure script to keep confdefs.h around to see
what error configure is encountering trying to compile.

Regards,
David A. Cargill
XML Parser Development
IBM Toronto Lab
(905) 413-2371, tie 969
cargilld@ca.ibm.com


                                                                           
             Rolando Bazoalto                                              
             <bazoalto@gmail.c                                             
             om>                                                        To 
                                       c-dev@xerces.apache.org             
             08/09/2005 03:23                                           cc 
             PM                                                            
                                                                   Subject 
                                       problems with compiling xerces-c    
             Please respond to         2.3 on solaris 8 using gcc          
                   c-dev                                                   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




i'm trying to compile xerces-c 2.3 on Solaris 8 with gcc 2.95 when i
execute:
# ./runConfigure -psolaris -cgcc -xg++ -rdce -b32        i got:

Generating makefiles with the following options ...
Platform: solaris
C Compiler: gcc
C++ Compiler: g++
Message Loader: inmem
Net Accessor: socket
Transcoder: native
Thread option: dce
bitsToBuild option: 32
Extra compile options:
Extra link options:
Extra configure options:
Debug is OFF

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc   -w -O -DPROJ_XMLPARSER
-DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM
-DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_DCE
-DXML_USE_NETACCESSOR_SOCKET       ) works... no

what can be the problem? help me please.

---------------------------------------------------------------------
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