My crossbuild of apr-1.5.1 for Arm is faling. Is this a Bug or did i missing a fancy compile option? Compile Options: APR_CONF_ENV := \ $(CROSS_ENV) \ ac_cv_file__dev_zero=yes \ ac_cv_sizeof_size_t=4 \ ac_cv_sizeof_ssize_t=4 \ ac_cv_struct_rlimit=yes \ apr_cv_mutex_robust_shared=no \ apr_cv_process_shared_works=yes \ ac_cv_func_setpgrp_void="yes" \ apr_cv_tcp_nodelay_with_cork="yes" \ ac_cv_sizeof_struct_iovec="8" \ apr_cv_mutex_recursive="yes" \ apr_cv_pthreads_lib="-lpthread" BuildError: x -I./include/arch/unix -I/ptxdist/platform-dnt3202/build-target/apr-1.5.1/include/arch/unix -I/ptxdist/platform-dnt3202/build-target/ apr-1.5.1/include -I/ptxdist/platform-dnt3202/build-target/apr-1.5.1/include/private -I/ptxdist/platform-dnt3202/build-target/apr-1.5. 1/include/private exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> apr.exp arm-v5te-linux-gnueabi-cpp -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/ptxdist/platform-dnt3202/build-target/apr-1.5.1/include/arch/uni x -I./include/arch/unix -I/ptxdist/platform-dnt3202/build-target/apr-1.5.1/include/arch/unix -I/ptxdist/platform-dnt3202/build-target/ apr-1.5.1/include -I/ptxdist/platform-dnt3202/build-target/apr-1.5.1/include/private -I/ptxdist/platform-dnt3202/build-target/apr-1.5.1/include/private export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp /ptxdist/platform-dnt3202/build-target/apr-1.5.1/build/mkdir.sh include/private tools/gen_test_char > include/private/apr_escape_test_char.h /bin/sh: tools/gen_test_char: cannot execute binary file make[2]: *** [include/private/apr_escape_test_char.h] Error 126 make[2]: Leaving directory `/ptxdist/platform-dnt3202/build-target/apr-1.5.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/ptxdist/platform-dnt3202/build-target/apr-1.5.1'
Created attachment 32485 [details] patch for cross compilation i got it working with the attachted patch. Plkease review and comment...