Re: [Wireshark-dev] [Wireshark-commits] buildbot failure in Wireshark (development) on Visual-Studio-Code-Analysis

2012-01-15 Thread Ed Beroset
Jeorg, 

eax.c(32) : fatal error C1083: Cannot open include file: 'gcrypt.h': No such 
file or directory

Ideas anyone?

I see you already found and fixed the problem in version 40502.  I apologize 
for accidentally deleting that change from the patch I submitted, Joerg.  
Thanks for doing that.  

Also, there's a problem introduced by commenting out some of the code.  You 
noted that you made fixes for these:

[ 64%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-c1222.c.o   
 
../../asn1/c1222/packet-c1222-template.c: In function ‘dissect_epsem’:  
 
../../asn1/c1222/packet-c1222-template.c:860:15: error: variable ‘ft’ set but 
not used [-Werror=unused-but-set-variable]

[  5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-c1222.c.o
../../asn1/c1222/packet-c1222-template.c:103:19: error: ‘c1222_flags’ defined 
but not used [-Werror=unused-variable]

and I see the code you've commented out.  However, that also eliminates some 
functionality.  Specifically that causes autogenerated code to parse the flags. 
 With the code intact, we get this (an extract from tshark):

user-information
C12.22 EPSEM Flags: 0x88, C12.22 Reserved Flag, C12.22 Security 
Mode Flags: Ciphertext with authentication, C12.22 Response Control Flags: 
Always respond
1...  = C12.22 Reserved Flag: True
.0..  = C12.22 Recovery Flag: False
..0.  = C12.22 Proxy Service Used Flag: False
...0  = C12.22 ED Class Flag: False
 10.. = C12.22 Security Mode Flags: Ciphertext with 
authentication (0x02)
 ..00 = C12.22 Response Control Flags: Always respond (0x00)
C12.22 EPSEM: OK
C12.22 Response: OK (0x00)

Without the code, we get this:

user-information
C12.22 EPSEM: OK
C12.22 Response: OK (0x00)

I don't seem to get the same warning using MSC2008EE here.  There must be some 
way to eliminate the warning without sacrificing the feature.  Can you tell me 
how you got those warnings?  I may be able to help.

Ed
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] [Wireshark-commits] buildbot failure in Wireshark (development) on Visual-Studio-Code-Analysis

2012-01-15 Thread Joerg Mayer
On Sun, Jan 15, 2012 at 10:55:33AM -0500, Ed Beroset wrote:
 and I see the code you've commented out.  However, that also eliminates some 
 functionality.  Specifically that causes autogenerated code to parse the 
 flags.  With the code intact, we get this (an extract from tshark):

I overdid things: I should have only removed the variable ft and all would
have been fine. I've corrected that in commit 40516.

Sorry
   Joerg
-- 
Joerg Mayer   jma...@loplof.de
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] [Wireshark-commits] buildbot failure in Wireshark (development) on Visual-Studio-Code-Analysis

2012-01-14 Thread Joerg Mayer
On Sat, Jan 14, 2012 at 07:31:16AM -0800, buildbot-no-re...@wireshark.org wrote:
 The Buildbot has detected a new failure on builder 
 Visual-Studio-Code-Analysis while building Wireshark (development).
 Full details are available at:
  
 http://buildbot.wireshark.org/trunk/builders/Visual-Studio-Code-Analysis/builds/1160
 
 Buildbot URL: http://buildbot.wireshark.org/trunk/
 
 Buildslave for this Build: vs-code-analysis
 
 Build Reason: scheduler
 Build Source Stamp: 40501
 Blamelist: jmayer
 
 BUILD FAILED: failed nmake all
 
 sincerely,
  -The Buildbot

No clue what is going on here:

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

airpdcap_debug.c
airpdcap_rijndael.c
airpdcap_tkip.c
crypt-aes.c
crypt-des.c
crypt-md4.c
crypt-md5.c
crypt-rc4.c
crypt-sha1.c
eax.c
eax.c(32) : fatal error C1083: Cannot open include file: 'gcrypt.h': No such 
file or directory
NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\BIN\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\BIN\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\BIN\nmake.exe' : return code '0x2'
Stop.
program finished with exit code 2
elapsedTime=55.298000

but epan/crypt/eax.c looks like this:

#ifdef HAVE_LIBGCRYPT
#include string.h
/* Use libgcrypt for cipher libraries. */
#include gcrypt.h
#include eax.h
...


Ideas anyone?

thanks
   Joerg

-- 
Joerg Mayer   jma...@loplof.de
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe