qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: For Debug Builds...
Date Wed, 11 Mar 2009 13:57:55 GMT
Joshua Kramer wrote:
> Hello,
> For the benefit of folks who may be inexperienced at debugging, can 
> someone verify the proper build command line?
> At first I tried this:
> ./configure CXXFLAGS=-g
> When I ran the debugger, the main qpidd.cpp file loaded fine.  However, 
> when I attempted to load the source file for Acl.cpp, it could not find 
> the symbols.  I had to modify this to:
> ./configure CXXFLAGS=-ggdb CFLAGS=-ggdb

You don't need to set CFLAGS. -ggdb is a good idea if you're using gdb, but -g 
should work as well. Not sure why you had trouble with symbols, did you clean 
and rebuild from scratch?

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message