Wireshark-dev: Re: [Wireshark-dev] Installing a new dissector
From: "Breno Jacinto" <breno@xxxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2008 09:18:36 -0300
Hello,

2008/10/19 WangJing <wj.vivian@xxxxxxxxx>:
>
> I fix this kind of error, and compile. But I still got the following error.
> I think the code is used for Ethereal,
> and the code is not compliant to Wireshark version..

   Yes, exactly, that is what I was suspecting from the beginning. The
code was written for ethereal, so, there were changes in wireshark
that made it incompatible somehow? Is there any documentation on what
has changed and how to make Ethereal dissectors run on Wireshark?



>
>         link -dll /out:adh.dll /NOLOGO /INCREMENTAL:no /MACHINE:I386 /DEBUG
> pack
> et-adh.obj packet-adhctl.obj packet-adholsr.obj  plugin.obj
> ..\..\epan\libwiresh
> ark.lib  C:\wireshark-win32-libs\glib\lib\glib-2.0.lib
> C:\wireshark-win32-libs\
> glib\lib\gmodule-2.0.lib  C:\wireshark-win32-libs\glib\lib\gobject-2.0.lib
> adh.r
> es
>    Creating library adh.lib and object adh.exp
> packet-adh.obj : error LNK2001: unresolved external symbol _etype_vals
> packet-adh.obj : error LNK2019: unresolved external symbol _ethertype
> referenced
>  in function _dissect_adh
> adh.dll : fatal error LNK1120: 2 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
>



Best regards,

-- 
-- 
:: Breno Jacinto ::
:: breno - at - gprt.ufpe.br ::
:: FingerPrint ::
   2F15 8A61 F566 E442 8581
   E3C0 EFF4 E202 74B7 7484
:: Persistir no difícil é a única maneira de torná-lo fácil algum dia.  ::