Re: SMS with question mark ?
Hi All, Thanks all for your answers. Alexander, my Kannel version is 1.5. Rene, I'll try to urlencoding twice today. Mohammed, URL hited as XML POST, please find one example below: 2013-07-16 09:31:25 [3873] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2013-07-16 09:31:25 [3873] [3] DEBUG: XMLParsing: XML: ?xml version=1.0?messagesubmit danumberX/number/da oanumberX/number/oadcs coding0/coding/dcsfrom usernameX/usernamepasswordX/password binfo/binfo/from meta-data?smpp?message_payload=[QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php?id=1976568/meta-data statusrequestdlr-mask31/dlr-maskdlr-url http://127.0.0.1/cgi-bin/kannel/kannel_dlr/dlr_handler.php?smsc_id=%iamp;msg_id=179775714amp;to=Xamp;state=%damp;response=%Aamp;sender=X/dlr-url /statusrequest/submit/message 2013-07-16 09:31:25 [3873] [3] INFO: sendsms used by kannel 2013-07-16 09:31:25 [3873] [3] INFO: sendsms sender:kannel:X (127.0.0.1) to:multi-cast msg: 2013-07-16 09:31:25 [3873] [3] DEBUG: Stored UUID e8649745-0af2-47d6-a470-5de5fe61ee9a 2013-07-16 09:31:25 [3873] [3] DEBUG: message length 0, sending 1 messages 2013-07-16 09:31:25 [3873] [3] DEBUG: Status: 202 Answer: Sent. Emeric, I use ASCII if you notice the config. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Thu, Jul 18, 2013 at 4:12 AM, emeric kamleu kaml...@yahoo.fr wrote: Just encode your app files to ANSI or UTF-8. You can use Notepad++ and convert them directly in ANSI or UTF-8. -- *De :* Rene Kluwen rene.klu...@chimit.nl *À :* 'Mohammad Ali Alfarra' mohammad.alfa...@info2cell.com; 'spameden' spame...@gmail.com *Cc :* users@kannel.org *Envoyé le :* Mercredi 17 juillet 2013 19h34 *Objet :* RE: SMS with question mark ? Try urlencoding it twice. So a question mark will look like %253F. *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Mohammad Ali Alfarra *Sent:* woensdag 17 juli 2013 15:47 *To:* spameden *Cc:* users@kannel.org *Subject:* Re: SMS with question mark ? yes I'm sure we use urlencode the ? also we use another special characters in the same message but it's complain about ? and = We got this error on smsc logs. 2013-07-16 09:29:25 [21294] [41] DEBUG: new group created `smpp' 2013-07-16 09:29:25 [21294] [41] DEBUG: group=`smpp' key=`message_payload' value=`[QAR4]SONAR To unsub send STOP 00 to 0### http://XXX.XXX.com:8080/sms/qadl.phphttp://xxx.xxx.com:8080/sms/qadl.php ' 2013-07-16 09:29:25 [21294] [41] ERROR: MDATA: Found '=' but not expected it end=-1 start=113 type=0. I changed some data on the above log to 0 or X. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Wed, Jul 17, 2013 at 4:18 PM, spameden spame...@gmail.com wrote: are you sure you did urlencode '?' ? it should look like this (single ? sign): %3F 2013/7/17 Mohammad Ali Alfarra mohammad.alfa...@info2cell.com Dears, Problem is: We're trying to send URL over SMS but the problem is that we use question mark ? on the URL, so whenever we send an MT we got an ERROR on SMSC logs and the message will delivered to the client empty. Config: SMSC group = smsc smsc = smpp interface-version = 34 smsc-id = testoperator connect-allow-ip = 127.0.0.1 allowed-smsc-id = testoperator log-file = /var/log/kannel1.5/smsc/testoperator_smsc.log log-level = 0 host = X.X.X.X port = 1 transceiver-mode = true smsc-username = User smsc-password = Pass system-type = NULL enquire-link-interval = 60 source-addr-ton = 5 source-addr-npi = 0 dest-addr-ton = 1 dest-addr-npi = 1 validityperiod = 1440 alt-charset = ASCII We have TLV for this SMSC connection: group = smpp-tlv name = message_payload #AS PER SMPP SPEC: tag = 0x0424 #AS PER SMPP SPEC: type = octetstring length = 65536 smsc-id = testoperator Logs: SMSC: 2013-07-11 10:06:16 [21294] [41] DEBUG: SMPP[qtelcgw]: Sending PDU: 2013-07-11 10:21:07 [21294] [41] DEBUG: SMPP PDU 0x6bef4c40 dump: 2013-07-11 10:21:07 [21294] [41] DEBUG: type_name: submit_sm 2013-07-11 10:21:07 [21294] [41] DEBUG: command_id: 4 = 0x0004 2013-07-11 10:21:07 [21294] [41] DEBUG: command_status: 0 = 0x 2013-07-11 10:21:07 [21294] [41] DEBUG: sequence_number: 121883 = 0x0001dc1b 2013-07-11 10:21:07 [21294] [41] DEBUG: service_type: X 2013-07-11 10:21:07 [21294] [41] DEBUG: source_addr_ton: 5 = 0x0005 2013-07-11 10:21:07 [21294] [41] DEBUG: source_addr_npi: 0 = 0x 2013-07-11 10:21:07 [21294] [41] DEBUG: source_addr: X 2013-07-11 10:21:07 [21294] [41] DEBUG: dest_addr_ton: 1 = 0x0001 2013-07-11 10:21:07 [21294]
Re: SMS with question mark ?
Hi, ok here is your error because you didn't encode metadata value: ?smpp?message_payload=[QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php?id=1976568 should be: ?URLENCODE(smpp)?URLENCODE(message_payload)=URLENCODE([QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php?id=1976568) -- result ?smpp?message_payload=%5BQAR4%5DSONAR+To+unsub+send+STOP+00+to+0%23%23%23http%3A%2F%2FXXX.XXX.com%3A8080%2Fsms%2Fqadl.php%3Fid%3D1976568 Am 18.07.2013 um 10:46 schrieb Mohammad Ali Alfarra mohammad.alfa...@info2cell.com: Hi All, Thanks all for your answers. Alexander, my Kannel version is 1.5. Rene, I'll try to urlencoding twice today. Mohammed, URL hited as XML POST, please find one example below: 2013-07-16 09:31:25 [3873] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2013-07-16 09:31:25 [3873] [3] DEBUG: XMLParsing: XML: ?xml version=1.0?messagesubmit danumberX/number/daoanumberX/number/oa dcscoding0/coding/dcsfrom usernameX/usernamepasswordX/password binfo/binfo/from meta-data?smpp?message_payload=[QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php?id=1976568/meta-data statusrequestdlr-mask31/dlr-mask dlr-urlhttp://127.0.0.1/cgi-bin/kannel/kannel_dlr/dlr_handler.php?smsc_id=%iamp;msg_id=179775714amp;to=Xamp;state=%damp;response=%Aamp;sender=X/dlr-url /statusrequest/submit/message 2013-07-16 09:31:25 [3873] [3] INFO: sendsms used by kannel 2013-07-16 09:31:25 [3873] [3] INFO: sendsms sender:kannel:X (127.0.0.1) to:multi-cast msg: 2013-07-16 09:31:25 [3873] [3] DEBUG: Stored UUID e8649745-0af2-47d6-a470-5de5fe61ee9a 2013-07-16 09:31:25 [3873] [3] DEBUG: message length 0, sending 1 messages 2013-07-16 09:31:25 [3873] [3] DEBUG: Status: 202 Answer: Sent. Emeric, I use ASCII if you notice the config. Sincerely -- Mohammad Ali Alfarra System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Thu, Jul 18, 2013 at 4:12 AM, emeric kamleu kaml...@yahoo.fr wrote: Just encode your app files to ANSI or UTF-8. You can use Notepad++ and convert them directly in ANSI or UTF-8. De : Rene Kluwen rene.klu...@chimit.nl À : 'Mohammad Ali Alfarra' mohammad.alfa...@info2cell.com; 'spameden' spame...@gmail.com Cc : users@kannel.org Envoyé le : Mercredi 17 juillet 2013 19h34 Objet : RE: SMS with question mark ? Try urlencoding it twice. So a question mark will look like %253F. From: users [mailto:users-boun...@kannel.org] On Behalf Of Mohammad Ali Alfarra Sent: woensdag 17 juli 2013 15:47 To: spameden Cc: users@kannel.org Subject: Re: SMS with question mark ? yes I'm sure we use urlencode the ? also we use another special characters in the same message but it's complain about ? and = We got this error on smsc logs. 2013-07-16 09:29:25 [21294] [41] DEBUG: new group created `smpp' 2013-07-16 09:29:25 [21294] [41] DEBUG: group=`smpp' key=`message_payload' value=`[QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php' 2013-07-16 09:29:25 [21294] [41] ERROR: MDATA: Found '=' but not expected it end=-1 start=113 type=0. I changed some data on the above log to 0 or X. Sincerely -- Mohammad Ali Alfarra System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Wed, Jul 17, 2013 at 4:18 PM, spameden spame...@gmail.com wrote: are you sure you did urlencode '?' ? it should look like this (single ? sign): %3F 2013/7/17 Mohammad Ali Alfarra mohammad.alfa...@info2cell.com Dears, Problem is: We're trying to send URL over SMS but the problem is that we use question mark ? on the URL, so whenever we send an MT we got an ERROR on SMSC logs and the message will delivered to the client empty. Config: SMSC group = smsc smsc = smpp interface-version = 34 smsc-id = testoperator connect-allow-ip = 127.0.0.1 allowed-smsc-id = testoperator log-file = /var/log/kannel1.5/smsc/testoperator_smsc.log log-level = 0 host = X.X.X.X port = 1 transceiver-mode = true smsc-username = User smsc-password = Pass system-type = NULL enquire-link-interval = 60 source-addr-ton = 5 source-addr-npi = 0 dest-addr-ton = 1 dest-addr-npi = 1 validityperiod = 1440 alt-charset = ASCII We have TLV for this SMSC connection: group = smpp-tlv name = message_payload #AS PER SMPP SPEC: tag = 0x0424 #AS PER SMPP SPEC: type = octetstring length = 65536 smsc-id = testoperator Logs: SMSC: 2013-07-11 10:06:16 [21294] [41] DEBUG: SMPP[qtelcgw]: Sending PDU: 2013-07-11 10:21:07 [21294] [41] DEBUG: SMPP PDU 0x6bef4c40 dump: 2013-07-11
Re: SMS with question mark ?
Thanks Alexander, I'll give it shot then back to you. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Thu, Jul 18, 2013 at 12:31 PM, Alexander Malysh amal...@kannel.orgwrote: Hi, ok here is your error because you didn't encode metadata value: ?smpp?message_payload=[QAR4]SONAR To unsub send STOP 00 to 0### http://XXX.XXX.com:8080/sms/qadl.php?id=1976568http://xxx.xxx.com:8080/sms/qadl.php?id=1976568 should be: ?URLENCODE(smpp)?URLENCODE(message_payload)=URLENCODE([QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php?id=1976568http://xxx.xxx.com:8080/sms/qadl.php?id=1976568 ) -- result ?smpp?message_payload=%5BQAR4%5DSONAR+To+unsub+send+STOP+00+to+0%23%23%23http%3A%2F% 2FXXX.XXX.com http://2fxxx.xxx.com/ %3A8080%2Fsms%2Fqadl.php%3Fid%3D1976568 Am 18.07.2013 um 10:46 schrieb Mohammad Ali Alfarra mohammad.alfa...@info2cell.com: Hi All, Thanks all for your answers. Alexander, my Kannel version is 1.5. Rene, I'll try to urlencoding twice today. Mohammed, URL hited as XML POST, please find one example below: 2013-07-16 09:31:25 [3873] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2013-07-16 09:31:25 [3873] [3] DEBUG: XMLParsing: XML: ?xml version=1.0?messagesubmit danumberX/number/da oanumberX/number/oadcs coding0/coding/dcsfrom usernameX/usernamepasswordX/password binfo/binfo/from meta-data?smpp?message_payload=[QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php?id=1976568http://xxx.xxx.com:8080/sms/qadl.php?id=1976568/meta-data statusrequestdlr-mask31/dlr-maskdlr-url http://127.0.0.1/cgi-bin/kannel/kannel_dlr/dlr_handler.php?smsc_id=%iamp;msg_id=179775714amp;to=Xamp;state=%damp;response=%Aamp;sender=X/dlr-url /statusrequest/submit/message 2013-07-16 09:31:25 [3873] [3] INFO: sendsms used by kannel 2013-07-16 09:31:25 [3873] [3] INFO: sendsms sender:kannel:X (127.0.0.1) to:multi-cast msg: 2013-07-16 09:31:25 [3873] [3] DEBUG: Stored UUID e8649745-0af2-47d6-a470-5de5fe61ee9a 2013-07-16 09:31:25 [3873] [3] DEBUG: message length 0, sending 1 messages 2013-07-16 09:31:25 [3873] [3] DEBUG: Status: 202 Answer: Sent. Emeric, I use ASCII if you notice the config. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Thu, Jul 18, 2013 at 4:12 AM, emeric kamleu kaml...@yahoo.fr wrote: Just encode your app files to ANSI or UTF-8. You can use Notepad++ and convert them directly in ANSI or UTF-8. -- *De :* Rene Kluwen rene.klu...@chimit.nl *À :* 'Mohammad Ali Alfarra' mohammad.alfa...@info2cell.com; 'spameden' spame...@gmail.com *Cc :* users@kannel.org *Envoyé le :* Mercredi 17 juillet 2013 19h34 *Objet :* RE: SMS with question mark ? Try urlencoding it twice. So a question mark will look like %253F. *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Mohammad Ali Alfarra *Sent:* woensdag 17 juli 2013 15:47 *To:* spameden *Cc:* users@kannel.org *Subject:* Re: SMS with question mark ? yes I'm sure we use urlencode the ? also we use another special characters in the same message but it's complain about ? and = We got this error on smsc logs. 2013-07-16 09:29:25 [21294] [41] DEBUG: new group created `smpp' 2013-07-16 09:29:25 [21294] [41] DEBUG: group=`smpp' key=`message_payload' value=`[QAR4]SONAR To unsub send STOP 00 to 0### http://XXX.XXX.com:8080/sms/qadl.phphttp://xxx.xxx.com:8080/sms/qadl.php ' 2013-07-16 09:29:25 [21294] [41] ERROR: MDATA: Found '=' but not expected it end=-1 start=113 type=0. I changed some data on the above log to 0 or X. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Wed, Jul 17, 2013 at 4:18 PM, spameden spame...@gmail.com wrote: are you sure you did urlencode '?' ? it should look like this (single ? sign): %3F 2013/7/17 Mohammad Ali Alfarra mohammad.alfa...@info2cell.com Dears, Problem is: We're trying to send URL over SMS but the problem is that we use question mark ? on the URL, so whenever we send an MT we got an ERROR on SMSC logs and the message will delivered to the client empty. Config: SMSC group = smsc smsc = smpp interface-version = 34 smsc-id = testoperator connect-allow-ip = 127.0.0.1 allowed-smsc-id = testoperator log-file = /var/log/kannel1.5/smsc/testoperator_smsc.log log-level = 0 host = X.X.X.X port = 1 transceiver-mode = true smsc-username = User smsc-password = Pass system-type = NULL enquire-link-interval = 60 source-addr-ton = 5
Re: SMS with question mark ?
Thanks Alexander so much, it's working like charm. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Thu, Jul 18, 2013 at 12:51 PM, Mohammad Ali Alfarra mohammad.alfa...@info2cell.com wrote: Thanks Alexander, I'll give it shot then back to you. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Thu, Jul 18, 2013 at 12:31 PM, Alexander Malysh amal...@kannel.orgwrote: Hi, ok here is your error because you didn't encode metadata value: ?smpp?message_payload=[QAR4]SONAR To unsub send STOP 00 to 0### http://XXX.XXX.com:8080/sms/qadl.php?id=1976568http://xxx.xxx.com:8080/sms/qadl.php?id=1976568 should be: ?URLENCODE(smpp)?URLENCODE(message_payload)=URLENCODE([QAR4]SONAR To unsub send STOP 00 to 0### http://XXX.XXX.com:8080/sms/qadl.php?id=1976568http://xxx.xxx.com:8080/sms/qadl.php?id=1976568 ) -- result ?smpp?message_payload=%5BQAR4%5DSONAR+To+unsub+send+STOP+00+to+0%23%23%23http%3A%2F% 2FXXX.XXX.com http://2fxxx.xxx.com/ %3A8080%2Fsms%2Fqadl.php%3Fid%3D1976568 Am 18.07.2013 um 10:46 schrieb Mohammad Ali Alfarra mohammad.alfa...@info2cell.com: Hi All, Thanks all for your answers. Alexander, my Kannel version is 1.5. Rene, I'll try to urlencoding twice today. Mohammed, URL hited as XML POST, please find one example below: 2013-07-16 09:31:25 [3873] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2013-07-16 09:31:25 [3873] [3] DEBUG: XMLParsing: XML: ?xml version=1.0?messagesubmit danumberX/number/da oanumberX/number/oadcs coding0/coding/dcsfrom usernameX/usernamepasswordX/password binfo/binfo/from meta-data?smpp?message_payload=[QAR4]SONAR To unsub send STOP 00 to 0###http://XXX.XXX.com:8080/sms/qadl.php?id=1976568http://xxx.xxx.com:8080/sms/qadl.php?id=1976568/meta-data statusrequestdlr-mask31/dlr-maskdlr-url http://127.0.0.1/cgi-bin/kannel/kannel_dlr/dlr_handler.php?smsc_id=%iamp;msg_id=179775714amp;to=Xamp;state=%damp;response=%Aamp;sender=X/dlr-url /statusrequest/submit/message 2013-07-16 09:31:25 [3873] [3] INFO: sendsms used by kannel 2013-07-16 09:31:25 [3873] [3] INFO: sendsms sender:kannel:X (127.0.0.1) to:multi-cast msg: 2013-07-16 09:31:25 [3873] [3] DEBUG: Stored UUID e8649745-0af2-47d6-a470-5de5fe61ee9a 2013-07-16 09:31:25 [3873] [3] DEBUG: message length 0, sending 1 messages 2013-07-16 09:31:25 [3873] [3] DEBUG: Status: 202 Answer: Sent. Emeric, I use ASCII if you notice the config. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Thu, Jul 18, 2013 at 4:12 AM, emeric kamleu kaml...@yahoo.fr wrote: Just encode your app files to ANSI or UTF-8. You can use Notepad++ and convert them directly in ANSI or UTF-8. -- *De :* Rene Kluwen rene.klu...@chimit.nl *À :* 'Mohammad Ali Alfarra' mohammad.alfa...@info2cell.com; 'spameden' spame...@gmail.com *Cc :* users@kannel.org *Envoyé le :* Mercredi 17 juillet 2013 19h34 *Objet :* RE: SMS with question mark ? Try urlencoding it twice. So a question mark will look like %253F. *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Mohammad Ali Alfarra *Sent:* woensdag 17 juli 2013 15:47 *To:* spameden *Cc:* users@kannel.org *Subject:* Re: SMS with question mark ? yes I'm sure we use urlencode the ? also we use another special characters in the same message but it's complain about ? and = We got this error on smsc logs. 2013-07-16 09:29:25 [21294] [41] DEBUG: new group created `smpp' 2013-07-16 09:29:25 [21294] [41] DEBUG: group=`smpp' key=`message_payload' value=`[QAR4]SONAR To unsub send STOP 00 to 0### http://XXX.XXX.com:8080/sms/qadl.phphttp://xxx.xxx.com:8080/sms/qadl.php ' 2013-07-16 09:29:25 [21294] [41] ERROR: MDATA: Found '=' but not expected it end=-1 start=113 type=0. I changed some data on the above log to 0 or X. Sincerely --* Mohammad Ali Alfarra * System Administrator (RHCSS, RHCE, LPI-2, LPI-1, MCITP, MCSE) Support Mob: +962797062851 Email: mohammad.alfa...@info2cell.com On Wed, Jul 17, 2013 at 4:18 PM, spameden spame...@gmail.com wrote: are you sure you did urlencode '?' ? it should look like this (single ? sign): %3F 2013/7/17 Mohammad Ali Alfarra mohammad.alfa...@info2cell.com Dears, Problem is: We're trying to send URL over SMS but the problem is that we use question mark ? on the URL, so whenever we send an MT we got an ERROR on SMSC logs and the message will delivered to the client empty. Config: SMSC group = smsc smsc = smpp interface-version = 34 smsc-id =
Re: opensmppbox: error compiling latest version
Forgot to include list. Answer is below And your question related to users rather than devel list. 2013/7/18 spameden spame...@gmail.com hi, it's not an official source code for opensmppbox check here https://svn.kannel.org/opensmppbox/ 2013/7/18 Qqblog Qqblog qqb...@ymail.com i downloaded the latest version from https://github.com/pruiz/kannel-opensmppbox server: debian 7.1.0 ./configure make make all-recursive make[1]: Entering directory `/root/kannel-opensmppbox-master' Making all in gw make[2]: Entering directory `/root/kannel-opensmppbox-master/gw' /bin/bash ../libtool --tag=CC --mode=link gcc -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 -rdynamic -o opensmppbox box-dlr.o opensmppbox.o -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lmysqlclient_r -lrt -lresolv -lnsl -lm -lpthread -L/usr/lib -lxml2 -L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -ldl gcc -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 -rdynamic -o opensmppbox box-dlr.o opensmppbox.o -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lresolv -lnsl -L/usr/lib -lxml2 -L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -ldl /usr/bin/ld: cannot find -lgw /usr/bin/ld: cannot find -lwap /usr/bin/ld: cannot find -lgwlib collect2: error: ld returned 1 exit status make[2]: *** [opensmppbox] Error 1 make[2]: Leaving directory `/root/kannel-opensmppbox-master/gw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/kannel-opensmppbox-master' make: *** [all] Error 2 pls advise.