Please do man patch, you will find the answer.
sangprabv [email protected] On Jun 18, 2010, at 10:46 PM, Mohamed Ould Mohamed Salem wrote: > I downloaded the SMPPBox, tried to compile it but it gives some errors after > make: > > -------------------------------------------------------------------------- > SOURCE -D_FILE_OFFSET_BITS=64 -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; \ > then mv -f ".deps/smppbox.Tpo" ".deps/smppbox.Po"; else rm -f > ".deps/smppbox.Tpo"; exit 1; fi > smppbox.c:1851:1: warning: "OCTSTR" redefined > smppbox.c:1827:1: warning: this is the location of the previous definition > smppbox.c:1852:1: warning: "SINGLE_GROUP" redefined > smppbox.c:1830:1: warning: this is the location of the previous definition > smppbox.c:1855:1: warning: "MULTI_GROUP" redefined > smppbox.c:1837:1: warning: this is the location of the previous definition > smppbox.c: In function ‘send_pdu’: > smppbox.c:379: 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:379: error: too many arguments to function ‘smpp_pdu_pack’ > smppbox.c: In function ‘read_pdu’: > smppbox.c:436: error: too many arguments to function ‘smpp_pdu_unpack’ > make[2]: *** [smppbox.o] Error 1 > make[2]: Leaving directory `/root/trunks/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/trunks' > make: *** [all] Error 2 > > --------------------------------------------------------------------------------------- > I saw in one thread on the list that it should be patched, probably not the > right place to ask this question, but patch with what and how? > > > Yours, > Mohamed > --- On Fri, 6/18/10, Konstantin Vayner <[email protected]> wrote: > > From: Konstantin Vayner <[email protected]> > Subject: Re: Kannel as an SMSC > To: "Mohamed Ould Mohamed Salem" <[email protected]> > Date: Friday, June 18, 2010, 3:35 PM > > It's an svn tree > Use an svn (subversion) client and point it to that repository > > On Fri, Jun 18, 2010 at 4:30 PM, Mohamed Ould Mohamed Salem > <[email protected]> wrote: > Sorry for being a nood, > > but how do i download it, file by file? or is there a compressed file that i > missed? > > > Yours, > Mohamed > From: Konstantin Vayner <[email protected]> > To: Mohamed Ould Mohamed Salem <[email protected]> > Cc: Kannel users <[email protected]> > Sent: Fri, June 18, 2010 1:09:13 PM > Subject: Re: Kannel as an SMSC > > Hi Mohamed, > > You can use SMPPbox with Kannel - it is an smpp server > > There is opensource one release by Rene Kluwen - you can find it here: > https://svn.kannel.org/smppbox/trunk and it is supported by regular community > means (via this mailing list). > OR > Theres commercial smppbox created, maintained and supported by Stipe Tolj - > in this case you need to contact him directly regarding pricing and > availability. > > Regards, > Konstantin > > On Fri, Jun 18, 2010 at 3:57 PM, Mohamed Ould Mohamed Salem > <[email protected]> wrote: > Hello everyone, > > I want to connect my kannel box with another sms gateway via SMPP, with > neither of them being an smsc, is there a way to do this with kannel. > If not, can kannel act as an smsc? > > > Yours, > Mohamed > > > > > >
