ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Current master not compiling

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Mon, 4 Apr 2016 11:05:51 +0000
Hi,
I'm also facing issues on MSVC 2015 and Cmake

         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(214): error C2065: 'yyscan_t': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(214): error C2146: syntax error: missing ';' before identifier 'scanner' [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(214): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(215): error C2065: 'YY_BUFFER_STATE': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(215): error C2146: syntax error: missing ';' before identifier 'in_buffer' [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(215): error C2065: 'in_buffer': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(235): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(243): error C2065: 'in_buffer': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(243): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(250): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(256): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(319): error C2065: 'in_buffer': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(319): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\ewireshark\trunk\epan\dfilter\dfilter.c(320): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj]


       "C:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
       "C:\Development\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
       "C:\Development\wsbuild64\ui\ui.vcxproj.metaproj" (default target) (113) ->
       "C:\Development\wsbuild64\ui\ui.vcxproj" (default target) (165) ->
         C:\Development\ewireshark\trunk\ui\text_import.c(909): error C2065: 'yyscan_t': undeclared identifier [C:\Development\wsbuild64\ui\ui.vcxproj]
         C:\Development\ewireshark\trunk\ui\text_import.c(909): error C2146: syntax error: missing ';' before identifier 'scanner' [C:\Development\wsbuild64\ui\ui.vcxproj]
         C:\Development\ewireshark\trunk\ui\text_import.c(909): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\ui\ui.vcxproj]
         C:\Development\ewireshark\trunk\ui\text_import.c(1021): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\ui\ui.vcxproj]
         C:\Development\ewireshark\trunk\ui\text_import.c(1027): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\ui\ui.vcxproj]
         C:\Development\ewireshark\trunk\ui\text_import.c(1029): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\ui\ui.vcxproj]
         C:\Development\ewireshark\trunk\ui\text_import.c(1031): error C2065: 'scanner': undeclared identifier [C:\Development\wsbuild64\ui\ui.vcxproj]

But dfilter is built with lemon isn't it? Flex is Cygwin 2.5.39-1 and there's not any newer version available...
Regards
Anders

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Michal Labedzki
Sent: den 4 april 2016 12:37
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Current master not compiling

I have flex 2.5.35 and flex 2.6.0, but still not working for me.

On 4 April 2016 at 12:24, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> On Apr 4, 2016, at 1:51 AM, Dario Lombardo <dario.lombardo.ml@xxxxxxxxx> wrote:
>
>> But how did the buildbot let it pass?
>
> Because it has a newer version of Flex than you do?
>
> The current master-branch Wireshark, like the current master-branch libpcap, requires at least Flex 2.5.31; Wireshark might require a newer version.  What version do you have on your system?
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe



-- 

Pozdrawiam / Best regards
-------------------------------------------------------------------------------------------------------------
Michał Łabędzki, Software Engineer
Tieto Corporation

Product Development Services

http://www.tieto.com / http://www.tieto.pl
---
ASCII: Michal Labedzki
location: Swobodna 1 Street, 50-088 Wrocław, Poland
room: 5.01 (desk next to 5.08)
---
Please note: The information contained in this message may be legally privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorised use, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You.
---
Please consider the environment before printing this e-mail.
---
Tieto Poland spółka z ograniczoną odpowiedzialnością z siedzibą w Szczecinie, ul. Malczewskiego 26. Zarejestrowana w Sądzie Rejonowym Szczecin-Centrum w Szczecinie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego pod numerem 0000124858. NIP: 8542085557. REGON:
812023656. Kapitał zakładowy: 4 271500 PLN ___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe