akerekes / mod-auth-external

Automatically exported from code.google.com/p/mod-auth-external
0 stars 0 forks source link

Cant compile source (mod-auth-external) #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download source (or get source with svn)
2. Compile (with apxs2 or make)
3. get errors

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

[error message]
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static 
i686-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
-D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 
-I/usr/include/openssl -I/usr/include/xmltok -pthread     
-I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0   -c -o 
mod_authnz_external.lo mod_authnz_external.c && touch mod_authnz_external.slo
mod_authnz_external.c:145:1: error: unknown type name 
'apr_OFN_ap_authn_cache_store_t'
mod_authnz_external.c:614:1: error: unknown type name 'authz_status'
mod_authnz_external.c: In function 'externalgroup_check_authorization':
mod_authnz_external.c:630:25: error: 'AUTHZ_DENIED_NO_USER' undeclared (first 
use in this function)
mod_authnz_external.c:630:25: note: each undeclared identifier is reported only 
once for each function it appears in
mod_authnz_external.c:633:28: error: 'AUTHZ_DENIED' undeclared (first use in 
this function)
mod_authnz_external.c:649:24: error: 'AUTHZ_GRANTED' undeclared (first use in 
this function)
mod_authnz_external.c: At top level:
mod_authnz_external.c:673:1: error: unknown type name 'authz_status'
mod_authnz_external.c: In function 'externalfilegroup_check_authorization':
mod_authnz_external.c:690:25: error: 'AUTHZ_DENIED_NO_USER' undeclared (first 
use in this function)
mod_authnz_external.c:693:28: error: 'AUTHZ_DENIED' undeclared (first use in 
this function)
mod_authnz_external.c:714:27: error: 'AUTHZ_GRANTED' undeclared (first use in 
this function)
mod_authnz_external.c: In function 'mock_turtle_cache':
mod_authnz_external.c:746:26: error: called object 'authn_cache_store' is not a 
function
mod_authnz_external.c: In function 'opt_retr':
mod_authnz_external.c:832:1: error: 'apr_OFN_ap_authn_cache_store_t' undeclared 
(first use in this function)
mod_authnz_external.c:832:2: error: expected expression before ')' token
mod_authnz_external.c: At top level:
mod_authnz_external.c:855:5: warning: initialization from incompatible pointer 
type [enabled by default]
mod_authnz_external.c:855:5: warning: (near initialization for 
'authz_externalgroup_provider.get_user_groups') [enabled by default]
mod_authnz_external.c:856:5: warning: excess elements in struct initializer 
[enabled by default]
mod_authnz_external.c:856:5: warning: (near initialization for 
'authz_externalgroup_provider') [enabled by default]
mod_authnz_external.c:863:5: warning: initialization from incompatible pointer 
type [enabled by default]
mod_authnz_external.c:863:5: warning: (near initialization for 
'authz_externalfilegroup_provider.get_user_groups') [enabled by default]
mod_authnz_external.c:864:5: warning: excess elements in struct initializer 
[enabled by default]
mod_authnz_external.c:864:5: warning: (near initialization for 
'authz_externalfilegroup_provider') [enabled by default]
mod_authnz_external.c: In function 'register_hooks':
mod_authnz_external.c:872:6: error: 'AUTHN_PROVIDER_VERSION' undeclared (first 
use in this function)
mod_authnz_external.c:873:32: error: 'AP_AUTH_INTERNAL_PER_CONF' undeclared 
(first use in this function)
mod_authnz_external.c:876:34: error: 'AUTHZ_PROVIDER_GROUP' undeclared (first 
use in this function)
mod_authnz_external.c:877:6: error: 'AUTHZ_PROVIDER_VERSION' undeclared (first 
use in this function)
mod_authnz_external.c: At top level:
mod_authnz_external.c:889:1: warning: data definition has no type or storage 
class [enabled by default]
mod_authnz_external.c:889:1: warning: parameter names (without types) in 
function declaration [enabled by default]
mod_authnz_external.c:889:1: error: function 'AP_DECLARE_MODULE' is initialized 
like a variable
mod_authnz_external.c:890:5: error: invalid initializer
mod_authnz_external.c:890:5: error: (near initialization for 
'AP_DECLARE_MODULE')
mod_authnz_external.c:890:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:890:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:890:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:890:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:890:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:890:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:890:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:890:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:890:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:890:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:890:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:890:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:890:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:890:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:891:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:891:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:892:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:892:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:893:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:893:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:894:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:894:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:895:5: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:895:5: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
mod_authnz_external.c:897:1: warning: excess elements in scalar initializer 
[enabled by default]
mod_authnz_external.c:897:1: warning: (near initialization for 
'AP_DECLARE_MODULE') [enabled by default]
apxs:Error: Command failed with rc=65536

Original issue reported on code.google.com by zen.i...@gmail.com on 24 Feb 2012 at 12:34

GoogleCodeExporter commented 9 years ago
Seeing the same here. A shame of a "release".

Original comment by virtuale...@gmail.com on 11 Jun 2012 at 3:55

GoogleCodeExporter commented 9 years ago
same here, any resolve?

Original comment by m...@mikejonesey.co.uk on 28 Aug 2013 at 4:00

GoogleCodeExporter commented 9 years ago
I'm guessing this is a version mismatch, but none of these reports include
(1) the version of Mod_authnz_external
(2) the version of Apache

The current version of mod_authnz_external compiles with the current version of 
apache. Please make sure that you are using

mod_authnz_external 3.3 for Apache 2.4
mod_authnz_external 3.2 for Apache 2.2
mod_auth_external 2.2 for Apache 2.0
mod_auth_external 2.0 for Apache 1.3

Original comment by j...@unixpapa.com on 12 Dec 2013 at 2:32