Wireshark-dev: Re: [Wireshark-dev] win 64 wireshark build
From: Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Jul 2009 12:07:42 -0400
Here is the dumpbin that you requested.

It doesn't look like I have what I need. How do I fix this...?

Thanks,
Brian


C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT>du
mpbin.exe /headers msvcr90.dll
Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file msvcr90.dll

PE signature found

File Type: DLL

FILE HEADER VALUES
            14C machine (x86)
              4 number of sections
       488EF6C5 time date stamp Tue Jul 29 06:53:57 2008
              0 file pointer to symbol table
              0 number of symbols
             E0 size of optional header
           2102 characteristics
                  Executable
                  32 bit word machine
                  DLL

OPTIONAL HEADER VALUES
            10B magic # (PE32)
           9.00 linker version
          95A00 size of code
           A400 size of initialized data
              0 size of uninitialized data
          22D40 entry point (78542D40)
           1000 base of code
          97000 base of data
       78520000 image base (78520000 to 785C2FFF)
           1000 section alignment
            200 file alignment
           5.00 operating system version
           9.00 image version
           5.00 subsystem version
              0 Win32 version
          A3000 size of image
            400 size of headers
          A6621 checksum
              2 subsystem (Windows GUI)
            140 DLL characteristics
                  Dynamic base
                  NX compatible
         100000 size of stack reserve
           1000 size of stack commit
         100000 size of heap reserve
           1000 size of heap commit
              0 loader flags
             10 number of directories
          8EB60 [    7CA4] RVA [size] of Export Directory
          8DCE0 [      28] RVA [size] of Import Directory
          9E000 [     3C8] RVA [size] of Resource Directory
              0 [       0] RVA [size] of Exception Directory
          9DE00 [    2400] RVA [size] of Certificates Directory
          9F000 [    3304] RVA [size] of Base Relocation Directory
           12D0 [      1C] RVA [size] of Debug Directory
              0 [       0] RVA [size] of Architecture Directory
              0 [       0] RVA [size] of Global Pointer Directory
              0 [       0] RVA [size] of Thread Storage Directory
          21788 [      40] RVA [size] of Load Configuration Directory
              0 [       0] RVA [size] of Bound Import Directory
           1000 [     288] RVA [size] of Import Address Table Directory
              0 [       0] RVA [size] of Delay Import Directory
              0 [       0] RVA [size] of COM Descriptor Directory
              0 [       0] RVA [size] of Reserved Directory


SECTION HEADER #1
  .text name
  95804 virtual size
   1000 virtual address (78521000 to 785B6803)
  95A00 size of raw data
    400 file pointer to raw data (00000400 to 00095DFF)
      0 file pointer to relocation table
      0 file pointer to line numbers
      0 number of relocations
      0 number of line numbers
60000020 flags
        Code
        Execute Read

 Debug Directories

       Time Type       Size      RVA  Pointer
   -------- ------ -------- -------- --------
488EF6C5 cv 29 000217D0 20BD0 Format: RSDS, {0EC0939E-A30C-4
C6C-BA11-6105483875DE}, 1, msvcr90.i386.pdb

SECTION HEADER #2
  .data name
   67B8 virtual size
  97000 virtual address (785B7000 to 785BD7B7)
   4400 size of raw data
  95E00 file pointer to raw data (00095E00 to 0009A1FF)
      0 file pointer to relocation table
      0 file pointer to line numbers
      0 number of relocations
      0 number of line numbers
C0000040 flags
        Initialized Data
        Read Write

SECTION HEADER #3
  .rsrc name
    3C8 virtual size
  9E000 virtual address (785BE000 to 785BE3C7)
    400 size of raw data
  9A200 file pointer to raw data (0009A200 to 0009A5FF)
      0 file pointer to relocation table
      0 file pointer to line numbers
      0 number of relocations
      0 number of line numbers
40000040 flags
        Initialized Data
        Read Only

SECTION HEADER #4
 .reloc name
   37AC virtual size
  9F000 virtual address (785BF000 to 785C27AB)
   3800 size of raw data
  9A600 file pointer to raw data (0009A600 to 0009DDFF)
      0 file pointer to relocation table
      0 file pointer to line numbers
      0 number of relocations
      0 number of line numbers
42000040 flags
        Initialized Data
        Discardable
        Read Only

 Summary

       7000 .data
       4000 .reloc
       1000 .rsrc
      96000 .text

Graham Bloice wrote:
Brian Oleksa wrote:
Here is my config.nmake file.

I do not have a WIRESHARK_TARGET_PLATFORM variable to change.....just PLATFORM with I did change to win64.

Thanks,
Brian
*
MY config.nmake file: ... When I change platform to win64...I did pick up the win64 libs.....but it stil doesn't work....any suggestions..??*

# $Id: config.nmake 26553 2008-10-25 14:33:34Z wmeier $

# Some more informations about the settings in this file, can be found
# in the file README.win32 and the Developer's Guide (available online).

##### Target platform #####
# Only "win32" is valid (for now).
# This can be defined in the system environment.
!IFNDEF PLATFORM
PLATFORM=win64
!ENDIF

##### Versions #####

# The current Wireshark version
# It's highly recommended to leave MAJOR/MINOR/MICRO unchanged
VERSION_MAJOR=1
VERSION_MINOR=1
VERSION_MICRO=2
VERSION_BUILD=26844
# It's recommended to change VERSION_EXTRA for your own custom builds
# e.g. "-SVN-12345"
VERSION_EXTRA=-SVN-26844

Your reply shows you using an older version of the wireshark sources (1.1). I don't know when building the x64 version became viable, but the latest sources have a WIRESHARK_TARGET_PLATFORM define to change as required. Maybe you need to update your source files.

--
Regards,

Graham Bloice
------------------------------------------------------------------------

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe