Home > Configure Error > Configure Error Cannot Check For File Existence When Cross Compiling

Configure Error Cannot Check For File Existence When Cross Compiling

I used following files for build: ============= APR ============= #!/bin/sh export PATH=/opt/eldk/usr/bin:/opt/eldk/bin:$PATH export ARCH=powerpc export CROSS_COMPILE=ppc_82xx- export CC=ppc_82xx-gcc export LD=ppc_82xx-ld export CXX=ppc_82xx-g++ export AR=ppc_82xx-ar export CPP=ppc_82xx-cpp export STRIP=ppc_82xx-strip ./configure \ --host=ppc-linux if test "$cross_compiling" = yes; then ! { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling ! teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 Oct 8, 2008 Posts: 6 View posts Location: Fredrikstad, Norway #2 Posted by anders.norman: Mon. his comment is here

Regards, Marta ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php Follow-Ups: Re: Problem cross-compiling Apache From: Matthias Kaehlcke Prev by Date: Re: Looking for memory leak detector with ARM EABI stack echo "$as_me: error: cannot run test program while cross compiling ! echo "$as_me: error: cannot run test program while cross compiling ! Description Matteo 'Peach' Pescarin 2010-10-23 10:05:40 UTC apr-1.4.2 target architecture is powerpc from a x86_64 machine I had to add --tag=CC to libtool options, but ended being blocked by this error. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26046

net> Date: 2008-06-12 7:12:09 Message-ID: 20080612071209.GA20170 () traven [Download message RAW] El Thu, Jun 12, 2008 at 08:44:23AM +0200 Marta Gros Marín ha dit: > I'm trying to cross-compile Apache for We recommend upgrading to the latest Safari, Google Chrome, or Firefox. fi fi rm -f conftest.val else ac_cv_sizeof_short=0 fi --- 35342,35352 ---- echo "$as_me: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; See also the # directive. # Listen @@[email protected]@ # # Determines who the system should run as. # User nobody Group nobody # # Dynamic Shared Object (DSO) Support #

  1. I came across a handy reference to this on the dev-etrax mail reflector: http://mhonarc.axis.se/dev-etrax/msg01096.html, the details of which are included below.
  2. And most of all, it requires you to know what you are doing The best option is of course to compile on the platform you will run Hiawatha on.
  3. using free software / Debian GNU/Linux | http://debian.org : :' : `. `'` gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `- ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php [prev in list] [next
  4. configure: error: cannot check for file existence when cross compiling Comment 1 Mark Wielaard 2006-01-31 12:42:43 UTC Dalibor could you take a look at this?
  5. if [ [email protected] = install ]; then \ metafiles --prefix $(prefix) ignore man; \ fi # We need to do distclean if we change target (the most common reason for #
  6. Here follows the script I use to compile Python with uClibc for my FoxBoard; you only need to adjust the AXIS_SDK variable and the 'configure' options to suit your needs.
  7. echo $ECHO_N "checking for /dev/zero... $ECHO_C" >&6 !
  8. echo "$as_me:$LINENO: checking for /dev/zero" >&5 !
  9. Peter 22 February 2009, 18:32 You may need to provide a parameter like '--with-random=/dev/urandom' to configure as it cannot detect the presence of a random number generating device for a target
  10. Several national standard autorities provide ntp servers for time keeping.

Quick-Howto: For a server setup consult: http://www.linuxhomenetworking.com/linux-hn/ntp.htm. ac_cv_file_dbd_apr_dbd_mysql_c=no ! configure: error: cannot check for file existence when cross compiling configure failed for srclib/apr I tried with this: ac_cv_file_dev_zero=no, also with "yes", I found both on the internet but neither of Note also that I do some cleanup for files I won't use at the end of the script - YMMV. /bin/bash export AXIS_SDK="/home/fox/devboard-R2_01/" export PATH="/usr/local/cris/bin:$AXIS_SDK/tools/build/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin" case "$1" in uclibc) HOST="cris-axis-linux-gnuuclibc" export

