Package: libapache-mod-auth-kerb
Severity: normal
Tags: patch

When building 'libapache-mod-auth-kerb' on amd64 with gcc-4.0,
I get the following error:

gcc -DLINUX=22 -DEAPI -DTARGET="apache" -DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -O1  -g -Wall -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -fPIC -DSHARED_MODULE -I/usr/include/apache-1.3 -I. 
-Ispnegokrb5 -I/usr/include  -c spnegokrb5/asn1_MechType.c
In file included from spnegokrb5/asn1_MechType.c:9:
spnegokrb5/spnego_asn1.h:102: error: array type has incomplete element type
apxs:Break: Command failed with rc=1
make[1]: *** [src/mod_auth_kerb.so] Error 1
make[1]: Leaving directory `/libapache-mod-auth-kerb-4.996-5.0-rc5'
make: *** [build-stamp] Error 2

With the attached patch 'libapache-mod-auth-kerb' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN 
../tmp-orig/libapache-mod-auth-kerb-4.996-5.0-rc5/spnegokrb5/spnego_asn1.h 
./spnegokrb5/spnego_asn1.h
--- ../tmp-orig/libapache-mod-auth-kerb-4.996-5.0-rc5/spnegokrb5/spnego_asn1.h  
2003-09-05 10:54:08.000000000 +0200
+++ ./spnegokrb5/spnego_asn1.h  2005-03-22 00:39:07.561348451 +0100
@@ -99,7 +99,6 @@
 int    copy_ContextFlags  (const ContextFlags *, ContextFlags *);
 unsigned ContextFlags2int(ContextFlags);
 ContextFlags int2ContextFlags(unsigned);
-extern struct units ContextFlags_units[];
 
 /*
 NegTokenInit ::= SEQUENCE {


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to