Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2013 19:15:09 -0800
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        Michael Ross <gmx@ross.cx>
Cc:        John Mehr <jcm@visi.com>, freebsd-stable@freebsd.org
Subject:   Re: svn - but smaller?
Message-ID:  <20130224031509.GA47838@icarus.home.lan>
In-Reply-To: <op.wszomvfyg7njmm@michael-think>
References:  <20130123144050.GG51786@e-Gitt.NET> <20130125092723.GC79995@e-Gitt.NET> <web-11528524@mailback4.g2host.com> <1359320641-6493504.60501067.fr0RL3aYw027137@rs149.luxsci.com> <web-10418670@mailback3.g2host.com> <1359380582-6256705.77592125.fr0SDgrYH000991@rs149.luxsci.com> <web-10502111@mailback3.g2host.com> <web-12014638@mailback4.g2host.com> <op.wszomvfyg7njmm@michael-think>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 24, 2013 at 03:45:57AM +0100, Michael Ross wrote:
> On Sun, 24 Feb 2013 01:36:36 +0100, John Mehr <jcm@visi.com> wrote:
> 
> >   Hello all,
> >   I've believe I've made just about all of the progress optimizing svnup
> >   as I can and I've just submitted it as a new port.  With my ~ 350kb/s
> >   DSL connection, it now takes just under 30 minutes to download a fresh
> >   base/releng/8.3 tree using svnup (Subversion's svn takes approximately
> >   12 minutes).  Incremental updates, such as tracking one of the stable
> >   branches takes only 2-3 minutes.
> >   For anyone that wants to preview the port before it gets added to the
> >   ports tree (assuming I got the send-pr correct), the tarball is
> >located
> >   at:
> >   http://jcm.dsl.visi.com/freebsd/svnup/svnup-0.5.tar.xz
> >   Please let me know if you find any issues.
> 
> 
> Maybe it's me, but:
> 
> No Makefile.
> So I try manually:
> 
> gurder> cc svnup.c
> /tmp//cconKEOv.o: In function `compare_md5':
> svnup.c:(.text+0x175e): undefined reference to `MD5Init'
> svnup.c:(.text+0x1774): undefined reference to `MD5Update'
> svnup.c:(.text+0x1785): undefined reference to `MD5End'
> /tmp//cconKEOv.o: In function `get_files':
> svnup.c:(.text+0x1f20): undefined reference to `MD5Init'
> svnup.c:(.text+0x1f4e): undefined reference to `MD5Update'
> svnup.c:(.text+0x1f5f): undefined reference to `MD5End'
> 
> 
> 9.0-STABLE FreeBSD 9.0-STABLE #17: Fri May  4 02:53:49 CEST 2012

Those are all defined in libmd (see MD5Init(3) man page).  Thus:

cc -o svnup svnup.c -lmd

-- 
| Jeremy Chadwick                                   jdc@koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130224031509.GA47838>