this option is only used for building compilers, the --host option is enough -- Matthias Kaehlcke Embedded Linux Engineer Barcelona The book of nature is written in the language of mathematics Copyright © by Hugo Leisink. fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else --- 33675,33685 ---- { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77 See \`config.log' https://curl.haxx.se/mail/lib-2010-05/0174.html QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui` EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget], AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]), AC_CHECK_FILE([$EXTRA_QT_INCLUDE_DIR/QWidget], QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR", AC_MSG_WARN([QWidget not found]))) AC_CHECK_PROG(MOC, [moc], [moc]) AC_CHECK_PROG(MOC, [moc-qt4], [moc-qt4]) fi But from Autoconf: Before using these macros, ask yourself

configure: error: cannot check for file existence when cross compiling I dont understand where this comes from at all... If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog /var/log/httpd/error_log # # LogLevel: Control the number else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF --- 39332,39348 ---- echo "$as_me:$LINENO: checking for working PROCESS_SHARED locks" >&5 echo $ECHO_N "checking for working PROCESS_SHARED can you please check the configure log why APR_HAVE_IOVEC was not detected properly, and check your headers for struct iovec where it is defined?

Things that should be included are: Program/Library version Program/Library webpage SDK version Running ./configure Version: Webpage: SDK version: 2.0+ It is very possible to use ./configure so that the application will I have: ./configure --host=arm-apple-darwin --prefix=/opt/CURL/arm --program-prefix=/usr/local/iphone --disable-shared --disable-crypto-auth --without-gnutls --with-ssl=/opt/OpenSSL/arm --without-zlib --without-libssh2 --disable-ipv6 --disable-manual --disable-http --enable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --enable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-manual --disable-ipv6 --disable-sspi --disable-cookies fi fi rm -f conftest.val else ac_cv_sizeof_int=0 fi --- 34514,34524 ---- echo "$as_me: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; configure: error: cannot check for file existence when cross compiling #2 Open Diaoul opened this Issue Nov 27, 2010 · 1 comment Labels None yet Milestone No milestone

fi ! this content In case of problems with the functioning of ASF Bugzilla, please contact [email protected] echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5 ! new_result=`expr "X$teststring" : ".*" 2>&1` && !

else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF --- 35272,35288 ---- echo "$as_me: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&2;} fi fi echo "$as_me:$LINENO: result: $apr_cv_mutex_robust_shared" >&5 echo "${ECHO_T}$apr_cv_mutex_robust_shared" >&6 if test "$apr_cv_mutex_robust_shared" = "yes"; then --- 39467,39477 ---- ( exit $ac_status ) apr_cv_mutex_robust_shared=no fi rm -f core *.core gmon.out bb.out else ! http://homeshareware.com/configure-error/configure-error-cannot-run-test-program-while-cross-compiling-samba.html fi fi rm -f conftest.val else ac_cv_sizeof_long_long=0 fi --- 35756,35766 ---- echo "$as_me: error: cannot compute sizeof (long long), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1;

By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "@[email protected]" # # Each directory to echo "$as_me:$LINENO: checking for dbd/apr_dbd_mysql.c" >&5 ! Can you please check if the --with-random is a Curl specific option or if it's a general option available in all configure scripts (say, like the --prefix option).

else !

Log in or register to post comments Top Jump To -AVR Microcontrollers--megaAVR and tinyAVR--AVR XMEGA--AVR UC3-Tools--Arduino--Atmel Studio (AVR-related)--Atmel Software Framework (ASF)--Evaluation and Development Kits--In-System Debuggers and Programmers--Compilers and General Programming-Learning and If you have any problems, feel free to e-mail me at axis-dev@headnut.org - Chris Verges, 9 May 2007 16:48 PST zlib Version: 1.2.3 Webpage: http://www.zlib.net SDK: 2.10 Compiler: 3.2.1 Axis release See \`config.log' for more details." >&5 ! This Makefile let you compile the program for cris. # CC:=cris-gcc -mlinux CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow \ -Waggregate-return -Wnested-externs -Winline -Wwrite-strings \ -Wstrict-prototypes CFLAGS += -Os LDFLAGS= -s

if [ [email protected] = install ]; then \ rm -Rf $(prefix)/usr/local/apache2/icons; \ rm -Rf $(prefix)/usr/local/apache2/man; \ rm -Rf $(prefix)/usr/local/apache2/manual; \ rm -Rf $(prefix)/usr/local/apache2/logs; \ \ mkdir -p $(prefix)/etc/httpd; \ cp -r Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 2 Star 21 Fork 4 sarav/syno-packager Code Issues 1 Pull requests 0 Projects echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;} ! { (exit 1); exit 1; }; } ! check over here ac_cv_file__dev_zero=no !

Back to Top