Wireshark-dev: Re: [Wireshark-dev] Error compiling a customdllpluginforWireshark0.99.7

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Thu, 28 Feb 2008 21:41:40 -0500

Here’s your output:

Making plugin.c (using python)

        sed -e s/@PLUGIN_NAME@/xxx/  -e s/@RC_MODULE_VERSION@/0,6,5,0/  -e s/@RC

_VERSION@/0,99,9,0/  -e s/@MODULE_VERSION@/0.6.5.0/  -e s/@PACKAGE@/xxx/  -e s/@

VERSION@/0.99.9"-xxx-yyy-01"/  -e s/@MSVC_VARIANT@/MSVC2005EE/  < plugin.rc.in >

 xxx.rc

        rc  /r xxx.rc

xxx.rc(5) : error RC2167 : unrecognized VERSIONINFO field;  BEGIN or comma expected

 

Here’s the output from a Wireshark built-in dissector, namely agentx:

Making plugin.c (using python)

        sed -e s/@PLUGIN_NAME@/agentx/  -e s/@RC_MODULE_VERSION@/0,0,1,0/  -e s/

@RC_VERSION@/0,99,9,0/  -e s/@MODULE_VERSION@/0.0.1.0/  -e s/@PACKAGE@/agentx/

-e s/@VERSION@/0.99.9/  -e s/@MSVC_VARIANT@/MSVC6/  < plugin.rc.in > agentx.rc

        rc  /r agentx

 

I think this is your problem – the last line for the agentx plugin does not have the “.rc” whereas yours does (i.e., “rc  /r xxx.rc” vs. “rc  /r agentx”).

 

- Chris

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of A Verma
Sent: Thursday, February 28, 2008 6:21 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Error compiling a customdllpluginforWireshark0.99.7

 

Hi,

Thanks Andres!

I replaced the file and did the following:

 

But I get the same errors! back to square one! :-(

 

regards,

Ashna

 

On 2/28/08, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:

Hi,

I think "plugin.rc.in" was changed try to copy that file from another plugin in the same release.

Regards

Anders

 

[snip]


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.