Wireshark-dev: Re: [Wireshark-dev] How to turn off optimization while compiling Wireshark on li
From: didier <dgautheron@xxxxxxxx>
Date: Wed, 08 Apr 2009 02:37:37 +0200
Hi,
Le mardi 07 avril 2009 à 14:12 -0700, siri m a écrit :
> Actually, even the CFLAGS is also set to -g -O0.
> 
> For eg: If I use the libtool --mode=execute ddd
> $HOME/wireshark-0.99.7/wireshark and I open the packet-tipc.c (an
> existing dissector), it still complains about:
> 
> Line 1 of "packet-tipc.c" is at address 0x1590c24
> <tipc_defragment_init> but contains no code.
> 
> Am I missing something?
Did you export CFLAGS?
Another way which works here:
configure CFLAGS=g

Didier