Wireshark-dev: Re: [Wireshark-dev] wireshark on 64 bit

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Wed, 3 Aug 2011 13:42:20 +0200
Hi,
If you are using dissector_add() or dissector_delete() in your plugin you should replace them with the corresponding new functions
dissector_add_uint dissector_delete_uint etc.
Regards
Anders

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of sagar Guledagudda
Sent: den 3 augusti 2011 11:39
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] wireshark on 64 bit

But the signature of the function doesn't matches with the any of the function u have mentioned and if i remove that line it gives same error for dissector_add function.

On Wed, Aug 3, 2011 at 2:34 PM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:
Hi,
Dissector_delete has been deprecated and should be replaced by one of the following functions:
libwireshark.def:dissector_delete_string
libwireshark.def:dissector_delete_uint
libwireshark.def:heur_dissector_delete
libwireshark.def:ssl_dissector_delete
 
I suggest you run checkapi on your dissector.
Regards
Anders


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of sagar Guledagudda
Sent: den 3 augusti 2011 10:53

To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] wireshark on 64 bit

Thanks that worked. i got the dll and tried to link it with wireshark wihch is running on 64bit machine. i am getting a linker error as " the procedure entry point dissector_delete could not be
located in the dynamic link library libwireshark.dll. what may be the problem ?
 
On Wed, Aug 3, 2011 at 10:56 AM, Anders Broman <a.broman@xxxxxxxxxxxx> wrote:
sagar Guledagudda skrev 2011-08-03 06:59:
What are those local changes i suppose to do ???
Packages: zlib125ws.zip
Location: http://www.gzip.org/zlib/
Description: The zlib compression library (source and DLL versions)
License: zlib/libpng
Local changes:
From http://www.apachehaus.com/forum/index.php?action="">
First problem: ZLIB build must be fixed for x64, otherwise there will be one unresolved external symbol later.
Quick fix is to open build\win32\build_zlib.bat and insert this at line 51:
set ASM_OPTS=AS=ml64 LOC="-DASMV -DASMINF" OBJA="inffasx64.obj gvmat64.obj inffas8664.obj"
(info found in zlib\win32\Makefile.msc) and then open zlib\contrib\masmx64\inffas8664.c and prepend "../../" to four includes at the beginning


On Mon, Aug 1, 2011 at 12:55 PM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:
Hi,
Did you download the suport libraries? We have local changes to Zlib I think. If you did try forcing rebuild of zlib by deleteing the temp build dir for zlib.
Regards
Anders


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of sagar Guledagudda
Sent: den 1 augusti 2011 09:12

To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] wireshark on 64 bit

i have done all those things. after that i am getting that linker error "unresolved external inflate_fast"

On Mon, Aug 1, 2011 at 12:12 PM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:
See
 
more specificly:
echo Setting up Visual Studio environment...
call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64

Regards
Anders


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of sagar Guledagudda
Sent: den 1 augusti 2011 07:35
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] wireshark on 64 bit

Yes i did that.  i think this might be the problem with the gtk library . i am using the gtk package gtk+-bundle_2.16.6-20100208_win64 . Is that a right one or we need to use any other version specifically for 64 bit.?
 
Thanks
Sags 
 
On Sat, Jul 30, 2011 at 1:15 AM, wsgd <wsgd@xxxxxxx> wrote:
Did you specify a parameter to say you want to produce 64 bits when calling vcvarsall.bat ?

For VC++ 2008 EE on 64 bits windows, I use :
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat"

Olivier

Le 29/07/2011 09:40, sagar Guledagudda a écrit :
hi,
I am trying to compile the wireshark for target platform for 64 bit.
When i do nmake makefile.nmake i get fallowing errror
 
file_util.obj : fatal error LNK1112: module machine type 'X86' conflicts with ta
rget machine type 'x64'
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 8\VC\BIN\x
86_amd64\link.EXE"' : return code '0x458'
 
i am using microsoft visual studio 2005.
I have changed WIRESHARK_TARGET_PLATFORM to win64.
and ran the batch file c:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat  before doing any operation on wireshark.
 
can any body help me to solve this issue ???
 
Is that problem with visual studio i am using ???
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>


-- 
Wireshark Generic Dissector http://wsgd.free.fr

___________________________________________________________________________
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


___________________________________________________________________________
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


___________________________________________________________________________
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



___________________________________________________________________________
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


___________________________________________________________________________
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


___________________________________________________________________________
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