Error While Building Ardupilot

Has anybody ever faced the following issue while compiling with waf?

Everything was all right until I pulled the new GitHub repository :frowning:

did you updated the submodules as well ? (git submodules…)

Yes I have updated the submodules multiple times using the following command
git submodule update --init --recursive
but the problem is still there.
Even I deleted the submodule “waf” once and recloned it again.

try a distclean (./waf distclean)

It didn’t fix the problem :slightly_frowning_face:

It didn’t fix the problem :slightly_frowning_face:

you could try deleting all your sub-modules and re-initing them

I deleted all the sub-modules in /modules directory and then re-cloned them again
after updating the submodules those error messages showed up again!!!

Finally I cloned the whole repository once again and the problem disappeared.
Now when I run -w I get the following error: