Thread: enabling OPTIMIZER_DEBUG
I want to use print_path() function in allpaths.c. I used --enable-debug when configure. But it's telling me that print_path is an undefined reference when I tried to build the source code. Is there anything else necessary except for --enable-debug flag to use print_path function?
Best Regards,
Zhan
On Sat, Nov 16, 2013 at 8:44 PM, Zhan Li <zhanli89@gmail.com> wrote: > I want to use print_path() function in allpaths.c. I used --enable-debug > when configure. But it's telling me that print_path is an undefined > reference when I tried to build the source code. Is there anything else > necessary except for --enable-debug flag to use print_path function? --enable-debug will make debugging symbols available, not the OPTIMIZER_DEBUG preprocessor variable set, so you should use something like configure CFLAGS="-DOPTIMIZER_DEBUG" to build the source tree. Hope this helps. Luca