Wireshark-users: [Wireshark-users] Build wireshark on windows fails, linux works
Dear all, I have a problem building wireshark with windows
after patching a dissector (packet-rsl.c). On linux building works. Here the printout of nmake: cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX
-DHAVE_CONFIG_H /I. /I.. /I../..
/IC:\wireshark-win32-libs\gtk2\include\glib-2.0
/IC:\wireshark-win32-libs\gtk2\lib\glib-2.0\include
/IC:\wireshark-win32-libs\zlib123\include /IC:\wireshark-win32-libs\gnutls-2.8.5-4.12-win32ws\include
/DNOCRYPT /DIMPORT_LIGNUTLSDLL
/IC:\wireshark-win32-libs\kfw-3-2-2-i386-ws-vc6\include
/IC:\wireshark-win32-libs\GeoIP-1.4.6-win32ws\libGeoIP
/IC:\wireshark-win32-libs\WPdpack\include -D_U_="" /Zi /W3 /MD
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN
/DMSC_VER_REQUIRED=1500 /D_BIND_TO_CURRENT_CRT_VERSION=1 /MP -Fd.\ -c
packet-rsl.c packet-rsl.c packet-rsl.c(650) : error C2059:
Syntaxfehler: '.' packet-rsl.c(718) : error C2059:
Syntaxfehler: ',' Lines are: static const struct tlv_definition
rsl_att_tlvdef = { .def =
{
#650 [RSL_IE_CH_NO] = {
TLV_TYPE_TV, 0 }, [RSL_IE_LINK_ID] = {
TLV_TYPE_TV, 0 }, [RSL_IE_ACT_TYPE] = {
TLV_TYPE_TV, 0 }, [RSL_IE_IPAC_CONN_ID] = {
TLV_TYPE_FIXED, 2 }, [RSL_IE_IPAC_RTP_PAYLOAD2] = {
TLV_TYPE_TV, 0 },
}, #718 }; Verifying the tools seems ok: Checking for required applications: cl: /cygdrive/c/Program Files/Microsoft
Visual Studio 9.0/VC/BIN/cl link: /cygdrive/c/Program Files/Microsoft
Visual Studio 9.0/VC/BIN/link nmake: /cygdrive/c/Program
Files/Microsoft Visual Studio 9.0/VC/BIN/nmake mt: /cygdrive/c/Program Files/Microsoft
SDKs/Windows/v6.0A/bin/mt bash: /usr/bin/bash bison: /usr/bin/bison flex: /usr/bin/flex env: /usr/bin/env grep: /usr/bin/grep /usr/bin/find: /usr/bin/find perl:
/cygdrive/c/strawberry/perl/bin/perl C:\Python26\python.exe:
/cygdrive/c/Python26/python.exe sed: /usr/bin/sed unzip: /usr/bin/unzip wget: /usr/bin/wget Before patching the file build was ok. Can somebody help me? Thanks a lot. Regards, Marcel Sicking ____________________________________________ phone:
+49 211 5423 5010 mobile:
+49 1577 540 5010
Düsseldorfer
Str. 16 40699 Erkrath,
Germany Geschäftsführung: Marc Mauermann P Think
green! Please consider the environment before printing this email. |
- Follow-Ups:
- Re: [Wireshark-users] Build wireshark on windows fails, linux works
- From: Guy Harris
- Re: [Wireshark-users] Build wireshark on windows fails, linux works
- Prev by Date: [Wireshark-users] Bandwidth calculation
- Next by Date: Re: [Wireshark-users] from the past
- Previous by thread: [Wireshark-users] Wireshark 1.2.6 Run Time Error
- Next by thread: Re: [Wireshark-users] Build wireshark on windows fails, linux works
- Index(es):
- Get Wireshark
- Download
- Code of Conduct