Re: Big Help
Martin Pool <[email protected]> Fri, 16 Mar 2012 12:33:13 +1100
| Newsgroups | gmane.network.librsync.general |
|---|---|
| Message-ID | <CAA9uavBUBzGJ-bhQWiCohStPAT+Q-_zpe_Xhxd3Dinf=xT-FcA@mail.gmail.com> |
--===============4646610324080871372== Content-Type: multipart/alternative; boundary=e89a8ff1c8d4faad6404bb52329c --e89a8ff1c8d4faad6404bb52329c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, The best tutorial is probably to look at rdiff.c shipped in the librsync source. Is this for a university assignment or something? If you want more help you're going to have to be more specific about what's going wrong. m On 16 March 2012 12:25, malinda sanjaka <[email protected]> wrote: > Hi Martin, > First, Thank lot for your reply and I highly admire that your advise, > > Last few week, I tried to access the librsync library but still I couldn'= t > access it properly. > > my basic requirement is that uses the librsync library and write a simple > file synchornization program between two host by using C/C++ programming > language, > > do you have any simple code sample (Tutorial) and that I like to know > proper way of install the librsync library, what are the other dependent > program on linux that I want to install with librsync. > > > Please help me, this might be big help at this momement. > > > Thank you so much, > > Regards, > Malinda Sanjaka. > > > > ------------------------------ > *From:* Martin Pool <[email protected]> > *To:* malinda sanjaka <[email protected]> > *Cc:* "[email protected]" < > [email protected]> > *Sent:* Thursday, March 15, 2012 5:14 PM > *Subject:* Re: [librsync-users] Help!!!-solve this problem in librsysnc > library > > On 4 March 2012 07:46, malinda sanjaka <[email protected]> wrote: > > --------------------------------------------------------- > /usr/include/librsync.h:367: error: expected =E2=80=98)=E2=80=99 before = =E2=80=98*=E2=80=99 token > /usr/include/librsync.h:369: error: expected =E2=80=98)=E2=80=99 before = =E2=80=98*=E2=80=99 token > /usr/include/librsync.h:372: error: expected =E2=80=98)=E2=80=99 before = =E2=80=98*=E2=80=99 token > -------------------------------------------------------- > > > Often this means you're not including a depended-upon header file, and yo= u > should: > > - look at the specified line of the header file and see what token it's > talking about > - work out which header defines that name > - include it, or work out why it's not being read correctly > > So, what's on that line? > > -- > Martin > > > > --=20 Martin --e89a8ff1c8d4faad6404bb52329c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,<div><br></div><div>The best tutorial is probably to look at rdiff.c shi= pped in the librsync source.</div><div><br></div><div>Is this for a univers= ity assignment or something?<br></div><div><br></div><div>If you want more = help you're going to have to be more specific about what's going wr= ong.</div> <div><br></div><div>m</div><div><br><br><div class=3D"gmail_quote">On 16 Ma= rch 2012 12:25, malinda sanjaka <span dir=3D"ltr"><<a href=3D"mailto:msa= [email protected]">[email protected]</a>></span> wrote:<br><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p= adding-left:1ex"> <div><div style=3D"font-size:12pt;font-family:times new roman,new york,time= s,serif"><div><span>Hi Martin,</span></div><div><span>First, Thank lot for = your reply and </span>I highly admire that your advise, <br><input type=3D"= hidden"><input type=3D"hidden"></div> <div></div><br>Last few week, I tried to access the librsync library but st= ill I couldn't access it properly.<br><br>my basic requirement is that = uses the librsync library and write a simple file synchornization program b= etween two host by using C/C++ programming language, <br> <br>do you have any simple code sample (Tutorial) and that I like to know p= roper way of install the librsync library, what are the other dependent pro= gram on linux that I want to install with librsync.<br><br><br>Please help = me, this might be big help at this momement.<br> <br><br>Thank you so much,<br><br>Regards,<br>Malinda Sanjaka.<br><br><br><br> <div style=3D"font-family:times new roman,new yo= rk,times,serif;font-size:12pt"> <div style=3D"font-family:times new roman,n= ew york,times,serif;font-size:12pt"> <div dir=3D"ltr"> <font face=3D"Arial"= > <hr size=3D"1"> <b><span style=3D"font-weight:bold">From:</span></b> Martin Pool <<a h= ref=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;<br> <b><span style=3D"font-weight:bold">To:</span></b> malinda sanjaka = <<a href=3D"mailto:[email protected]" target=3D"_blank">msanjaka@yahoo.= com</a>> <br> <b><span style=3D"font-weight:bold">Cc:</span></b> "<a href=3D"mailto:= [email protected]" target=3D"_blank">librsync-users@list= s.sourceforge.net</a>" <<a href=3D"mailto:[email protected]= ceforge.net" target=3D"_blank">[email protected]</a>>= <br> <b><span style=3D"font-weight:bold">Sent:</span></b> Thursday, March 15, 2= 012 5:14 PM<br> <b><span style=3D"font-weight:bold">Subject:</span></b> Re:= [librsync-users] Help!!!-solve this problem in librsysnc library<br> </fon= t> </div> <br> <div><div>On 4 March 2012 07:46, malinda sanjaka <span dir=3D"ltr"><<a r= el=3D"nofollow" href=3D"mailto:[email protected]" target=3D"_blank">msanja= [email protected]</a>></span> wrote:<br><blockquote style=3D"margin:0 0 0 .8e= x;border-left:1px #ccc solid;padding-left:1ex"> <div>---------------------------------------------------------<br>/usr/incl= ude/librsync.h:367: error: expected =E2=80=98)=E2=80=99 before =E2=80=98*= =E2=80=99 token<br>/usr/include/librsync.h:369: error: expected =E2=80=98)= =E2=80=99 before =E2=80=98*=E2=80=99 token<br>/usr/include/librsync.h:372: error: expected =E2=80=98)=E2=80=99 = before =E2=80=98*=E2=80=99 token<br>---------------------------------------= ----------------- </div></blockquote></div><div><br></div>Often this means = you're not including a depended-upon header file, and you should:<div> <br></div><div>- look at the specified line of the header file and see what= token it's talking about=C2=A0</div><div>- work out which header defin= es that name=C2=A0</div><div>- include it, or work out why it's not bei= ng read correctly</div> <div><br></div><div>So, what's on that line?</div><span class=3D"HOEnZb= "><font color=3D"#888888"><div><div><br></div>-- <br>Martin<br><br> </div> </font></span></div><br><br> </div> </div> </div></div></blockquote></div>= <br><br clear=3D"all"><div><br></div>-- <br>Martin<br><br> </div> --e89a8ff1c8d4faad6404bb52329c-- --===============4646610324080871372== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure --===============4646610324080871372== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ librsync-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/librsync-users --===============4646610324080871372==--