Ask Your Question
0

Fedora 31 Compile Issue (protobuf_langdebug)

asked 2019-12-03 22:53:51 +0000

dwaun gravatar image

updated 2019-12-04 01:13:54 +0000

Guy Harris gravatar image

Hello, After upgrading to Fedora 31, I started getting the following compile error. Does anyone have any thoughts/suggestions?

/home/dwuerfel/Desktop/wireshark/wireshark/epan/protobuf_lang.y: In function ‘run_pbl_parser’:
/home/dwaun/Desktop/wireshark/wireshark/epan/protobuf_lang.y:602:5: error: ‘protobuf_langdebug’ undeclared (first use in this function); did you mean ‘protobuf_langtable’?
  602 |     protobuf_langdebug = debug ? 1 : 0;
      |     ^~~~~~~~~~~~~~~~~~
      |     protobuf_langtable
/home/dwaun/Desktop/wireshark/wireshark/epan/protobuf_lang.y:602:5: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [epan/CMakeFiles/epan.dir/build.make:1374: epan/CMakeFiles/epan.dir/protobuf_lang.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2323: epan/CMakeFiles/epan.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Thank you! dwaun

edit retag flag offensive close merge delete

Comments

What does the command "bison --version" print?

Guy Harris gravatar imageGuy Harris ( 2019-12-04 01:17:06 +0000 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-12-04 13:32:08 +0000

dwaun gravatar image

Thanks, Guy! Your suggestion pointed out that bison wasn't installed. After installing bison, I was able to compile. Thank for your help!!!

dwaun

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-12-03 22:53:51 +0000

Seen: 192 times

Last updated: Dec 04 '19