Just tried it, same problem. Will need to report it upstream! Not sure whether
you need to fix it in your source tree, as solaris is becoming less and less
common...
I also checked whether ast/endian.h might be included in a package which I just
happen to not have installed, but no, there is no
Kamailio 5 did not compile on solaris 11 anymore due to a missing ast/endian.h
included from app_jsdt/duk_config.h. The solution is:
--- kamailio-5.0.1~/src/modules/app_jsdt/duk_config.h 2017-04-05
15:32:38.0 +
+++ kamailio-5.0.1/src/modules/app_jsdt/duk_config.h2017-04-15
09: