Better use the Kannel users list for these questions. You might even get an
answer.

 

From: Amritesh Rachelwar [mailto:[email protected]] 
Sent: Wednesday, 01 September, 2010 07:57
To: Rene Kluwen
Subject: Re: Please guide me how to install SMPP Server of Kannel and using
it

 

Hi,

Thanks for your valuable suggestions
As I am new for SMPPbox feature of kannel. As let I explain what I have done
and what is pending
My OS is Red Hat 5 
1. I have installed kannel gateway 1.4.3 under directory /usr/local/gateway/
2. Run bearer box and smsbox 
3 Able to send sms and receive sms

Now I am trying to use smpp box feature also so some else also can bind with
my server over SMPP.
For that I downloaded all files from https://svn.kannel.org/smppbox/trunk/
and keep under /usr/local/smppbox/

Now when I am trying to install it, it is creating problem. So please guide
me how to install smppbox feature.

Thanks in advance

Thanks and Regards
Amritesh Deepak Rachelwar
JTO (Mobile)
SMSC,Pune




On Wed, Sep 1, 2010 at 5:03 AM, Rene Kluwen <[email protected]> wrote:

Looks like you don’t have the proper Kannel header files installed on your
system.

First check out Kannel SVN… then configure it and make it and install it.

 

Also: Read the smppbox users guide at: www.chimit.nl/kannel/userguide.pdf

 

== Rene

 

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Amritesh Rachelwar
Sent: Tuesday, 31 August, 2010 13:16
To: users
Subject: Please guide me how to install SMPP Server of Kannel and using it

 

Hi,

I am trying to use smpp server of kannel, I have downloaded contents from
"https://svn.kannel.org/smppbox/trunk/";. But when following steps to install
it into red hat 5 

Step    Command         Output
1.        ./configure      is  OK
2.        make               giving error  as following 

[r...@localhost smppbox]# make
make  all-recursive
make[1]: Entering directory `/usr/local/gateway-1.4.3/smppbox'
Making all in gw
make[2]: Entering directory `/usr/local/gateway-1.4.3/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/include/openssl
-I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -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 âsend_pduâ:
smppbox.c:522: warning: passing argument 1 of âsmpp_pdu_packâ from
incompatible pointer type
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:722: error: too many arguments to function âdlr_findâ
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:911: warning: assignment makes pointer from integer without a cast
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 â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 `/usr/local/gateway-1.4.3/smppbox/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gateway-1.4.3/smppbox'
make: *** [all] Error 2


Thanks and Regards
Amritesh 

 

Reply via email to