Opensmppbox compilation error on CentOS 6.5 x64

Ciaran Scolard <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <520BC9B9A8989749A21E8F0183260C38122C4458@SRVINFEXCH00.domain.local>
Hi All,

I'm trying to compile opensmppbox and I'm getting compilation errors.
This isn't my first install but either I appear to be doing something wrong (or are there bugs in the code?).
Any ideas?

Install
svn co https://svn.kannel.org/gateway/trunk
cd trunk/addons/opensmppbox/
aclocal
autoconf
./bootstrap
./configure --with-mssql=/usr --with-ssl=/usr/include/openssl --enable-dependency-tracking --enable-ssl --enable-docs --enable-drafts --prefix=/usr/local/kannel --with-kannel-dir=/root/trunk
make

Output
make  all-recursive
make[1]: Entering directory `/tmp/trunk/addons/opensmppbox'
Making all in gw
make[2]: Entering directory `/tmp/trunk/addons/opensmppbox/gw'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/openssl/include -I/usr/local/kannel/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2  -I/usr/include/openssl/include -I/usr/include -MT opensmppbox.o -MD -MP -MF .deps/opensmppbox.Tpo -c -o opensmppbox.o opensmppbox.c
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:239: 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: 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:239: 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/trunk/addons/opensmppbox/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/trunk/addons/opensmppbox'
make: *** [all] Error 2



Ciaran Scolard Network Manager phonovation limited
phonovation house, 8 clarinda park north, dun laoghaire, co. dublin, ireland.
tel: + 353 1 284 3011 mobile: + 353 87 2115934 fax: + 353 1 284 3223
www.phonovation.com<http://www.phonovation.com/> registered in Ireland number 127108
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.