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: users-boun...@kannel.org [mailto:users-boun...@kannel.org] 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