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

Compilation Trouble - session.c

From: Sam TH <sam_at_uchicago.edu>
Date: 2000-12-01 12:50:28 CET

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=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I../../apr/include -I../../neon/src -D_REENTRANT -pthread -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wshadow -Wredundant-decls -DSVN_DEBUG -DAP_DEBUG -g -Wall -c session.c
In file included from session.c:21:
../../neon/src/nsocket.h:130: warning: declaration of `socket' shadows global declaration
../../neon/src/nsocket.h:141: warning: declaration of `socket' shadows global 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
           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:16 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.