Wireshark mailing list archives

Re: error encountered during compilation on windows


From: Graham Bloice <graham.bloice () trihedral com>
Date: Tue, 11 Feb 2014 09:49:07 +0000

On 11 February 2014 07:41, Rahul Rohit <rahul.rohit () aricent com> wrote:

 Hi,

During the build of wireshark  exe in windows machice(32 bit) we get the
following errors.



epan\except.h(97) : error C2054: expected '(' to follow 'WS_MSVC_NORETURN'

epan\except.h(97) : error C2085: 'except_rethrow' : not in formal
parameter list

epan\except.h(98) : error C2082: redefinition of formal parameter
'WS_MSVC_NORETURN'

epan\except.h(98) : error C2143: syntax error : missing ';' before 'type'

epan\except.h(98) : error C2085: 'except_throw' : not in formal parameter
list

epan\except.h(99) : error C2082: redefinition of formal parameter
'WS_MSVC_NORETURN'

epan\except.h(99) : error C2143: syntax error : missing ';' before 'type'

epan\except.h(99) : error C2085: 'except_throwd' : not in formal parameter
list

epan\except.h(100) : error C2082: redefinition of formal parameter
'WS_MSVC_NORETURN'

epan\except.h(100) : error C2143: syntax error : missing ';' before 'type'

epan\except.h(100) : error C2085: 'except_throwf' : not in formal
parameter list.







Please help me on this issue.






Hi Rahul,

If this is the first time you have tried to build Wireshark, then the usual
advice is to go back and read the Developers Guide again and make sure you
are following the prescribed method exactly as written because it does work
for many people.

If you have done that, or you have previously built Wireshark successfully,
is your copy of the sources modified in any way?  If so can you compile an
unmodified version without the changes?

If you have recently updated your sources have you tried "nmake -f
Makefile.nmake distclean" first?

What method did you use obtain your sources?

Finally, if you can't get any further, please attach the entire output of
"nmake -f Makefile.nmake verify_tools" and then the complete output of
"nmake -f Makefile.nmake".

Regards,

Graham
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: