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

where's that DAV_RESOURCE_TYPE_PRIVATE ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2000-10-27 10:27:45 CEST

Build problems is my middle name. :-P

I'm trying to build mod_dav_svn when I stuck on this:

% make
Making all in .
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../.. -I../include -I/home/dast/src/apache_2.0a7/src/include
-I/home/dast/src/apache_2.0a7/src/os/unix
-I/home/dast/src/apache_2.0a7/src/modules/dav/main
-I/home/dast/src/apache_2.0a7/src/lib/apr/include -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -I/usr/local/BerkeleyDB.3.1/include -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -DSVN_DEBUG
-DAP_DEBUG -g -Wall -c repos.c
repos.c: In function `dav_svn_get_resource':
repos.c:310: `DAV_RESOURCE_TYPE_PRIVATE' undeclared (first use in this
function)
repos.c:310: (Each undeclared identifier is reported only once
repos.c:310: for each function it appears in.)
make[1]: *** [repos.lo] Error 1
make: *** [all-recursive] Error 1

... I have the apache 2.0a7 version of the mod_dav.h include file:

% grep DAV_RESOURCE_TYPE apache_2.0a7/src/modules/dav/main/mod_dav.h
    DAV_RESOURCE_TYPE_UNKNOWN,
    DAV_RESOURCE_TYPE_REGULAR, /* file or collection; could be
    DAV_RESOURCE_TYPE_VERSION, /* version URL */
    DAV_RESOURCE_TYPE_HISTORY, /* version history URL */
    DAV_RESOURCE_TYPE_WORKING, /* working resource URL */
    DAV_RESOURCE_TYPE_WORKSPACE, /* workspace URL */
    DAV_RESOURCE_TYPE_ACTIVITY, /* activity URL */
    DAV_RESOURCE_TYPE_BASELINE /* baseline URL */

Where do I get the DAV_RESOURCE_TYPE_PRIVATE-aware include file? Do I need a
CVS'ed apache-tree?

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Sat Oct 21 14:36:12 2006

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