Wireshark-users: [Wireshark-users] unrecognized command line option '-fmacro-prefix-map=old=new'

From: jungle boogie <jungleboogie0@xxxxxxxxx>
Date: Fri, 25 Jan 2019 17:40:20 -0800

Hello,

Building wireshark from source, which I haven't done in a few weeks. Getting a build failure right away with it:



 $ tail ../CMakeFiles/CMakeError.log
c++: error: unrecognized command line option '-fmacro-prefix-map=old=new'
CMakeFiles/cmTC_2c3b5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2c3b5.dir/src.cxx.o' failed
make[2]: *** [CMakeFiles/cmTC_2c3b5.dir/src.cxx.o] Error 1
make[2]: Leaving directory '/home/user/bin/wireshark/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2c3b5/fast' failed
make[1]: *** [cmTC_2c3b5/fast] Error 2
make[1]: Leaving directory '/home/user/bin/wireshark/CMakeFiles/CMakeTmp'

Source file was:
int main() { return 0; }


No cmake options are being passed.


NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"

$ cmake --version
cmake version 3.5.1


What else can I provide to help sort this out?


Thanks!