httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: How to compiling/link/use Apache module that uses shared library?
Date Thu, 21 Jun 2012 20:04:59 GMT

---- Ben Noordhuis <> wrote: 
> On Thu, Jun 21, 2012 at 8:43 PM,  <> wrote:
> > I tried that, which allowed me to start Apache, but am getting a segfault.
> Run it through gdb and inspect the backtrace. Compiling with debug
> symbols and optimizations disabled (-g -O0) will help.


The apxs already has "-g" and "-O2" looks like.  How do I change that to "-O0"?  Or, do I
just run the gcc compile manually?

Also how do I "run it through gdb", since apachectl is a script?

Sorry for the questions, but not too familiar with this stuff :(...


View raw message