[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Compilation Trouble - session.c

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-12-01 19:27:07 CET

Sorry, this is a temporary oopsie; I wrote an interface in svn_ra.h
yesterday, Greg S. critiqued it, then I changed it. What I *didn't*
realize is that Greg had already started using the old interface!

So: either checkout the next-latest version of svn_ra.h, or wait till
later today, when Greg and I get this straightened out. :)

Sam TH <sam@uchicago.edu> writes:

> --opJtzjQTFsWo+cga
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> After lurking on the list a while, I decided to actually try
> subversion. Sadly, it has decided not to compile on my system (Debian
> Woody).
>
> The errors that I get are:
>
> /bin/sh ../../libtool --silent --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I.=
> -I../.. -I../include -I../../apr/include -I../../neon/src -D_REENTRANT -=
> pthread -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wp=
> ointer-arith -Wwrite-strings -Wshadow -Wredundant-decls -DSVN_DEBUG -DAP_DE=
> BUG -g -Wall -c session.c
> In file included from session.c:21:
> =2E./../neon/src/nsocket.h:130: warning: declaration of `socket' shadows gl=
> obal declaration
> =2E./../neon/src/nsocket.h:141: warning: declaration of `socket' shadows gl=
> obal declaration
> In file included from session.c:28:
> ra_dav.h:39: parse error before `svn_ra_init_params'
> ra_dav.h:39: warning: function declaration isn't a prototype
> session.c:118: warning: initialization from incompatible pointer type
> session.c:119: warning: initialization from incompatible pointer type
> session.c:120: warning: initialization from incompatible pointer type
> session.c:121: warning: initialization from incompatible pointer type
> session.c:123: warning: excess elements in struct initializer
> session.c:123: warning: (near initialization for `dav_plugin')
> session.c:126: parse error before `svn_ra_init_params'
> session.c:127: warning: function declaration isn't a prototype
> session.c: In function `svn_ra_dav_init':
> session.c:129: `abi_version' undeclared (first use in this function)
> session.c:129: (Each undeclared identifier is reported only once
> session.c:129: for each function it appears in.)
>
> It is possible to comment out svn_ra_dav_init and get session.c to
> compile, at which point other things start to break (unrelated to
> this). So I figured I just take this one step at a time.
>
> Thanks in advance=20
> =20
> sam th =20
> sam@uchicago.edu
> http://www.abisource.com/~sam/
> GnuPG Key: =20
> http://www.abisource.com/~sam/key
>
> --opJtzjQTFsWo+cga
> Content-Type: application/pgp-signature
> Content-Disposition: inline
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE6J5CDt+kM0Mq9M/wRAvepAJwIob009HbIj//nY7Prxfq1bRqmqwCgpLPU
> pG7fFas5QDB9rbVKFYw24vU=
> =wjkt
> -----END PGP SIGNATURE-----
>
> --opJtzjQTFsWo+cga--
Received on Sat Oct 21 14:36:16 2006

This is an archived mail posted to the Subversion Dev mailing list.