I’ve been running with that problem and here is the workaround i’ve found :
The problem is located in the following file : res/pjproject/build/cc-auto.mak
The AR and RANLIB variables are prefixed with ‘cc’.
Simply remove ‘cc’ in ‘ccar’ and ‘ccranlib’ and it will compile.
I’ve not investigated yet why these variables are not set correctly but maybe some other people have the clue.
You seem to be claiming to get a different error on Asterisk Support. I think you need to provide the actual diagnostics you are getting, preferably on Asterisk Support, as this is the wrong forum.