Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build plugin using msbuild but getting lot of warnings

Hi,

I am trying to plugin . Tried to build using MSBuild but got below mentioned warning,

   "c:\Development\wireshark\Wireshark.sln" (default target) (1) ->
   "c:\Development\wireshark\docbook\generate_user-guide.xml.vcxproj.metaproj" (default target) (71) ->
   "c:\Development\wireshark\docbook\generate_user-guide.xml.vcxproj" (default target) (86) ->
   (CustomBuild target) ->
     asciidoc : warning : WSUG_app_files.asciidoc: line 164: missing style: [tabledef-default]: float [c:\Development\wireshark\docbook\generate_user-guide.xml.vcx
   proj]


   "c:\Development\wireshark\Wireshark.sln" (default target) (1) ->
   "c:\Development\wireshark\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "c:\Development\wireshark\copy_data_files.vcxproj.metaproj" (default target) (11) ->
   "c:\Development\wireshark\copy_data_files.vcxproj" (default target) (106) ->
     C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): warning MSB8017: A circular dependency has been detected while exec
   uting custom build commands for item "C:\Development\wireshark\CMakeFiles\9977e0a1dc4e3bfac0f880578d54d5f2\README.txt.rule". This may cause incremental build to
    work incorrectly. [c:\Development\wireshark\copy_data_files.vcxproj]


   "c:\Development\wireshark\Wireshark.sln" (default target) (1) ->
   "c:\Development\wireshark\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "c:\Development\wireshark\epan\epan.vcxproj.metaproj" (default target) (21) ->
   "c:\Development\wireshark\epan\epan.vcxproj" (default target) (139) ->
   (ClCompile target) ->
     dtd_parse.c(1846): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [c:\Development\wireshark\epan\epan.vcxproj]
     diam_dict.c(2495): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [c:\Development\wireshark\epan\epan.vcxproj]
     C:/Development/wireshark/epan/uat_load.c(1623): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [c:\Development\wireshark\epan\ep
   an.vcxproj]


   "c:\Development\wireshark\Wireshark.sln" (default target) (1) ->
   "c:\Development\wireshark\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "c:\Development\wireshark\plugins\wimaxasncp\wimaxasncp.vcxproj.metaproj" (default target) (53) ->
   "c:\Development\wireshark\plugins\wimaxasncp\wimaxasncp.vcxproj" (default target) (150) ->
     wimaxasncp_dict.c(2250): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [c:\Development\wireshark\plugins\wimaxasncp\wimaxasncp.
   vcxproj]


   "c:\Development\wireshark\Wireshark.sln" (default target) (1) ->
   "c:\Development\wireshark\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "c:\Development\wireshark\wireshark.vcxproj.metaproj" (default target) (55) ->
   "c:\Development\wireshark\wireshark.vcxproj" (default target) (163) ->
   (ResourceCompile target) ->
     C:\Development\wireshark-win64-libs\gtk2\include\glib-2.0\glib/gatomic.h(85): warning RC4011: identifier truncated to '__GCC_HAVE_SYNC_COMPARE_AND_SWA' [c:\De
   velopment\wireshark\wireshark.vcxproj]


   "c:\Development\wireshark\Wireshark.sln" (default target) (1) ->
   "c:\Development\wireshark\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
   "c:\Development\wireshark\wireshark.vcxproj.metaproj" (default target) (55) ->
   "c:\Development\wireshark\wireshark.vcxproj" (default target) (163) ->
   (Link target) ->
     qtmain.lib(qtmain_win.obj) : warning LNK4099: PDB 'qtmain.pdb' was not found with 'qtmain.lib(qtmain_win.obj)' or at 'C:\Development\wireshark\run\RelWithDebI
   nfo\qtmain.pdb'; linking object as if no debug info [c:\Development\wireshark\wireshark.vcxproj]

8 Warning(s)
0 Error(s)

How can I remove these warnings?

After this I copied my dll named 75f_wireless.dll to Already installed wireshark/plugins folder, I got error as following,

The procedure entry point proto_register_plugin could not be located in dynamic link library

How to resolve this?

Thanks, Nilesh