autoconf problem

View: New views
3 Messages — Rating Filter:   Alert me  

autoconf problem

by Clendon Gibson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,

I am trying to install the dxr3 driver on a home computer with a Hollywood RealMagic card. The machine is a 800 MHZ Celeron with Debian Etch on it. I have the 2.6.18-6 kernel.

I attempted to install the development tools to compile the module but I suspect I am missing something. When I do "./configure" in the top level is complains with the following messages.

checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

I think this is the relevant portion, but the whole thing is attached.

checking for gcc... gccconfigure:2130: gcc -V >&5
gcc: '-V' option must have argument
configure:2133: $? = 1
configure:2156: checking for C compiler default output file name
configure:2183: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

I figure that I am missing some portion of the development system, but it is not obvious to me which. Any help is appreciated. Thanks!

P.S. I apologize if this is the typical noob question that gets asked 20 times a day. I really did look at the website FAQ and the e-mail archives for this one and did not see it.
[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 EM8300 configure 0.17.1-rc1, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = Holly
uname -m = i686
uname -r = 2.6.18-6-686
uname -s = Linux
uname -v = #1 SMP Mon Aug 18 08:42:39 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/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/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1838: checking for gcc
configure:1854: found /usr/bin/gcc
configure:1865: result: gcc
configure:2103: checking for C compiler version
configure:2110: gcc --version >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
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:2113: $? = 0
configure:2120: 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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:2123: $? = 0
configure:2130: gcc -V >&5
gcc: '-V' option must have argument
configure:2133: $? = 1
configure:2156: checking for C compiler default output file name
configure:2183: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2186: $? = 1
configure:2224: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "EM8300"
| #define PACKAGE_TARNAME "em8300"
| #define PACKAGE_VERSION "0.17.1-rc1"
| #define PACKAGE_STRING "EM8300 0.17.1-rc1"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2231: 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. ##
## ----------------- ##

ACLOCAL=''
ALSA_DIR=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W=''
DEBUG_CFLAGS=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FIRMWARE_DIR=''
GLOBAL_CFLAGS=''
GREP=''
GTK_CFLAGS=''
GTK_LIBS=''
HAVE_GTK_FALSE=''
HAVE_GTK_TRUE=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
OBJEXT=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='EM8300'
PACKAGE_STRING='EM8300 0.17.1-rc1'
PACKAGE_TARNAME='em8300'
PACKAGE_VERSION='0.17.1-rc1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION=''
ac_ct_CC='gcc'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot=''
am__quote=''
am__tar=''
am__untar=''
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'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "EM8300"
#define PACKAGE_TARNAME "em8300"
#define PACKAGE_VERSION "0.17.1-rc1"
#define PACKAGE_STRING "EM8300 0.17.1-rc1"
#define PACKAGE_BUGREPORT ""

configure: exit 77


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: autoconf problem

by Bugzilla from blhiggins@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Clendon Gibson wrote (2008-10-05 2:06 pm):
> gcc: '-V' option must have argument

That part seems to be okay (that is, it's a non-fatal failure). The real
problem is this:
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

Seems you're missing the libc6-dev package, which contains the crt1.o file.
There are couple of other -dev packages you'll also need. Install the
libgtk2.0-dev and it ought to pull in libc6-dev as well as some others
required.

In case you didn't realise, the dxr3 drivers do have precompiled packages in
the contrib section ("em8300", et al.), though in Etch they're version
0.16.0, so perhaps a little dated.

Good luck!

Peace,
Brendon

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Parent Message unknown Re: autoconf problem

by Clendon Gibson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This was spot on and I was able to do the make and make install without problem.



----- Original Message ----
From: Brendon Higgins <blhiggins@...>
To: dxr3-devel@...; Clendon Gibson <bsandyman@...>
Sent: Sunday, October 5, 2008 8:26:16 PM
Subject: Re: [Dxr3-devel] autoconf problem

Hi,

Clendon Gibson wrote (2008-10-05 2:06 pm):
> gcc: '-V' option must have argument

That part seems to be okay (that is, it's a non-fatal failure). The real
problem is this:
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

Seems you're missing the libc6-dev package, which contains the crt1.o file.
There are couple of other -dev packages you'll also need. Install the
libgtk2.0-dev and it ought to pull in libc6-dev as well as some others
required.

In case you didn't realise, the dxr3 drivers do have precompiled packages in
the contrib section ("em8300", et al.), though in Etch they're version
0.16.0, so perhaps a little dated.

Good luck!

Peace,
Brendon


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel