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

Wireshark-users: Re: [Wireshark-users] netscaler.c build failures

From: jungle boogie <jungleboogie0@xxxxxxxxx>
Date: Fri, 3 Mar 2017 22:11:44 -0800
On 03/03/2017 10:04 PM, Guy Harris wrote:
On Mar 3, 2017, at 9:41 PM, jungle boogie <jungleboogie0@xxxxxxxxx> wrote:

It's been a little while since I built wireshark from source on Ubuntu but when I try, it's failing:

If

	egrep NSPR_V20RECORDSIZE_2BYTES wiretap/netscaler.c | head -1

prints

	#define NSPR_V20RECORDSIZE_2BYTES       0x80

rather than

	#define NSPR_V20RECORDSIZE_2BYTES       0x80U

try updating the source.

hmmm...

$ egrep NSPR_V20RECORDSIZE_2BYTES wiretap/netscaler.c | head -1
#define NSPR_V20RECORDSIZE_2BYTES       0x80

$ git pull
Already up-to-date.

Last commit I see is this one:
commit 2f6ba7534721d643fca84bfce80712daa4fffa3d
Author: AndersBroman <anders.broman@xxxxxxxxxxxx>
Date:   Thu Mar 2 16:17:56 2017 +0100

    Use glib-compat

    Change-Id: I510af18d433c4db360243dda72260e59eb84355f
    Reviewed-on: https://code.wireshark.org/review/20336
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>