Error: 'const char STATUS []' redeclared as different kind of symbol

Thats the root cause of your problem.
Don’t use a global library folder!
Only put the libraries you need into lib_deps.