shreejith bl wrote:
> Hello all,
>
> I am trying to build a plugin.dll. I am using the wireshark sources from the
> revision HEAD (latest source).
> I am using VC++ 2008 Express Edition. Same was the case with VS .NET 2003.
>
> I am getting the following error. Can someone please help me in this regard?
>
> Thanks,
> Shreejith
>
> Error,
> *****************************************************
> C:\wireshark\plugins\pluginA>nmake Makefile.nmake "VERSION = " -all /C
> 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 /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1500
> /D_BIND_TO_CURRENT_CRT_VERSIO
> N=1 /c packet-boa.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for
> 80x86
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> packet-boa.c
> c:\wireshark\epan\ftypes/ftypes.h(256) : error C2054: expected '(' to follow
> 'WS
> _VAR_IMPORT'
WS_VAR_IMPORT isn't defined. It's defined in config.h in the top-level
Wireshark directory.
Do you have the following as the first include in your plugin
(packet-boa.c) ?
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe