Hi,

Please substitute for step 2:

2) svn co https://svn.kannel.org/gateway/trunk

BR,
Nikos
----- Original Message ----- From: "Igor Stewart" <[email protected]>
To: <[email protected]>
Sent: Sunday, September 12, 2010 4:13 PM
Subject: Problem compiling smppbox


Hi guys.

I am trying to compile smppbox, and I have the error below. I would like you to guide me for the instalation process.

[r...@tchaka trunk]# make
make  all-recursive
make[1]: Entering directory `/tmp/trunk'
Making all in gw
make[2]: Entering directory `/tmp/trunk/gw'
gcc -DHAVE_CONFIG_H -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
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 /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: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 `/tmp/trunk/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/trunk'
make: *** [all] Error 2



Look, I'm using e fresh installed Fedora 11, and I followed this step's
1.cd /tmp
2. wget -c http://www.kannel.org/download/1.4.3/gateway-1.4.3.tar.gz
3.  tar xzf gateway-1.4.3.tar.gz
4. cd gateway-1.4.3
5.  less INSTALL
6.  yum install libxml2.x86_64 libxml2-devel.x86_64 -y
7.  yum install mysql++-devel.x86_64 mysql-devel.x86_64 -y
8. ./configure --with-mysql --with-enable-docs
9. make
10.  make install
11.  cd ../
12.  svn co https://svn.kannel.org/smppbox/trunk
13. cd trunk/
14. ./bootstrap
15. ./configure
16. make // the problem is in this step. What might be the problem ? Does somebody has this meta_data.h file ?

Thank's




Reply via email to