I am currently trying to install a driver for a USB internet connection on Ubuntu, but I keep getting an error message when I try compiling it. I go to the directory of the code, and type "./configure" and it starts doing something:
"Checking for gcc... gcc
Checking for c compiler, default output... configure: error: C compiler cannot create executables
see 'config.log' for more details"
In the config log the following is written:
(sorry, but I think the spacing was lost transferring the log from Ubuntu to windows)
"This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by dlansoftware configure v3, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = Mongoose
uname -m = i686
uname -r = 2.6.24-16-generic
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 13:23:42 UTC 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/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/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1396: checking for gcc
configure:1412: found /usr/bin/gcc
configure:1422: result: gcc
configure:1666: checking for C compiler version
configure:1669: gcc --version </dev/null >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 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:1672: $? = 0
configure:1674: gcc -v </dev/null >&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.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:1677: $? = 0
configure:1679: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1682: $? = 1
configure:1706: checking for C compiler default output
configure:1709: gcc -O conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1712: $? = 1
configure: failed program was:
| #line 1685 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "dlansoftware"
| #define PACKAGE_TARNAME "dlansoftware"
| #define PACKAGE_VERSION "v3"
| #define PACKAGE_STRING "dlansoftware v3"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1751: 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_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. ##
## ----------------- ##
ARCH=''
CC='gcc'
CFLAGS='-O'
CPP=''
CPPFLAGS=''
DEFS=''
DEPMOD=''
DLANSOFTWAREVERSION=''
DRIVERVERSION=''
DRV_DIR=''
DVRDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALLDRVDIR26=''
INSTALLDRVDIR=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IS26=''
KERNELDIR=''
KVERSION=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MANTYP=''
MKINSTALLDIR=''
MODFIL=''
MODPROBE=''
MODV=''
MODVERSION_INCLUDE=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='dlansoftware'
PACKAGE_STRING='dlansoftware v3'
PACKAGE_TARNAME='dlansoftware'
PACKAGE_VERSION='v3'
PATH_SEPARATOR=':'
SHELL='/bin/bash'
SHLICC2=''
SUBDIRS=''
TOOLDIR=''
USBDEF=''
V_INCLS=''
V_PCAPDEP=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
module_prefix=''
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 PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "dlansoftware"
#define PACKAGE_STRING "dlansoftware v3"
#define PACKAGE_TARNAME "dlansoftware"
#define PACKAGE_VERSION "v3"
configure: exit 77"
I saw on some thread somewhere that I need to install a compiler program, by typing something like "sudo apt-get install build-essential" but after typing this in the terminal, and putting in my password, it did some stuff but it didn't fix the compiler (if you want to see what it says when I run this ask)
Other stuff I heard I need to do in install g++ (or something) a program called kernel-headers(or something) and something else but without the internet I can't use the add or remove programs tool and I'm not sure how else to go about it.
Any help you can give me for this problem will be greatly appreciated, thank you.
Bookmarks