That error is probably only for 4.1, because for recent versions we renamed the 'printf' member of rpc API structure. Can you disable compiling with clang only on branch 4.1?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/416#issuecomment-159423545