[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Compiling slapd with debug symbols


By the way, I've tried to compile slapd with:

CFLAGS="-ggdb -gdwarf-2" ./configure --prefix=blablabla
CFLAGS="-ggdb -gdwarf-2" make depend
CFLAGS="-ggdb -gdwarf-2" make
make install

slapd gets stripped during installation.

Lucas Brasilino

2010/10/19 Lucas Brasilino <lucas.brasilino@gmail.com>:
> Hi
> I'm writing an overlay which manipulates some attributes of objects
> and It is, somehow, leading to
> a segfault within slapd code.
> In order to debug what's going on, I'm trying to compile a
> non-stripped slapd but I can't figure out how.
> I've read configure.in and Makefile.in to find out a fancy way to do
> it, but I have no idea.
> I've also removed the  STRIP option at the top level Makefile: no success.
> I've removed $(STRIP) at install-slapd target at Makefile on slapd's
> dir and did:
> make install-slapd
>  No success.
> I've googled around too!
> How can I do that ?
> regards
> Lucas Brasilino