cc1plus: error: to generate dependencies you must specify either -M or -MM #13669
connectrajeev
started this conversation in
General
Replies: 1 comment 6 replies
-
What compiler are you using, and what version of that compiler? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I am trying to build static library by invoking static_library() within a docker container which has x86 based 64-bit toolchain install in it.
I am able to setu p the builddir however when I issue the 'meson compile' I get the following errro for each file mentioned in the sources. I am not able to fix it as its meson which is passing -MD, -MQ & -MF flag.
"cc1plus: error: to generate dependencies you must specify either -M or -MM"
This is how my function looks like:
Beta Was this translation helpful? Give feedback.
All reactions