On Fri, 2004-08-13 at 14:16, Alfred M. Szmidt wrote: > checking for C compiler default output file name... configure: error: C > compiler cannot create executables > See `config.log' for more details. > > ############# --- END OF PASTE --- ############## > > I dont know autotools enough to do investigation about > this. (Although, I'll try to give it a shot). > > See `config.log' for more details. > > > Though, it does look as if your cross-compiler setup is broken. >
I'm not sure about that, Because if I'm not applying your nic-update and acupdate2.diff from Marco, I didn't get the Error. It can compile cleanly. Here I attach my config.log for more info. Best Regards. -arief
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Mach configure 1.4, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --enable-kmsg --enable-lpr --enable-floppy --enable-ide --enable-eexpresspro --enable-eexpress --enable-eexpresspro100 --prefix=/gnu --host=i386-gnu --build=i386-pc-linux-gnu --no-create --no-recursion ## --------- ## ## Platform. ## ## --------- ## hostname = damai uname -m = i686 uname -r = 2.6.7 uname -s = Linux uname -v = #1 Wed Jul 14 22:53:08 WIT 2004 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/bin/X11 PATH: /usr/local/sbin PATH: /usr/local/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1312: checking build system type configure:1330: result: i386-pc-linux-gnu configure:1338: checking host system type configure:1352: result: i386-pc-gnu configure:1420: checking for a BSD-compatible install configure:1475: result: /usr/bin/install -c configure:1490: checking for gawk configure:1506: found /usr/bin/gawk configure:1516: result: gawk configure:1534: checking for i386-gnu-gcc configure:1550: found /usr/bin/i386-gnu-gcc configure:1560: result: i386-gnu-gcc configure:1842: checking for C compiler version configure:1845: i386-gnu-gcc --version </dev/null >&5 gcc-3.2 (GCC) 3.2.3 (Debian) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1848: $? = 0 configure:1850: i386-gnu-gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-gnu/3.2.3/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-objc-gc i386-linux Thread model: posix gcc version 3.2.3 (Debian) /usr/lib/gcc-lib/i386-gnu/3.2.3/collect2 -m elf_i386 -dynamic-linker /lib/ld.so crt1.o crti.o /usr/lib/gcc-lib/i386-gnu/3.2.3/crtbegin.o -L/usr/lib/gcc-lib/i386-gnu/3.2.3 -rpath-link=/usr/i386-gnu/lib -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-gnu/3.2.3/crtend.o crtn.o /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:1853: $? = 1 configure:1855: i386-gnu-gcc -V </dev/null >&5 gcc-3.2: invalid version number format configure:1858: $? = 1 configure:1881: checking for C compiler default output file name configure:1884: i386-gnu-gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:1887: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU Mach" | #define PACKAGE_TARNAME "gnumach" | #define PACKAGE_VERSION "1.4" | #define PACKAGE_STRING "GNU Mach 1.4" | #define PACKAGE_BUGREPORT "bug-hurd@gnu.org" | #define MACH_KMSG | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1926: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-pc-linux-gnu ac_cv_build_alias=i386-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i386-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i386-pc-gnu ac_cv_host_alias=i386-gnu ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CC=i386-gnu-gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## AWK='gawk' CC='i386-gnu-gcc' CFLAGS='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LD='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MIG='' NM='' OBJEXT='' PACKAGE_BUGREPORT='bug-hurd@gnu.org' PACKAGE_NAME='GNU Mach' PACKAGE_STRING='GNU Mach 1.4' PACKAGE_TARNAME='gnumach' PACKAGE_VERSION='1.4' PATH_SEPARATOR=':' SHELL='/bin/sh' ac_ct_CC='' ac_ct_LD='' ac_ct_MIG='' ac_ct_NM='' bindir='${exec_prefix}/bin' build='i386-pc-linux-gnu' build_alias='i386-pc-linux-gnu' build_cpu='i386' build_os='linux-gnu' build_vendor='pc' cross_compiling='yes' datadir='${prefix}/share' exec_prefix='NONE' host='i386-pc-gnu' host_alias='i386-gnu' host_cpu='i386' host_os='gnu' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/gnu' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='${prefix}/etc' systype='i386' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define MACH_KMSG #define PACKAGE_BUGREPORT "bug-hurd@gnu.org" #define PACKAGE_NAME "GNU Mach" #define PACKAGE_STRING "GNU Mach 1.4" #define PACKAGE_TARNAME "gnumach" #define PACKAGE_VERSION "1.4" configure: exit 77