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] Wireshark SVN does not build on Ubuntu 64bit (gtk/expert_dlg

From: Roland Knall <rknall@xxxxxxxxx>
Date: Tue, 22 Mar 2011 21:59:28 +0100
On Tue, Mar 22, 2011 at 5:13 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
> On Mar 22, 2011, at 7:50 AM, Roland Knall wrote:
>
>> On my system, Wireshark does not build anymore since revision 36235.
>> The reason for this is the move of the struct expert_tapdata_s from
>> gtk/expert_dlg.h to gtk/expert_comp_dlg.c .
>>
>> The stump, which was left on gtk/expert_dlg.h does not work, as
>> gtk/expert_dlg.c needs to use some members of the struct,
>
> Since revision 36235, gtk/expert_dlg.c needs nothing, as it's not even *built*.

Found the error. There was a spot missed. gtk/expert_dlg.c is still
mentioned in gtk/CMakeLists.txt, and that is the reason, it will be
build on my system, as I am using the cmake variant.

Easy fix:

Index: gtk/CMakeLists.txt
===================================================================
--- gtk/CMakeLists.txt  (Revision 36269)
+++ gtk/CMakeLists.txt  (Arbeitskopie)
@@ -147,7 +147,6 @@
        dcerpc_stat.c
        diameter_stat.c
        expert_comp_dlg.c
-       expert_dlg.c
        fc_stat.c
        flow_graph.c
        funnel_stat.c

regards,
Roland