Help: Cross-compile Kerberos 1.11.4

Hui Li openlinuxsource at gmail.com
Sat Nov 16 13:25:34 EST 2013


Hi,

I cross-compile Kerberos for ARM arch.

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

Error output when executing make:

[huli at dhcp-193-161 src]$ make
(cd include && make autoconf.h osconf.h)
make[1]: Entering directory `/home/huli/Projects/contrib/krb5-1.11.4/src/include'
make[1]: Nothing to be done for `autoconf.h'.
make[1]: `osconf.h' is up to date.
make[1]: Leaving directory `/home/huli/Projects/contrib/krb5-1.11.4/src/include'
making all in util...
make[1]: Entering directory `/home/huli/Projects/contrib/krb5-1.11.4/src/util'
making all in util/support...
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."
   ^
threads.c:36:1: warning: data definition has no type or storage class [enabled by default]
 MAKE_FINI_FUNCTION(krb5int_thread_support_fini);
 ^
threads.c:36:1: warning: type defaults to 'int' in declaration of 'MAKE_FINI_FUNCTION' [-Wimplicit-int]
threads.c:36:1: warning: parameter names (without types) in function declaration [enabled by default]
threads.c:454:6: warning: no previous prototype for 'krb5int_thread_support_fini' [-Wmissing-prototypes]
 void krb5int_thread_support_fini (void)
      ^
make[2]: *** [threads.so] Error 1
make[2]: Leaving directory `/home/huli/Projects/contrib/krb5-1.11.4/src/util/support'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/home/huli/Projects/contrib/krb5-1.11.4/src/util'
make: *** [all-recurse] Error 1

Can anyone show me some tips on this issue?

Thanks.

Hui





More information about the Kerberos mailing list