In fact, for the moment and to test the makefile and the installation
process, I don't do anything with xerces. I just link my module with the
option -lxerces-c1_5.

My module, without this link option, work correctly. But with this option,
apache stop working or crash (I don't know exactly, because I can't find the
core file).

More precisely, the function "init" (module initializer) work correctly
(I've got a cerr message). But the child_init is not called (I've no cerr
message)

And I absolutly need the xerces function for wrtitting my module.

Eric

> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Envoy� : jeudi 13 septembre 2001 16:28
> � : [EMAIL PROTECTED]
> Objet : Re: Building an apache module with xerces
> 
> 
> 
> Hi Eric,
> 
> We don't do anything special to build the Apache mod sample 
> application.
> Make sure that you are calling PlatformUtils::Initialize() 
> before you make
> any calls into Xerces.
> 
> You might also try running under gdb and posting a stack dump of the
> segmentation fault.  Someone might be able to help figure out what the
> problem is.
> 
> Dave
> 
> 
> 
>                                                               
>                                                                    
>                       Debienne Eric                           
>                                                                    
>                       <Eric.Debienne@atos         To:      
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>               
>                       origin.com>                 cc:      
> (bcc: David N Bertoni/CAM/Lotus)                                      
>                                                   Subject: 
> Building an apache module with xerces                                 
>                       09/13/2001 07:05 AM                     
>                                                                    
>                       Please respond to                       
>                                                                    
>                       xalan-dev                               
>                                                                    
>                                                               
>                                                                    
>                                                               
>                                                                    
> 
> 
> 
> Hi
> 
> I want to build an apache module.
> This module use the xerces parser.
> 
> I've done that, but apache make a segmentation fault when he load the
> module.
> 
> I know that the module mod_xslt use Xerces. I would like to 
> know how you do
> that. ( Is there a special command options for the linker, Is 
> there some
> initialization, or other thinks to do)
> 
> I'm using Linux (RedHat 6.2), apache 1.3.14, xerces1_5, egcs 2.91.66
> 
> This question has been asked twice on some newsgroup, but there are no
> response, that's why I ask this question on your newsgroup.
> 
> If I have the response, I can made a small doc about this 
> point and submit
> it to apache.org.
> 
> Thanks a lot for your response
> 
> Eric
> 
> 
> 
> 
> 
> 

Reply via email to