Subject: | Does not compile against heimdal 1.1.0 |
Date: | Tue, 25 Jan 2011 16:25:39 +0000 |
To: | bug-Authen-Krb5-Easy [...] rt.cpan.org |
From: | "Ryan T. Dean" <rtdean [...] cytherianage.net> |
Authen::Krb5::Easy does not compile against heimdal 1.1.0. The problem
is in the kexpires function. Compiler messages as follows:
Show quoted text
>>>>>>>>>>>>>>>
[root@amnesiac ~/Authen-Krb5-Easy-0.90]# make
cp Easy.pm blib/lib/Authen/Krb5/Easy.pm
/usr/local/bin/perl
/usr/local/lib/perl5/site_perl/5.10.1/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.10.1/ExtUtils/typemap Easy.xs > Easy.xsc && mv
Easy.xsc Easy.c
Please specify prototyping behavior for Easy.xs (see perlxs manual)
cc -c -I/usr/include
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.10.1/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -O2 -pipe -fno-strict-aliasing
-DVERSION=\"0.90\" -DXS_VERSION=\"0.90\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.10.1/mach/CORE" Easy.c
Easy.xs: In function 'XS_Authen__Krb5__Easy_kexpires':
Easy.xs:248: error: 'struct Principal' has no member named 'length'
Easy.xs:249: error: request for member 'data' in something not a
structure or union
Easy.xs:249: error: request for member 'data' in something not a
structure or union
Easy.xs:250: error: 'struct Principal' has no member named 'data'
Easy.xs:251: error: 'struct Principal' has no member named 'data'
Easy.xs:251: error: request for member 'data' in something not a
structure or union
Easy.xs:272: error: 'KRB5_TC_OPENCLOSE' undeclared (first use in this
function)
Easy.xs:272: error: (Each undeclared identifier is reported only once
Easy.xs:272: error: for each function it appears in.)
*** Error code 1
Stop in /root/Authen-Krb5-Easy-0.90.
<<<<<<<<<<<<<<<
If I remove the kexpires function, the module compiles just fine.