Wireshark-dev: Re: [Wireshark-dev] wireshark didn't compile for Win32
From: "Denis Kondratenko" <denis.kondratenko@xxxxxxxxx>
Date: Wed, 20 Dec 2006 13:41:13 +0200
You are right.
There are what I done to compile and create setup:
   nmake -f Makefile.nmake verify_tools
and I have setuped tools that I didn't have
   nmake -f Makefile.nmake setup
   nmake -f Makefile.nmake distclean
And I should to setup correct PATH as described in
http://www.wireshark.org/lists/wireshark-dev/200611/msg00590.html

after this I am able to build Wireshark.
   nmake -f Makefile.nmake all

Thank you for help.

On 12/19/06, Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:
Hi,

Did you build the distclean beforehand? It's described in the developer
manual in detail.

Thanx,
Jaap

On Tue, 19 Dec 2006, Denis Kondratenko wrote:

> Log from console:
>
> nmake -f Makefile.nmake all
> ...
> ...
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> 'codecs.lib' is up-to-date
>         cd ..
>         cd wiretap
>         NMAKE /                   -f Makefile.nmake
>
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
>         cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /IC:\wireshark-win32-li
> bs\glib\include\glib-2.0  /IC:\wireshark-win32-libs\glib\lib\glib-2.0\include /I
> C:\wireshark-win32-libs\zlib123-dll\include /IC:\wireshark-win32-libs\WPdpack/in
> clude  -D_U_="" /Zi /W3 -Fd.\ -c ber.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
> ber.c
> ber.c(69) : error C2146: syntax error : missing ')' before identifier 'G_GINT64_
> MODIFIER'
> ber.c(69) : error C2059: syntax error : ')'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\WINDOWS\NMAKE.EXE' : return code '0x2'
> Stop.
>
>
> it happens in line #69:
>     *err_info = g_strdup_printf("ber: File has %" G_GINT64_MODIFIER
> "d-byte packet, bigger than maximum of %u", file_size,
> WTAP_MAX_PACKET_SIZE);
>
>
> The G_GINT64_MODIFIER is not defined.
> I see that it can be defined in "acinclude.m4", but I don't know why it not.
>
> Why it not defined and how I can go forward?
>
> It my first time in wireshark compiling, so please be patient :)
>
> Thanks,
> Denis
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev