The (old) Kamailio version 5.3.x probably does not recognize the newer gcc. But this is usually harmless, but you should consider using a newer Kamailio version. Please note that this tracker is for reporting bugs in the source code, and not user questions. These questions should be addressed to our "sr-users" list. I am closing this issue here.