Wireshark-dev: Re: [Wireshark-dev] LNK2005 and LNK1169 errors - statistics implementation

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Tue, 29 May 2012 11:27:06 +0200
Hi,

On Tue, May 29, 2012 at 11:14:23AM +0200, Corentin wrote:
> Here are my error messages :
> plugin.obj : error LNK2005: _version already defined in packet-subnet.obj
> Creating library subnet.lib and objet subnet.exp subnet.dll : fatal error
> LNK1169: one or more mutliply defined symbols found NMAKE : fatal error
> U1077 : <path to="" link.exe=""> : return code '0x491' NMAKE : fatal error
> U1077 : <path to="" nmake.exe=""> : return code '0x2' Stop.
> 
> If you have any idea, or suggestion, that could help getting rid of this
> problem, this would greatly appreciated !

Do you have some variable called 'version' in packet-subnet.c?
If yes rename it to some subnet_version. hth.

Cheers,
 Kuba.