Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: Re: [Ethereal-users] Trouble with packet-dcom.c on Solaris 7 gcc-2.95.3

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Wed, 06 Apr 2005 22:14:22 +0200
Paul Carl wrote:

>I'm having some compilation problems on Solaris 7 w/
>gcc-2.95.3. Unfortunately it's not a system I can
>upgrade at this point. I have had no such problems with
>Solaris 9.
>
>Here are my configure options:
>./configure --disable-ethereal --without-zlib
>
>Here is where it's bombing out:
>
>packet-dcom.c: In function
>`dissect_dcom_indexed_LPWSTR':
>packet-dcom.c:1246: too many arguments to function
>`g_strescape'
>packet-dcom.c: In function `dissect_dcom_BSTR':
>packet-dcom.c:1331: too many arguments to function
>`g_strescape'
>make[2]: *** [packet-dcom.lo] Error 1
>make[2]: Leaving directory
>`/data/ethereal-0.10.10/epan/dissectors'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory
>`/data/ethereal-0.10.10/epan/dissectors'
>make: *** [all-recursive] Error 1
>  
>
Hi!

The parameters of the function g_strescape() changed in the GLib
somewhere between 1.3 and 2.2.

The assumption was, that this changed with the 2.0 version, which might
be wrong (but I would be wondering that this wasn't reported earlier if
that's really the case).

Which version of the GLib do you use? Try:

glib-config --version

Regards, ULFL