[sr-dev] [kamailio/kamailio] app_java: gcj is been removed from gcc since gcc7 (#1487)

Anthony Messina notifications at github.com
Sat Mar 24 00:19:24 CET 2018


While I don't use app_java at all, I did some work to at least get it to build on modern Fedora 27 systems without GCJ and with the following patch and spec: https://messinet.com/rpms/browser/kamailio/app_java.patch, https://messinet.com/rpms/browser/kamailio/kamailio.spec

Though even with that patch it probably my builds probably wouldn't work--the build is filled with lots of incompatible pointer type warnings like the following so the code probably needs some modernizing too.
```
BUILDSTDERR: java_msgobj.c: In function 'fill_sipmsg_object':
BUILDSTDERR: java_msgobj.c:83:27: warning: passing argument 2 of '(*env)->SetIntField' from incompatible pointer type [-Wincompatible-pointer-types]
BUILDSTDERR:   (*env)->SetIntField(env, SipMsgInstance, fid, msg->id);
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1487#issuecomment-375822982
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180323/6af826aa/attachment-0001.html>


More information about the sr-dev mailing list