ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] How to turn off optimization while compiling Wireshark on li

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 07 Apr 2009 23:48:30 +0200
Hi,

I set my working path first, then start up ddd through libtool.

Just my $0.02,
Jaap

siri m wrote:
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?

Thanks

On 4/7/09, Guy Harris <guy@xxxxxxxxxxxx> wrote:
On Apr 7, 2009, at 11:54 AM, siri m wrote:

CXXFLAGS=-g -O0
Wireshark is written in C, not C++; did you mean

	CFLAGS="-g -O0"