Wireshark-dev: Re: [Wireshark-dev] Windows build failing on register.c
From: "Charles Kristofek" <ckristofek@xxxxxxxxxxxxx>
Date: Mon, 17 Aug 2009 17:53:00 -0400
Thanks to all for the insights.  My problems were resolved by doing
an SVN update (repeatedly) and fixing errors. 
I was not aware that trunk would have compile errors.
So, I have my a clean build and can focus on my dissector.

Chuck
-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Bill Meier
Sent: Friday, August 14, 2009 9:46 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Windows build failing on register.c

Charles Kristofek wrote:
> Yes, I ran setup and distclean before make.  I followed every step from
the
> link provided and had the same result.
> 
> Anyone know what is peculiar about register.c to cause these errors?
> 
> register.c
> 
> register.c(7) : error C2059: syntax error : 'type'
> 
> register.c(7) : error C2059: syntax error : ')'
> 

<snip>

> 
>         cd ..
> 
>         cd codecs
> 
>         "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /
> 
>             -f Makefile.nmake
> 
>  
> 
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> 
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>  
> 
> 'codecs.lib' is up-to-date

<snip>

1. Please show us a bit of the register.c file  in the epan\dissectors 
directory: maybe that will give a hint as to what's going on.

2. Just so I'm clear: Is it correct that when you do distclean & etc and 
then do an nmake that all the sources compile OK until the make reaches 
register.c ?






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