Hi I have my Kannel up and running and it works really well Due to some requests I need my kannel to accept sms from peer SMPP servers I got opensmppbox and unzipped it and ./configure --prefix=/usr/local/kannel --with-kannel-dir=/usr/local/kannel It worked But when I ran the command make I get the following error Would you help me in this regard
make all-recursive make[1]: Entering directory `/tmp/programme/pruiz-kannel-opensmppbox-78b9859' Making all in gw make[2]: Entering directory `/tmp/programme/pruiz-kannel-opensmppbox-78b9859/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/kannel/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -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:81:26: error: gw/meta_data.h: No such file or directory opensmppbox.c: In function ‘send_pdu’: opensmppbox.c:622: warning: passing argument 1 of ‘smpp_pdu_dump’ from incompatible pointer type /usr/local/kannel/include/kannel/gw/smsc/smpp_pdu.h:232: note: expected ‘struct SMPP_PDU *’ but argument is of type ‘struct Octstr *’ opensmppbox.c:622: error: too many arguments to function ‘smpp_pdu_dump’ opensmppbox.c:623: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible pointer type /usr/local/kannel/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct SMPP_PDU *’ but argument is of type ‘struct Octstr *’ opensmppbox.c:623: error: too many arguments to function ‘smpp_pdu_pack’ opensmppbox.c: In function ‘read_pdu’: opensmppbox.c:680: error: too many arguments to function ‘smpp_pdu_unpack’ opensmppbox.c: In function ‘msg_to_pdu’: opensmppbox.c:823: error: too many arguments to function ‘dlr_find’ opensmppbox.c:912: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:913: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:913: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:925: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:926: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:926: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1016: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1066: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:1067: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:1067: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1078: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:1079: error: ‘struct deliver_sm’ has no member named ‘tlv’ opensmppbox.c:1079: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c: In function ‘pdu_to_msg’: opensmppbox.c:1264: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1265: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1266: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1266: error: ‘struct submit_sm’ has no member named ‘tlv’ opensmppbox.c: In function ‘data_sm_to_msg’: opensmppbox.c:1430: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1431: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1432: error: ‘struct sms’ has no member named ‘meta_data’ opensmppbox.c:1432: error: ‘struct data_sm’ has no member named ‘tlv’ opensmppbox.c: In function ‘handle_pdu’: opensmppbox.c:1513: warning: passing argument 1 of ‘smpp_pdu_dump’ from incompatible pointer type /usr/local/kannel/include/kannel/gw/smsc/smpp_pdu.h:232: note: expected ‘struct SMPP_PDU *’ but argument is of type ‘struct Octstr *’ opensmppbox.c:1513: error: too many arguments to function ‘smpp_pdu_dump’ opensmppbox.c: In function ‘run_smppbox’: opensmppbox.c:2099: warning: cast from pointer to integer of different size opensmppbox.c: In function ‘wait_for_connections’: opensmppbox.c:2156: warning: cast to pointer from integer of different size opensmppbox.c: In function ‘smppboxc_run’: opensmppbox.c:2171: warning: cast from pointer to integer of different size make[2]: *** [opensmppbox.o] Error 1 make[2]: Leaving directory `/tmp/programme/pruiz-kannel-opensmppbox-78b9859/gw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/programme/pruiz-kannel-opensmppbox-78b9859' make: *** [all] Error 2 [MTNIrancell Mail Disclaimer available at: http://www.irancell.ir/maildisclaimer]