Wireshark mailing list archives
Build wireshark on windows fails, linux works
From: Marcel Sicking <Marcel.Sicking () onephone de>
Date: Thu, 25 Mar 2010 12:21:46 +0100
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
[cid:image001.jpg@01CACC13.3ED23950]
____________________________________________
Marcel Sicking - Core Network Engineer
phone: +49 211 5423 5010
mobile: +49 1577 540 5010
email: marcel.sicking () onephone de<mailto:selma.herfst () onephone de>
OnePhone Deutschland GmbH
Düsseldorfer Str. 16
40699 Erkrath, Germany
www.onephone.de<http://www.onephone.de>
Geschäftsführung: Marc Mauermann
Sitz der Gesellschaft: Erkrath, Düsseldorfer Str.16, D-40699 Erkrath
HRB 21674 Wuppertal
P Think green! Please consider the environment before printing this email.
___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-users Unsubscribe: https://wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- Build wireshark on windows fails, linux works Marcel Sicking (Mar 25)
- Re: Build wireshark on windows fails, linux works Jaap Keuter (Mar 25)
- <Possible follow-ups>
- Build wireshark on windows fails, linux works Marcel Sicking (Mar 25)
- Re: Build wireshark on windows fails, linux works Guy Harris (Mar 25)
- Re: Build wireshark on windows fails, linux works Marcel Sicking (Mar 26)
- Re: Build wireshark on windows fails, linux works Guy Harris (Mar 25)

