Hello,
what's your compiler (and its version)? clang was dealing fine with this case.
Anyhow, should be fixed in master branch, just fetch latest version.
Cheers, Daniel
On 29.06.17 09:23, Yasin CANER wrote:
Hello,
on compiling git master branch gives error as below. Could you check it please.
Cheers.
make include_modules="acc_radius auth_radius misc_radius" cfg
make all
make[3]: `libsrutils.so.1.0' is up to date. LD (gcc) [M jsonrpcs.so] jsonrpcs.so CC (gcc) [M keepalive.so] keepalive_api.o In file included from keepalive_api.c:40: api.h:39: error: redefinition of typedef ‘ka_statechanged_f’ keepalive.h:48: note: previous declaration of ‘ka_statechanged_f’ was here make[2]: *** [keepalive_api.o] Error 1 make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/kamailio/src' make: *** [all] Error 2
-- *Yasin CANER* Communication Tech Engineer 0850 303 0 303 / 0312 911 0 911 www.netgsm.com.tr https://www.netgsm.com.tr
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
thanks for the infor, I thought it is a new compiler version, because travis-ci and in my environment there was no compile error reported.
Cheers, Daniel
On 29.06.17 09:54, Yasin CANER wrote:
Hello ,
gcc is updated from 4.4.7 20120313 (Red Hat 4.4.7-16) to 4.4.7 20120313 (Red Hat 4.4.7-18) and then kamailio cloned from git again. it didnt give any error.
thanks.
29.06.2017 10:35 tarihinde Daniel-Constantin Mierla yazdı:
Hello,
what's your compiler (and its version)? clang was dealing fine with this case.
Anyhow, should be fixed in master branch, just fetch latest version.
Cheers, Daniel
On 29.06.17 09:23, Yasin CANER wrote:
Hello,
on compiling git master branch gives error as below. Could you check it please.
Cheers.
make include_modules="acc_radius auth_radius misc_radius" cfg
make all
make[3]: `libsrutils.so.1.0' is up to date. LD (gcc) [M jsonrpcs.so] jsonrpcs.so CC (gcc) [M keepalive.so] keepalive_api.o In file included from keepalive_api.c:40: api.h:39: error: redefinition of typedef ‘ka_statechanged_f’ keepalive.h:48: note: previous declaration of ‘ka_statechanged_f’ was here make[2]: *** [keepalive_api.o] Error 1 make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/kamailio/src' make: *** [all] Error 2
-- *Yasin CANER* Communication Tech Engineer 0850 303 0 303 / 0312 911 0 911 www.netgsm.com.tr https://www.netgsm.com.tr
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com Kamailio World Conference - www.kamailioworld.com
-- *Yasin CANER* Communication Tech Engineer 0850 303 0 303 / 0312 911 0 911 www.netgsm.com.tr https://www.netgsm.com.tr