Wireshark mailing list archives

Re: Compile error: no member named 'current_stream_id' in 'http2_session_t'


From: Graham Bloice <graham.bloice () trihedral com>
Date: Fri, 28 Sep 2018 16:48:09 +0100

On Fri, 28 Sep 2018 at 16:45, Bruno Rijsman <brunorijsman () gmail com> wrote:

I found the solution already:

brew install nghttp2

fixes it

(It causes HAVE_NGHTTP2 to be set, which adds current_stream_id to
http2_session_t)

The code should probably still be fixed to avoid a compile error when
NGHTTP2 is not installed


See change 29896 (https://code.wireshark.org/review/29896) which fixes this
issue.

On Sep 27, 2018, at 10:21 AM, Bruno Rijsman <brunorijsman () gmail com> wrote:

Any suggestions on how to avoid the following compiler error?

[ 30%] Building C object
epan/dissectors/CMakeFiles/dissectors.dir/packet-hsrp.c.o
[ 30%] Building C object
epan/dissectors/CMakeFiles/dissectors.dir/packet-http.c.o
[ 30%] Building C object
epan/dissectors/CMakeFiles/dissectors.dir/packet-http2.c.o
*/Users/brunorijsman/wireshark/epan/dissectors/packet-http2.c:1124:23: **error:
**no member named 'current_stream_id' in 'http2_session_t'*
    return h2session->current_stream_id;
*           ~~~~~~~~~  ^*
1 error generated.

Info:

macOS High Sierra 10.13.6

git clone https://code.wireshark.org/review/wireshark
cd wireshark/
mkdir build
cd build
brew install doxygen
brew install libgcrypt
brew install glib
brew install qt5
cmake ..
make


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

Current thread: