At 2010-11-30 22:58:01,"Eric Covener" wrote:
>On Tue, Nov 30, 2010 at 8:58 AM, Ben Noordhuis wrote:
>> 2010/11/30 whut_jia :
>>> In Apache2.2, I compile a c++ source file with g++ as below:
>>> g++ -fPIC -shared -o mod_validate.so mod_validate.cpp -I/usr/include/httpd
>>> -I/usr/include/apr-1
At 2010-11-30 21:58:56,"Ben Noordhuis" wrote:
>2010/11/30 whut_jia :
>> In Apache2.2, I compile a c++ source file with g++ as below:
>> g++ -fPIC -shared -o mod_validate.so mod_validate.cpp -I/usr/include/httpd
>> -I/usr/include/apr-1 -I/opt/opensaml/include
>> After it , I copy mod_calidate.so
On Tue, Nov 30, 2010 at 8:58 AM, Ben Noordhuis wrote:
> 2010/11/30 whut_jia :
>> In Apache2.2, I compile a c++ source file with g++ as below:
>> g++ -fPIC -shared -o mod_validate.so mod_validate.cpp -I/usr/include/httpd
>> -I/usr/include/apr-1 -I/opt/opensaml/include
>> After it , I copy mod_cali
Hi,thank you for your reply.Because I called the third-party Library,so I want
to write a module with c++ ,in which I can call the function directly.Can you
give me some help how I compile module written by c++ into apache DSO file.I
used apxs tool but it failed.This tool can't compiling c++ s
2010/11/30 whut_jia :
> In Apache2.2, I compile a c++ source file with g++ as below:
> g++ -fPIC -shared -o mod_validate.so mod_validate.cpp -I/usr/include/httpd
> -I/usr/include/apr-1 -I/opt/opensaml/include
> After it , I copy mod_calidate.so into apache module location ,and this
> module work
2010/11/30 whut_jia :
> I write a module by C++ supporting the generation of SAML assertion, so in my
> module I called the OpenSAML Library.The question is how I compile this
> source file written by c++ language into my apache server.
Like you compile any mixed project: define a function in y