Ethereal-dev: Re: [Ethereal-dev] Re: Building Etheral with MSVC++ 7

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Michael Moore" <mike.moore@xxxxxxxxxxxx>
Date: Fri, 26 Sep 2003 11:06:59 -0500
Laurent,
 
Thanks for your assistance with this issue.
 
I did as you suggested, download the recent zlib source and compiled it on my system.  You're right, very quick.  However, the problem still persists.
 
I'm curious is this might be an issue of the "msvcr71d" DLL included with MSVC++7?  It seems that previous version of MSVC used the static LIBC instead.  Are you compiling with MSVC++7 (anyone?).  I thinking I might be better off going back to previous version of MSVC++.  Opinion?
 
Regards,
Mike
----- Original Message -----
Sent: Thursday, September 25, 2003 2:45 PM
Subject: RE : [Ethereal-dev] Re: Building Etheral with MSVC++ 7

It is due to a conflict in zlib. You can either try to find the good release or rebuild it from the zlib web site (http://www.gzip.org/zlib/). I did the latter and it takes just a few minutes.

Regards

Laurent

 

-----Original Message-----
From: Michael Moore [mailto:mike.moore@xxxxxxxxxxxx]
Sent: Thursday, September 25, 2003 8:24 PM
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] Re: Building Etheral with MSVC++ 7

 

Bill/All,

 

Did anything ever come from this build issue with MSVC++7?  I could not find the "<snip>", but I'm building 0.9.15 with MSVC++7 under Win2K, following the README.win32 recommended build packages and I see an exception whenever I attempt a capture.  The failure is occurring in the msvcr71d dll when an attempt is made to open the capture file.  This happens whether or not I specify a file or a temp file is generated.

 

I'm also unable to read any previously captured files.

 

Was this similar to the issue seen by the other individual having issues with MSVC7? 

 

My stack trace is below.

 

Regards,
Mike
+---------------------------------------------------------+
| Michael A. Moore               Principal Staff Engineer |
| Motorola - GTSS  
+---------------------------------------------------------+

 

