ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Wireshark-dev Digest, Vol 79, Issue 6

From: "cheer_zeng"<cheer_zeng@xxxxxxx>
Date: Tue, 4 Dec 2012 23:23:16 +0800
You are right,Anders
I check the usb.c file ,there are some values like "{ 0x045e000e, "SideWinder Freestyle Pro" },"
 
Then what should i do to correct them ?
 
Thanks
 
<------------------------------------------------------------------------>
Date: Tue, 4 Dec 2012 21:53:29 +0800 
From: "cheer_zeng"<cheer_zeng@xxxxxxx> 
To: "wireshark-dev"<wireshark-dev@xxxxxxxxxxxxx> 
Subject: Re: [Wireshark-dev] Build Wireshark 
Message-ID: <7df72c38.96ec.13b6630d9e4.Coremail.cheer_zeng@xxxxxxx> 
Content-Type: text/plain; charset="utf-8" 
 
Hi ,Pascal  
 
thank you firstly. 
 
I modify the WIRESHARK_TARGET_PLATFORM  again ,it did work ,but there is another error as follows,what should i need to do this time? 
 
Thanks! 
 
*************************************************************************** 
packet-ipmi-chassis.c 
packet-ipmi-picmg.c 
packet-ipmi-se.c 
packet-ipmi-storage.c 
packet-ipmi-transport.c 
packet-ipmi-pps.c 
packet-ipmi-update.c 
packet-dcerpc-nt.c 
usb.c 
usb.c(5301) : error C2220: warning treated as error - no 'object' file generated 
 
usb.c(5301) : warning C4819: The file contains a character that cannot be repres 
ented in the current code page (936). Save the file in Unicode format to prevent 
 data loss 
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0 
\VC\Bin\amd64\cl.EXE"' : return code '0x2' 
Stop. 
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0 
\VC\Bin\amd64\nmake.exe"' : return code '0x2' 
Stop. 
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0 
\VC\Bin\amd64\nmake.exe"' : return code '0x2' 
Stop. 
 
C:\wireshark> 
************************************************************************************ 
 
 
------------------------------  
 
Message: 4  
Date: Mon, 3 Dec 2012 16:03:06 +0100  
From: Pascal Quantin <pascal.quantin@xxxxxxxxx>  
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>  
Subject: Re: [Wireshark-dev] Build Wireshark  
Message-ID:  
    <CAGka-82d1UMGPNaXQvHar9f7F_m1=56pPOeEknjT-fyC5Ee6ug@xxxxxxxxxxxxxx>  
Content-Type: text/plain; charset="iso-8859-1"  
 
2012/12/3 cheer_zeng <cheer_zeng@xxxxxxx>  
 
> **  
> Hello  
> My system is 64-bit win7 ,and I follow the "wireshark develop guide  
> ---Win32 :Step-by-step" (  
> http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html) to set  
> up the environment .But I fail at the 2.2.10 Build Wireshark ,after i call "  
> *nmake -f Makefile.nmake all*" ,comes the error message :  
>  
> *        **link -nologo -debug -incremental:no -opt:ref  
> -def:win32/zlib.def -dll -i  
> mplib:zdll.lib  -out:zlib1.dll -base:0x5A4C0000 adler32.obj compress.obj  
> crc32.o  
> bj deflate.obj gzclose.obj gzlib.obj gzread.obj  gzwrite.obj infback.obj  
> inflate  
> .obj inftrees.obj trees.obj uncompr.obj zutil.obj inffas32.obj  
> match686.obj zlib  
> 1.res  
> inffas32.obj : fatal error LNK1112: module machine type 'X86' conflicts  
> with tar  
> get machine type 'x64'  
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual  
> Studio 10.0  
> \VC\Bin\amd64\link.EXE"' : return code '0x458'  
> Stop.  
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual  
> Studio 10.0  
> \VC\Bin\amd64\nmake.exe"' : return code '0x2'  
> Stop.*  
> **  
> I use "setenv /Release /x64 /win7" in the windows SDK 7.1 Command Prompt  
> to set environment variables for Visual C++ 2010 Express Edition,as i  
> don;t have vcvars64.bat  in the amd64 directory descript in vcvarsall.dll  
>  
> Then what should i do to correct the error?  
>  
>  
> as i am not new to this,so hope you all can help me.  
> Thank you !!  
>  
 
Hi,  
 
if you want to build a 64 bits Wirehshark, you must also change  
WIRESHARK_TARGET_PLATFORM from win32 to win64 (either by setting an  
environment variable or by editing config.nmake file).  
Then you must do nmake -f Makefile.nmake setup once to download the win64  
packages (you probably downloaded the 32 bits packages).  
 
Regards,  
Pascal.  
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: <http://www.wireshark.org/lists/wireshark-dev/attachments/20121204/19c8ac3b/attachment.html> 
 
------------------------------ 
 
Message: 3 
Date: Tue, 4 Dec 2012 14:22:00 +0000 
From: Anders Broman <anders.broman@xxxxxxxxxxxx> 
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx> 
Subject: Re: [Wireshark-dev] Build Wireshark 
Message-ID: 
    <43C5658BA3FB7B48A6F38EED0B6253F11A584FC1@xxxxxxxxxxxxxxxxxxxxxx> 
Content-Type: text/plain; charset="us-ascii" 
 
Hi, 
It seems like there may be a problem with the script building the 
 
static const value_string usb_vendors_vals in packet usb.c not escaping non ASCII chars: 
 
line 4524 column 30 ascii 194 
line 4524 column 31 ascii 174 
line 5442 column 29 ascii 174 
line 6816 column 38 ascii 194 
line 6816 column 39 ascii 174 
line 6817 column 38 ascii 194 
line 6817 column 39 ascii 174 
line 6818 column 35 ascii 194 
line 6818 column 36 ascii 174 
line 6819 column 38 ascii 194 
line 6819 column 39 ascii 174 
line 6822 column 38 ascii 194 
line 6822 column 39 ascii 174 
line 6827 column 34 ascii 194 
line 6827 column 35 ascii 174 
line 11125 column 21 ascii 195 
line 11125 column 22 ascii 188 
line 11173 column 34 ascii 194 
line 11173 column 35 ascii 160 
line 12502 column 38 ascii 194 
line 12502 column 39 ascii 160 
line 12526 column 29 ascii 194 
line 12526 column 30 ascii 178 
line 12535 column 29 ascii 194 
line 12535 column 30 ascii 178 
line 14990 column 36 ascii 195 
line 14990 column 37 ascii 188 
line 15717 column 28 ascii 194 
line 15717 column 29 ascii 174 
line 15718 column 28 ascii 194 
line 15718 column 29 ascii 174 
 
Regards 
Anders