alex@alex-desktop:~/Desktop/test$ gcc test.c /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by OpenSSH configure Portable, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = alex-desktop uname -m = i686 uname -r = 2.6.22-14-generic uname -s = Linux uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1861: checking for gcc configure:1877: found /usr/bin/gcc configure:1888: result: gcc configure:2126: checking for C compiler version configure:2133: gcc --version >&5 gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Copyright (C) 2006 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:2136: $? = 0 configure:2143: gcc -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) configure:2146: $? = 0 configure:2153: gcc -V >&5 gcc: '-V' option must have argument configure:2156: $? = 1 configure:2179: checking for C compiler default output file name configure:2206: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:2209: $? = 1 configure:2247: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenSSH" | #define PACKAGE_TARNAME "openssh" | #define PACKAGE_VERSION "Portable" | #define PACKAGE_STRING "OpenSSH Portable" | #define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2254: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## 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_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_prog_ac_ct_CC=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AWK='' CAT='' CC='gcc' CFLAGS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENT='' EXEEXT='' GREP='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTALL_SSH_PRNG_CMDS='' INSTALL_SSH_RAND_HELPER='' KILL='' LD='' LDFLAGS='' LIBEDIT='' LIBOBJS='' LIBS='' LOGIN_PROGRAM_FALLBACK='' LTLIBOBJS='' MAKE_PACKAGE_SUPPORTED='' MANTYPE='' NROFF='' OBJEXT='' OPENSC_CONFIG='' PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org' PACKAGE_NAME='OpenSSH' PACKAGE_STRING='OpenSSH Portable' PACKAGE_TARNAME='openssh' PACKAGE_VERSION='Portable' PATH_GROUPADD_PROG='' PATH_PASSWD_PROG='' PATH_SEPARATOR=':' PATH_USERADD_PROG='' PERL='' PRIVSEP_PATH='' PROG_ARP='' PROG_DF='' PROG_IFCONFIG='' PROG_IPCS='' PROG_JSTAT='' PROG_LAST='' PROG_LASTLOG='' PROG_LS='' PROG_NETSTAT='' PROG_PS='' PROG_SAR='' PROG_TAIL='' PROG_UPTIME='' PROG_VMSTAT='' PROG_W='' PROG_WHO='' RANLIB='' SED='' SH='' SHELL='/bin/bash' SSHDLIBS='' SSH_PRIVSEP_USER='' STARTUP_SCRIPT_SHELL='' STRIP_OPT='' TEST_MINUS_S_SH='' TEST_SHELL='' XAUTH_PATH='' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mansubdir='' oldincludedir='/usr/include' pdfdir='${docdir}' piddir='' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' user_path='' xauth_path='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "OpenSSH" #define PACKAGE_TARNAME "openssh" #define PACKAGE_VERSION "Portable" #define PACKAGE_STRING "OpenSSH Portable" #define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org" configure: exit 77