Hi Rene, You are quite right. I've been onsite to connect server to internet to get the svn trunk and can compile now. I'll check a few things before apply to the production then make the valgrind report to you. Thank you.
Regards, Hanh. On Tue, Apr 29, 2014 at 3:14 PM, Rene Kluwen <rene.klu...@chimit.nl> wrote: > This “bug” has been solved yesterday. > > Maybe daily snapshot is not up to date. > > > > *From:* Hanh Le Bich [mailto:hanhmi...@gmail.com] > *Sent:* dinsdag 29 april 2014 5:40 > *To:* Rene Kluwen > *Cc:* users@kannel.org > *Subject:* Re: svn r5088 kannel opensmppbox and sqlbox fail to compile > with redis > > > > Well, well, did i missed anything? > > I tried the svn trunk on my laptop connect directly to internet, the > opensmppbox compile is ok. > > On the server which i copied the daily snapshot source, it's still fail :( > > redundancy@redundancy:/usr/src/kannel-snapshot/addons/opensmppbox$ sudo > make > make all-recursive > make[1]: Entering directory `/usr/src/kannel-snapshot/addons/opensmppbox' > Making all in gw > make[2]: Entering directory > `/usr/src/kannel-snapshot/addons/opensmppbox/gw' > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw -g -O2 > -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 > -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= > -I/usr/include/libxml2 -I/usr/local/lib/include -I/usr/include/mysql -MT > opensmppbox.o -MD -MP -MF ".deps/opensmppbox.Tpo" -c -o opensmppbox.o > opensmppbox.c; \ > then mv -f ".deps/opensmppbox.Tpo" ".deps/opensmppbox.Po"; else rm > -f ".deps/opensmppbox.Tpo"; exit 1; fi > opensmppbox.c: In function ‘handle_pdu’: > opensmppbox.c:1613:6: error: too few arguments to function ‘dlr_add’ > In file included from opensmppbox.c:79:0: > /usr/local/include/kannel/gw/dlr.h:100:6: note: declared here > opensmppbox.c:1655:6: error: too few arguments to function ‘dlr_add’ > In file included from opensmppbox.c:79:0: > /usr/local/include/kannel/gw/dlr.h:100:6: note: declared here > make[2]: *** [opensmppbox.o] Error 1 > make[2]: Leaving directory `/usr/src/kannel-snapshot/addons/opensmppbox/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/kannel-snapshot/addons/opensmppbox' > make: *** [all] Error 2 > > Regards, Hanh. > > > > On Tue, Apr 29, 2014 at 9:56 AM, Hanh Le Bich <hanhmi...@gmail.com> wrote: > > Yes Rene, > > I downloaded the latest source at Daily snapshot and do the regular > make/make install over old version but still fail to compile. It's weird, > i'll try the new one by today. > > Regards, Hanh. > > > On Sat, Apr 26, 2014 at 5:19 PM, Rene Kluwen <rene.klu...@chimit.nl> > wrote: > > Did you do a make install after compiling Kannel? > > It looks like a version mismatch. > > > > *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Hanh Le > Bich > *Sent:* zaterdag 26 april 2014 4:29 > *To:* users@kannel.org > > > *Subject:* svn r5088 kannel opensmppbox and sqlbox fail to compile with > redis > > > > I got exactly same problem. Please help. > > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 25 Apr 2014 15:53:34 +0200 > From: seikath <seik...@gmail.com> > To: "users@kannel.org" <users@kannel.org> > Subject: svn r5088 kannel opensmppbox and sqlbox fail to compile with > redis > Message-ID: <535a68de.9020...@gmail.com> > Content-Type: text/plain; charset=windows-1252 > > Hello guys, > > Long time no write here ... :) > > Anyway, I try to compile the kannel with redis, its compiles well: > =============================== > Configure options > cd trunk > make clean > ./configure \ > --prefix=/opt/kannel \ > --enable-start-stop-daemon \ > --enable-pcre \ > --with-redis \ > --with-ssl=/usr/lib64/openssl \ > > > Kannel bearerbox version `svn-r5088'. > Build `Apr 24 2014 01:12:35', compiler `4.8.2 20131212 (Red Hat 4.8.2-7)'. > System Linux, release 3.10.37-47.135.amzn1.x86_64, version #1 SMP Fri Apr > 18 03:28:26 UTC 2014, machine x86_64. > Hostname localhost, IP 127.0.0.1. > Libxml version 2.9.1. > Using OpenSSL 1.0.1g-fips 7 Apr 2014. > Using hiredis API 0.10.1 > Using native malloc. > > > > > the opensmppbox failes to compile : > =============================== > cd trunk/addons/opensmppbox > make clean > ./configure \ > --prefix=/opt/kannel \ > --with-kannel-dir=/opt/kannel/ \ > --enable-ssl \ > --with-ssl=/usr/lib64/openssl \ > --enable-docs \ > > > the compile error follows: > r...@app-01.adaptsms.com:[Fri Apr 25 > 13:44:39][/opt/installs/kannel/trunk/addons/opensmppbox]$ make > make all-recursive > make[1]: Entering directory `/opt/installs/kannel/trunk/addons/opensmppbox' > Making all in gw > make[2]: Entering directory > `/opt/installs/kannel/trunk/addons/opensmppbox/gw' > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw -g -O2 > -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/lib64/openssl/include > -I/opt/kannel/include/kannel -g -O2 > -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 > -I/usr/lib64/openssl/include -I/usr/include/hiredis -MT opensmppbox.o -MD > -MP -MF > ".deps/opensmppbox.Tpo" -c -o opensmppbox.o opensmppbox.c; \ > then mv -f ".deps/opensmppbox.Tpo" ".deps/opensmppbox.Po"; else rm -f > ".deps/opensmppbox.Tpo"; exit 1; fi > opensmppbox.c: In function ?handle_pdu?: > opensmppbox.c:1613:6: error: too few arguments to function ?dlr_add? > dlr_add(box->boxc_id, msgid, msg2); > ^ > In file included from opensmppbox.c:79:0: > /opt/kannel/include/kannel/gw/dlr.h:100:6: note: declared here > void dlr_add(const Octstr *smsc, const Octstr *ts, Msg *msg, int use_dst); > ^ > opensmppbox.c:1655:6: error: too few arguments to function ?dlr_add? > dlr_add(box->boxc_id, msgid, msg2); > ^ > In file included from opensmppbox.c:79:0: > /opt/kannel/include/kannel/gw/dlr.h:100:6: note: declared here > void dlr_add(const Octstr *smsc, const Octstr *ts, Msg *msg, int use_dst); > ^ > opensmppbox.c: In function ?run_smppbox?: > opensmppbox.c:2099:10: warning: cast from pointer to integer of different > size [-Wpointer-to-int-cast] > fd = (int)arg; > ^ > In file included from /opt/kannel/include/kannel/gwlib/gwlib.h:82:0, > from opensmppbox.c:72: > opensmppbox.c: In function ?wait_for_connections?: > opensmppbox.c:2156:36: warning: cast to pointer from integer of different > size [-Wint-to-pointer-cast] > gwthread_create(function, (void *)fd); > ^ > /opt/kannel/include/kannel/gwlib/gwthread.h:91:50: note: in definition of > macro ?gwthread_create? > (gwthread_create_real(func, __FILE__ ":" #func, arg)) > ^ > opensmppbox.c: In function ?smppboxc_run?: > opensmppbox.c:2171:12: warning: cast from pointer to integer of different > size [-Wpointer-to-int-cast] > port = (int)arg; > ^ > make[2]: *** [opensmppbox.o] Error 1 > make[2]: Leaving directory > `/opt/installs/kannel/trunk/addons/opensmppbox/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/installs/kannel/trunk/addons/opensmppbox' > make: *** [all] Error 2 > > > Could someone help with that issue ? > > > cheers, > > seikath > > > > > > >