Your config.log is saying: /usr/bin/ld: crt1.o: No such file: No such file or directory
When gcc tries to compile conftest.c Short: You need build-essential in your Ubuntu. # sudo apt-get install build-essential M On 1/7/07, Stuart Steele <[EMAIL PROTECTED]> wrote:
I hope this list takes attachments as I am not sure how to cut and paste from VI into email ( ex-windows bunny!) Config.log -------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = stuart-laptop uname -m = i686 uname -r = 2.6.15-26-386 uname -s = Linux uname -v = #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 /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: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1479: checking build system type configure:1497: result: i686-pc-linux-gnulibc1 configure:1505: checking host system type configure:1519: result: i686-pc-linux-gnulibc1 configure:1575: checking for gcc configure:1591: found /usr/bin/gcc configure:1601: result: gcc configure:1845: checking for C compiler version configure:1848: gcc --version </dev/null >&5 gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) 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:1851: $? = 0 configure:1853: gcc -v </dev/null >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=- 4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) configure:1856: $? = 0 configure:1858: gcc -V </dev/null >&5 gcc: '-V' option must have argument configure:1861: $? = 1 configure:1884: checking for C compiler default output file name configure:1887: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:1890: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define GW_NAME "Kannel" | #define GW_VERSION "1.4.1" | #define VERSION "1.4.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1929: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnulibc1 ac_cv_build_alias=i686-pc-linux-gnulibc1 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_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_host=i686-pc-linux-gnulibc1 ac_cv_host_alias=i686-pc-linux-gnulibc1 ac_cv_prog_ac_ct_CC=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='gcc' CFLAGS='' CONVERT='' CPP='' CPPFLAGS='' DEFS='' DOCDRAFTS='' DOCSTARGET='' DVIPS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXE_EXT='' FIG2DEV='' GW_VERSION='' HTML_DSL='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' JADE='' JADETEX='' LDFLAGS='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBOBJS='' LIBS='' LIBTOOL='' LTLIBOBJS='' MYSQL_CONFIG='' OBJEXT='' OPENSSL='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PCRE_CONFIG='' PDFJADETEX='' PERL='' PGSQL_CONFIG='' PKGADD_NAME='Kannel - WAP and SMS gateway' PKGADD_PKG='KANNELgateway' PKGADD_VENDOR='www.kannel.org' RANLIB='' SDB_CONFIG='' SHELL='/bin/sh' SIZEOF_INT='' SIZEOF_LONG='' SIZEOF_LONG_LONG='' SIZEOF_SHORT='' SQLITE3='' SQLITE='' STARTSTOPDAEMONSRC='' SUFFIX='' TEX_DSL='' VERSION='1.4.1' XML_CONFIG='' YACC='' ac_ct_CC='gcc' ac_ct_RANLIB='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnulibc1' build_alias='' build_cpu='i686' build_os='linux-gnulibc1' build_vendor='pc' datadir='${prefix}/share' docdir='${prefix}/share/doc/kannel' exec_prefix='NONE' host='i686-pc-linux-gnulibc1' host_alias='' host_cpu='i686' host_os='linux-gnulibc1' 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='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define GW_NAME "Kannel" #define GW_VERSION " 1.4.1" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION " 1.4.1" configure: exit 77 On 07/01/07, Mi Reflejo <[EMAIL PROTECTED]> wrote: > It's a problem related to your compiler and compiler options/flags. > Which compiler/version are you using? > > Please post your config.log > > M > > On 1/7/07, Stuart Steele < [EMAIL PROTECTED]> wrote: > > I am having trouble compiling kannel, I get the following > > > > configure error C compiler cannot create executables > > > > Thanks in advance > > > > Stuart > > > > -- > > Stuart Steele > > > > StuWeb Race Management Services > > www.stuweb.co.uk > > -- Stuart Steele StuWeb Race Management Services www.stuweb.co.uk