Waf compilation error

Compile ardupilot error, I am using waf to compile ardupilot, the configuration is complete, but the compilation is wrong, what is the reason?


What does running
git submodule update --init --recursive


It seems to be the reason for the git version, I upgraded the git version, the problem has been solved, but there are new problems when compiling: