Wireshark-dev: Re: [Wireshark-dev] Error compiling a custom dll pluginforWireshark0.99.7
From: "Maynard, Chris" <[email protected]>
Date: Wed, 27 Feb 2008 22:47:01 -0500
Run "svn update" first, then try again.

________________________________

From: [email protected] on behalf of A Verma
Sent: Wed 2/27/2008 10:39 PM
To: Anders Broman
Cc: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Error compiling a custom dll pluginforWireshark0.99.7


Hi,
Thanks!
Even after I executed the command 'make -f makefile.nmake setup' , the pcre version remains the same that it was earlier that is 6.4.
what do I do? Pls suggest.
 
regards
Ash

 
On 2/27/08, Anders Broman <[email protected]> wrote: 

	Hi,

	Run make -f makefile.nmake setup

	To download all the latest packages

	 

	>pcre.h file is present at path:

	>C:\wireshark-win32-libs\pcre-6.4\include

	This have changed to 

	C:\wireshark-win32-libs\pcre-7.0\include

	With the update of PCRE

	Regards

	Anders

	 

	 

	
________________________________


	Från: A Verma [mailto:[email protected]] 
	Skickat: den 27 februari 2008 18:29
	Till: Developer support list for Wireshark; [email protected]
	Ämne: Re: [Wireshark-dev] Error compiling a custom dll plugin forWireshark0.99.7

	 

	Hi,

	Thanks for your help.

	Can you please let me what do I need to do exactly. I didn't quite fully understand your answer.

	 

	Thanks so much.

	 

	regards,

	Ash
	
	 

	On 2/27/08, Anders Broman <[email protected]> wrote: 

	Hi,

	You may have to run the setup target PCRE was recently updated to 7.0.

	Regards

	Anders

	 

	
________________________________


	Från: [email protected] [mailto:[email protected]] För A Verma
	Skickat: den 27 februari 2008 11:48
	Till: [email protected]
	Ämne: [Wireshark-dev] Error compiling a custom dll plugin forWireshark0.99.7

	 

	Hi,

	I am trying to create a dll called xxx.dll in plugings/xxx folder in wireshark source code folder.

	I executed the following commands:

	 

	C:\wireshark\plugins\xxx>nmake -f Makefile.nmake distclean

	Output: 

	Microsoft (R) Program Maintenance Utility Version 8.00.50727.762

	Copyright (C) Microsoft Corporation.  All rights reserved.

	 

	rm -f packet-xxx.obj  plugin.obj xxx.res plugin.c *.pdb  xxx.dll xxx.dll  .manifest xxx.lib  xxx.exp xxx.rc

	 

	C:\wireshark\plugins\xxx>nmake -f Makefile.nmake all

	Output: 

	Microsoft (R) Program Maintenance Utility Version 8.00.50727.762

	Copyright (C) Microsoft Corporation.  All rights reserved.

	 

	Making plugin.c (using python)

	        sed -e s/@[email protected]/xxx/  -e s/@[email protected]/0,99,8,0/  -e s/@R

	[email protected]/0,99,8/  -e s/@[email protected]/0.99.8.0/  -e s/@[email protected]/xxx/  -e s/@

	[email protected]/0.99.8"-xxx-yyy-01"/  -e s/@[email protected]/MSVC2005EE/  < plugin.rc.in <http://plugin.rc.in/>  >

	 xxx.rc

	        rc  /r xxx.rc

	        cl /DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ /WX /DHAVE_CONFIG_H

	 /I../.. /I../../wiretap /IC:\wireshark-win32-libs\glib\include\glib-2.0  /IC:\w

	ireshark-win32-libs\glib\lib\glib-2.0\include  /IC:\wireshark-win32-libs\WPdpack

	\include -D_U_="" /Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRE

	CATE /DMSC_VER_REQUIRED=1400 -Fd.\ -c packet-xxx.c plugin.c

	Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86

	 

	Copyright (C) Microsoft Corporation.  All rights reserved.

	 

	packet-xxx.c

	C:\wireshark\epan/ftypes/ftypes-int.h(30) : fatal error C1083: Cannot open include file: 'pcre.h': No such file or directory

	plugin.c

	Generating Code...

	NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'

	Stop.

	  

	 pcre.h file is present at path:

	C:\wireshark-win32-libs\pcre-6.4\include

	 

	So why is the eoor being generated. Can someone please help me.

	Thanks for your time!

	 

	thanks & regards,

	Ash

	 

	No virus found in this incoming message.
	Checked by AVG Free Edition.
	Version: 7.5.516 / Virus Database: 269.21.1/1301 - Release Date: 2008-02-27 08:35

	 

	No virus found in this outgoing message.
	Checked by AVG Free Edition.
	Version: 7.5.516 / Virus Database: 269.21.1/1301 - Release Date: 2008-02-27 08:35

	
	_______________________________________________
	Wireshark-dev mailing list
	[email protected]
	http://www.wireshark.org/mailman/listinfo/wireshark-dev

	 

	No virus found in this incoming message.
	Checked by AVG Free Edition.
	Version: 7.5.516 / Virus Database: 269.21.1/1301 - Release Date: 2008-02-27 08:35

	
	

	No virus found in this outgoing message.
	Checked by AVG Free Edition.
	Version: 7.5.516 / Virus Database: 269.21.1/1301 - Release Date: 2008-02-27 08:35
	





-----------------------------------------
This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you
are not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all
copies of this message. Also, email is susceptible to data
corruption, interception, tampering, unauthorized amendment and
viruses. We only send and receive emails on the basis that we are
not liable for any such corruption, interception, tampering,
amendment or viruses or any consequence thereof.

<<winmail.dat>>