ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: siri m <svu004@xxxxxxxxx>
Date: Tue, 7 Apr 2009 14:12:52 -0700
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"
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>