Help: Cross-compile Kerberos 1.11.4

Benjamin Kaduk kaduk at MIT.EDU
Mon Nov 18 15:29:55 EST 2013


On Sun, 17 Nov 2013, Hui Li wrote:

> Hi,
>
> I cross-compile Kerberos for ARM arch.

Debian builds arm packages from our sources with no extra handling, so 
either something in your environment is wrong, or the cross-compile is the 
root cause.

> configure script command line:
>
> ac_cv_printf_positional=yes ac_cv_func_regcomp=yes krb5_cv_attr_constructor_destructor=yes ./configure  --host=arm-rpi-linux-gnueabi --prefix=/usr --sysconfdir=/etc --with-tcl=/home/huli/Projects/arm/arm-rpi-linux-gnueabi/arm-rpi-linux-gnueabi/sysroot/usr/lib

It seems rather unusual to me to be manually setting the autoconf 
variables on the configure command line.  In any case, looking at 
src/aclocal.m4 makes it seem that krb5_cv_attr_constructor_destructor 
should be two comma-separated values.  I expect that using yes,yes would 
get you farther (though I'm not sure whether setting it at all is 
correct).

-Ben Kaduk

> make[2]: Entering directory `/home/huli/Projects/contrib/krb5-1.11.4/src/util/support'
> arm-rpi-linux-gnueabi-gcc -fPIC -DSHARED   -I../../include -I../../include -I. -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE  -g -O2 -Wall -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Werror=uninitialized -Werror=declaration-after-statement -Werror-implicit-function-declaration -pthread -c threads.c -o threads.so.o && mv -f threads.so.o threads.so
> In file included from threads.c:32:0:
> ../../include/k5-platform.h:406:3: error: #error "Don't know how to do unload-time finalization for this configuration."
> # error "Don't know how to do unload-time finalization for this configuration."
>   ^


More information about the Kerberos mailing list