> msvcr71d.dll!_fdopen(int filedes=3, const char * mode=0x1001c228)  Line 55 + 0x3d C
  wiretap-0.0.dll!wtap_dump_fdopen(int fd=3, int filetype=2, int encap=1, int snaplen=65535, int * err=0x0012d0a8)  Line 577 + 0xf C
  ethereal.exe!capture(int * stats_known=0x0012ebac, pcap_stat * stats=0x0012ec54)  Line 1633 + 0x22 C
  ethereal.exe!do_capture(const char * save_file=0x00000000)  Line 635 + 0x10 C
  ethereal.exe!capture_prep_ok_cb(_GtkWidget * ok_bt=0x01a2d068, void * parent_w=0x01a2ad30)  Line 936 + 0x9 C
  libgtk-0.dll!6dc88a5c()  
  libgtk-0.dll!6dc9ffe7()  
  libgtk-0.dll!6dcc362f()  
  libgtk-0.dll!6dc9ffe7()  
  libgtk-0.dll!6dcc2bba()  
  libgtk-0.dll!6dcc0a68()  
  libgtk-0.dll!6dcc0a56()  
  libgtk-0.dll!6dcc0a68()  
  NTDLL.DLL!77fcc35c()  
  libgdk-0.dll!67fab600()  
  GDI32.DLL!77f41e45()  
  GDI32.DLL!77f42086()  
  GDI32.DLL!77f57067()  
  GDI32.DLL!77f5708c()  
  libgdk-0.dll!67fac860()  
  libgdk-0.dll!67fac671()  
  GDI32.DLL!77f42086()  
  GDI32.DLL!77f46408()  
  libgdk-0.dll!67f9b537()  
  libgdk-0.dll!67fac860()  
  libgtk-0.dll!6dc9f409()  
  libglib-2.0-0.dll!672e3f11()  
  libglib-2.0-0.dll!672c8241()  
  libgtk-0.dll!6dc9ff09()  
  libgtk-0.dll!6dc9f409()  
  libgtk-0.dll!6dd076a4()  
  libgtk-0.dll!6dd0ff3f()  
  libgtk-0.dll!6dd09e90()  
  libgtk-0.dll!6dd0a1c8()  
  libgtk-0.dll!6dd0eead()  
  libgtk-0.dll!6dd0eebb()  
  libgtk-0.dll!6dc0f7c4()  
  libgtk-0.dll!6dc9f409()  
  libgtk-0.dll!6dc11683()  
  libgtk-0.dll!6dcc2d32()  
  libgtk-0.dll!6dc88a5c()  
  libgtk-0.dll!6dcc2a53()  
  libgtk-0.dll!6dcc2a88()  
  libgtk-0.dll!6dcc0a56()  
  libgtk-0.dll!6dcc0a56()  
  libgtk-0.dll!6dcc0a68()  
  libglib-2.0-0.dll!672d0492()  
  libgdk-0.dll!67fab600()  
  libgdk-0.dll!67fba997()  
  libglib-2.0-0.dll!672d0492()  
  libgdk-0.dll!67fba997()  
  libgdk-0.dll!67fa3923()  
  GDI32.DLL!77f42086()  
  GDI32.DLL!77f56765()  
  libgdk-0.dll!67fac42d()  
  GDI32.DLL!77f4656a()  
  libgdk-0.dll!67fac83c()  
  GDI32.DLL!77f567b9()  
  GDI32.DLL!77f46408()  
  USER32.DLL!77e15ff5()  
  GDI32.DLL!77f41e45()  
  USER32.DLL!77e13ecc()  
  libgdk-0.dll!67fab22b()  
  USER32.DLL!77e16d63()  
  libgdk-0.dll!67fa5de4()  
  USER32.DLL!77e16d63()  
  libgtk-0.dll!6dc9f409()  
  libgdk-0.dll!67f9dda8()  
  libgtk-0.dll!6dd0ff3f()  
  libgtk-0.dll!6dc87e73()  
  libgtk-0.dll!6dc87e65()  
  libgdk-0.dll!67fa5de4()  
  libgtk-0.dll!6dc0f6e4()  
  libgtk-0.dll!6dc10dbe()  
  USER32.DLL!77e12ca8()  
  libgtk-0.dll!6dc10dca()  
  libgtk-0.dll!6dc9f409()  
  libgtk-0.dll!6dc887ea()  
  libgtk-0.dll!6dc9ffe7()  
  libgtk-0.dll!6dcc2a53()  
  libgtk-0.dll!6dcc2bf0()  
  libgtk-0.dll!6dc887cc()  
  libgtk-0.dll!6dcc0a56()  
  libgtk-0.dll!6dcc0a68()  
  libgdk-0.dll!67fa5de4()  
  GDI32.DLL!77f41e45()  
  USER32.DLL!77e12ca8()  
  USER32.DLL!77e14764()  
  USER32.DLL!77e14720()  
  USER32.DLL!77e167d9()  
  Msh_zwf.dll!6122138c()  
  USER32.DLL!77e13b5c()  
  libglib-2.0-0.dll!672fdbcc()  
  libgdk-0.dll!67f9dd3e()  
  libglib-2.0-0.dll!672e358e()  
  USER32.DLL!77e15909()  
  libgdk-0.dll!67f9dd3e()  
  USER32.DLL!77e16797()  
  USER32.DLL!77e167d9()  
  libgdk-0.dll!67fa5de4()  
  USER32.DLL!77e16787()  
  libgtk-0.dll!6dd0fe93()  
  libgtk-0.dll!6dd09e90()  
  libgtk-0.dll!6dd0a190()  
  libgtk-0.dll!6dc879a1()  
  libglib-2.0-0.dll!672d7ef1()  
  libgtk-0.dll!6dc8754c()  
  libgtk-0.dll!6dc872a9()  
  libgdk-0.dll!67fa5f79()  
  libgdk-0.dll!67fa5f5e()  
  libglib-2.0-0.dll!672de67e()  
  libglib-2.0-0.dll!672db1d3()  
  libglib-2.0-0.dll!672dec9f()  
  libglib-2.0-0.dll!672db959()  
  libglib-2.0-0.dll!672f266b()  
  libgtk-0.dll!6dc8712c()  
  ethereal.exe!set_menu_sensitivity(_GtkItemFactory * ifactory=0x0165e910, char * path=0x00a95c08, int val=1)  Line 530 + 0xd C
  ethereal.exe!set_menus_for_capture_in_progress(int capture_in_progress=6789741)  Line 649 + 0x1a C
  0012ff08() 

 

 

 

><snip>
>
>>The MSVC++ 7 problems await somebody with the time and energy to devote to
>>making Ethereal build on MSVC++ 7.
>
>
>I believe that I got 0.9.13 built using VC++ 7 and that the work required
>was quite minimal.
>
>(I've normally used VC++ 6 since that's
>what is used to make the windows release version).
>
>I'm happy to revisit building with vc++ 7 (for 0.9.15) over the next
>several days and submit whatever changes/variations are needed (mostly, I >
>seem to remember involving the make file).
>
>
>Bill Meier