[Auth_ldap] apr.h:270: error:
Jorge Prates
jorge.prates at ist.utl.pt
Wed May 17 08:20:48 PDT 2006
Hi!
I'm trying to make auth_ldap but got an error in
/usr/local/apache2/include/apr.h:270: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'apr_off_t'
but the line looks fine to me ...
typedef off64_t apr_off_t;
Thanks a lot
Jp
Here's what I got:
----------------------------------------
[auth_ldap-1.6.1]# ./configure
loading cache ./config.cache
checking for apxs... (cached) /usr/local/apache2/bin/apxs
checking whether apxs works... yes
checking for ber_init in -llber... (cached) yes
checking for ldap_init in -lldap... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for vprintf... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
creating ./config.status
creating Makefile
# make
gcc -c -o auth_ldap.o -DWITH_SHARED_LDAP_CACHE -DWITH_OPENLDAP
-I/usr/local/apache2/include auth_ldap.c
In file included from /usr/local/apache2/include/ap_config.h:25,
from /usr/local/apache2/include/httpd.h:43,
from auth_ldap.h:24,
from auth_ldap.c:20:
/usr/local/apache2/include/apr.h:270: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'apr_off_t'
In file included from /usr/local/apache2/include/apr_file_io.h:29,
from /usr/local/apache2/include/apr_network_io.h:26,
from /usr/local/apache2/include/httpd.h:53,
from auth_ldap.h:24,
from auth_ldap.c:20:
/usr/local/apache2/include/apr_file_info.h:204: error: expected
specifier-qualifier-list before 'apr_off_t'
In file included from /usr/local/apache2/include/apr_network_io.h:26,
from /usr/local/apache2/include/httpd.h:53,
from auth_ldap.h:24,
from auth_ldap.c:20:
/usr/local/apache2/include/apr_file_io.h:548: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_file_io.h:740: error: expected
declaration specifiers or '...' before 'apr_off_t'
In file included from /usr/local/apache2/include/httpd.h:53,
from auth_ldap.h:24,
from auth_ldap.c:20:
/usr/local/apache2/include/apr_network_io.h:545: error: expected
declaration specifiers or '...' before 'apr_off_t'
In file included from /usr/local/apache2/include/apr_buckets.h:32,
from /usr/local/apache2/include/httpd.h:54,
from auth_ldap.h:24,
from auth_ldap.c:20:
/usr/local/apache2/include/apr_mmap.h:134: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_mmap.h:161: error: expected declaration
specifiers or '...' before 'apr_off_t'
In file included from /usr/local/apache2/include/httpd.h:54,
from auth_ldap.h:24,
from auth_ldap.c:20:
/usr/local/apache2/include/apr_buckets.h:242: error: expected
specifier-qualifier-list before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:1447: error: expected
declaration specifiers or '...' before 'apr_off_t'
make: *** [auth_ldap.o] Interrupt
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.rudedog.org/pipermail/auth_ldap/attachments/20060517/0ac3463f/attachment.htm
More information about the Auth_ldap
mailing list