How do I know which version of Kannel smppbox R48 is compatible? 2010/9/2 Rene Kluwen <rene.klu...@chimit.nl>
> As said, you need svn trunk. > > Version 1.4.3 lacks some functionality that smppbox needs. > > > > == Rene > > > > > > *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On > Behalf Of *Anshu Sah > *Sent:* Thursday, 02 September, 2010 02:58 > > *To:* Rene Kluwen > *Cc:* users > *Subject:* Re: where to download Open smppbox > > > > Hello Rene, > > I am using Kannel 1.4.3 On ubuntu 10, WITH AMD 64 Bit PC > > Regards > Anshu > > On Thu, Sep 2, 2010 at 6:22 AM, Rene Kluwen <rene.klu...@chimit.nl> wrote: > > Which version of Kannel did you install? > > You need svn trunk. > > > > == Rene > > > > > > *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On > Behalf Of *Anshu Sah > *Sent:* Thursday, 02 September, 2010 00:42 > > > *To:* Rene Kluwen > *Cc:* users > *Subject:* Re: where to download Open smppbox > > > > Hello Rene, > > The Configure command worked well after the command make install in the > Kannel folder. > > But when i run "make". It given the below error. Please suggest. > > -- > Regards > Anshu > > r...@msclient5:/projects/kannel/SMPPBox# make > make all-recursive > make[1]: Entering directory `/projects/kannel/SMPPBox' > Making all in gw > make[2]: Entering directory `/projects/kannel/SMPPBox/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_LARGE_FILES= -I/usr/include/libxml2 > -I/usr/include/mysql -MT smppbox.o -MD -MP -MF ".deps/smppbox.Tpo" -c -o > smppbox.o smppbox.c; \ > then mv -f ".deps/smppbox.Tpo" ".deps/smppbox.Po"; else rm -f > ".deps/smppbox.Tpo"; exit 1; fi > smppbox.c:80:26: error: gw/meta_data.h: No such file or directory > smppbox.c: In function ‘check_login’: > smppbox.c:280: warning: ignoring return value of ‘fscanf’, declared with > attribute warn_unused_result > smppbox.c: In function ‘send_pdu’: > smppbox.c:522: warning: passing argument 1 of ‘smpp_pdu_pack’ from > incompatible pointer type > /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct > SMPP_PDU *’ but argument is of type ‘struct Octstr *’ > smppbox.c:522: error: too many arguments to function ‘smpp_pdu_pack’ > smppbox.c: In function ‘read_pdu’: > smppbox.c:579: error: too many arguments to function ‘smpp_pdu_unpack’ > smppbox.c: In function ‘msg_to_pdu’: > smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 5 has > type ‘long int’ > smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 6 has > type ‘long int’ > smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 5 has > type ‘long int’ > smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 6 has > type ‘long int’ > smppbox.c:722: error: too many arguments to function ‘dlr_find’ > smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format > smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format > smppbox.c:809: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:809: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:821: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:821: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:911: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:961: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:961: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:972: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:972: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c: In function ‘pdu_to_msg’: > smppbox.c:1157: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1158: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1159: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1159: error: ‘struct submit_sm’ has no member named ‘tlv’ > smppbox.c: In function ‘data_sm_to_msg’: > smppbox.c:1312: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1313: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1314: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1314: error: ‘struct data_sm’ has no member named ‘tlv’ > smppbox.c: In function ‘check_multipart’: > smppbox.c:1358: warning: format ‘%d’ expects type ‘int’, but argument 4 has > type ‘long int’ > smppbox.c:1374: warning: format ‘%d’ expects type ‘int’, but argument 4 has > type ‘long int’ > smppbox.c: In function ‘bearerbox_to_smpp’: > smppbox.c:1815: warning: format ‘%i’ expects type ‘int’, but argument 4 has > type ‘long unsigned int’ > smppbox.c:1820: warning: format ‘%i’ expects type ‘int’, but argument 4 has > type ‘long int’ > smppbox.c: In function ‘run_smppbox’: > smppbox.c:1936: warning: cast from pointer to integer of different size > smppbox.c: In function ‘wait_for_connections’: > smppbox.c:1993: warning: cast to pointer from integer of different size > smppbox.c: In function ‘smppboxc_run’: > smppbox.c:2008: warning: cast from pointer to integer of different size > make[2]: *** [smppbox.o] Error 1 > make[2]: Leaving directory `/projects/kannel/SMPPBox/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/projects/kannel/SMPPBox' > make: *** [all] Error 2 > > On Thu, Sep 2, 2010 at 2:59 AM, Rene Kluwen <rene.klu...@chimit.nl> > wrote: > > True… It doesn’t work like that… > > > > First you have to install the Kannel header files and libraries (make > install). > > > > After that, smppbox will find them where you installed them. > > > > == Rene > > > > > > *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On > Behalf Of *Anshu Sah > *Sent:* Wednesday, 01 September, 2010 22:15 > > > *To:* Rene Kluwen > *Cc:* users > *Subject:* Re: where to download Open smppbox > > > > Thanks Rene, > Yes, i copied it manually in /usr/local/include/kannel > > But i was confused. Earlier i installed kannel from any other directory > */projects/kannel/gateway-1.4.3/* > and SMPPBOX to > */projects/kannel/smppbox/* > > But when i type command below to install smppbox, got error. > > *./configure --with-kannel-dir=/projects/kannel/gateway-1.4.3/* > > Please guide > > Regards > Anshu > > On Thu, Sep 2, 2010 at 1:21 AM, Rene Kluwen <rene.klu...@chimit.nl> wrote: > > How did you place your source files in /usr/local/include/kannel? Did you > just copy them? > > > > For smppbox, you need to extract the kannel sources in a directory of your > choice and configure && make && make install them. > > After that, do the same for the smppbox. > > > > == Rene > > > > *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On > Behalf Of *Anshu Sah > *Sent:* Wednesday, 01 September, 2010 21:09 > > > *To:* Rene Kluwen > *Cc:* users > > *Subject:* Re: where to download Open smppbox > > > > Hello Rene, > > To Install SMPPBOX i placed kannel source files at > */usr/local/include*/kannel > > and SMPPBOX files at > /usr/local/include/smppbox > > Kannel is easily compiled from there, But if i am compiling smppbox i am > getting error. > *"configure: error: Kannel gwlib is required!"* > > Please guide. > > Regards > Anshu > > > On Wed, Sep 1, 2010 at 7:57 PM, Rene Kluwen <rene.klu...@chimit.nl> wrote: > > Issue a “svn co https://svn.kannel.org/smppbox/trunk” from your unix > command > > line. > > > > > > > > From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] > On > > Behalf Of Anshu Sah > > Sent: Wednesday, 01 September, 2010 15:50 > > To: Rene Kluwen > > Cc: users > > Subject: where to download Open smppbox > > > > > > > > Hi rene, > > > > Can you please guide me how to install Open smppbox svn-r35M , I have got > > the PDF file, But don't know where to download the source code. > > > > Regards > > Anshu > > > > > > >