Wireshark-users: Re: [Wireshark-users] Error while compiling wireshark

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 15 Aug 2013 14:41:06 -0700
On Aug 15, 2013, at 4:34 AM, Zerrouki Noureddine <n_zerrouki@xxxxxx> wrote:

> I have downloaded wireshark 0.99.4 code source to install it on debian 40r8, after installing the necessary gtk+, glib and libpcap, i ran ./configure but i have got :
> 
> The wireshark package have been configured with the following options
>                             Build wireshark : no    // but i want to build it..
>                                  Build tshark : yes
>                                ........ etc
> 
> Then i ran make but i have got an error :
> 
> epan/;libs/libwireshark.so: undefined reference to 'g_string_sprintfa'

g_string_sprintfa() was renamed to g_string_append_printf() in some version of GLib; you're building an *ANCIENT* version of Wireshark, so it might not have been fixed to call g_string_append_printf(), and the version of GLib you have might have completely gotten rid of g_string_sprintfa().

Try using an up-to-date version of Wireshark.