Wireshark mailing list archives
Re: unrecognized command line option '-fmacro-prefix-map=old=new'
From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Sat, 26 Jan 2019 18:19:32 +0100
Hi, 1. Remove the CmakeCache file and rerun cmake again, this should remove any detection ambiguities. 2. What you’ve shown is a text stage of CMake to find compiler options, these are not Wireshark build errors. Thanks, Jaap
On 26 Jan 2019, at 02:40, jungle boogie <jungleboogie0 () gmail com> wrote: 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!
___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-users Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- unrecognized command line option '-fmacro-prefix-map=old=new' jungle boogie (Jan 25)
- Re: unrecognized command line option '-fmacro-prefix-map=old=new' Jaap Keuter (Jan 26)
- Re: unrecognized command line option '-fmacro-prefix-map=old=new' Guy Harris (Jan 26)
- Re: unrecognized command line option '-fmacro-prefix-map=old=new' jungle boogie (Jan 26)
- Re: unrecognized command line option '-fmacro-prefix-map=old=new' Guy Harris (Jan 26)
- Re: unrecognized command line option '-fmacro-prefix-map=old=new' Jaap Keuter (Jan 26)