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

[PATCH] Fix build failure with Apache HTTPD trunk

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: 2007-09-08 20:18:59 CEST

/bin/sh /var/tmp/subversion/libtool --tag=CC --silent --mode=compile i686-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -march=athlon64 -msse3 -pipe -O2 -fno-ident -pthread  -D_LARGEFILE64_SOURCE -DNE_LFS  -I/usr/include/apache2 -I./subversion/include -I./subversion -I/usr/include/neon -I/usr/include/apr-1  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/include/apr-1 -I/usr/include/db4.6 -I/usr/local/include    -o subversion/mod_authz_svn/mod_authz_svn.lo -c /var/tmp/subversion/subversion/mod_authz_svn/mod_authz_svn.c
/var/tmp/subversion/subversion/mod_authz_svn/mod_authz_svn.c:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/var/tmp/subversion/subversion/mod_authz_svn/mod_authz_svn.c: In function 'import_ap_satisfies':
/var/tmp/subversion/subversion/mod_authz_svn/mod_authz_svn.c: error: 'apr_OFN_ap_satisfies_t' undeclared (first use in this function)
/var/tmp/subversion/subversion/mod_authz_svn/mod_authz_svn.c:622: error: (Each undeclared identifier is reported only once
/var/tmp/subversion/subversion/mod_authz_svn/mod_authz_svn.c:622: error: for each function it appears in.)
/var/tmp/subversion/subversion/mod_authz_svn/mod_authz_svn.c:622: error: expected expression before ')' token
make: *** [subversion/mod_authz_svn/mod_authz_svn.lo] Error 1
...

It may be related to Apache r534533:
svn log -r534533 https://svn.apache.org/repos/asf/httpd/httpd/trunk
svn diff -c534533 https://svn.apache.org/repos/asf/httpd/httpd/trunk

I'm attaching a patch which seems to fix this problem.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on Sat Sep 8 20:18:52 2007

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.