(Gelöst) gcc cannot create executables

Status
Für weitere Antworten geschlossen.

cal

Member
Hallo,
probiere gerade mal ubuntu 7.04 "feisty" aus.
Zum ersten mal während einer BS-Installation Mahjonng gespielt!:D

Ubuntu macht die Hardwareerkennung problem- und (leider auch) kommentarlos.

Das erste Problem trat jetzt auf als ich kaffeine komplett zum laufen bringen wollte. Da es aber anscheinend kein Problem mit Multimedia sondern mit gcc ist poste ich mal hier.

Für x86_64 gibt es keine passende lib. Somit bleibt nur der Weg selbst zu kompilieren. Versuch scheitert schon hier:
Code:
root@testuntu:/home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
root@testuntu:/home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9#
Dies ist das config.log
Code:
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 = testuntu
uname -m = x86_64
uname -r = 2.6.20-15-generic
uname -s = Linux
uname -v = #2 SMP Sun Apr 15 06:17:24 UTC 2007

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

/bin/arch              = x86_64
/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:1531: checking build system type
configure:1549: result: x86_64-unknown-linux-gnu
configure:1557: checking host system type
configure:1571: result: x86_64-unknown-linux-gnu
configure:1579: checking target system type
configure:1593: result: x86_64-unknown-linux-gnu
configure:1622: checking for a BSD-compatible install
configure:1677: result: /usr/bin/install -c
configure:1688: checking whether build environment is sane
configure:1731: result: yes
configure:1796: checking for gawk
configure:1825: result: no
configure:1796: checking for mawk
configure:1812: found /usr/bin/mawk
configure:1822: result: mawk
configure:1832: checking whether make sets $(MAKE)
configure:1852: result: yes
configure:2069: checking for gcc
configure:2085: found /usr/bin/gcc
configure:2095: result: gcc
configure:2339: checking for C compiler version
configure:2342: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
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:2345: $? = 0
configure:2347: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-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 --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:2350: $? = 0
configure:2352: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2355: $? = 1
configure:2378: checking for C compiler default output file name
configure:2381: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2384: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libd[COLOR=Red].....[/COLOR]"
| #define VERSION "[COLOR=Red]....[/COLOR]9"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2423: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-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_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_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=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_target_alias=x86_64-unknown-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9/autotools/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9/autotools/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9/autotools/missing --run autoconf'
AUTOHEADER='${SHELL} /home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9/autotools/missing --run autoheader'
AUTOMAKE='${SHELL} /home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9/autotools/missing --run automake-1.9'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DOXYGEN=''
DOXYGEN_FALSE=''
DOXYGEN_TRUE=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LATEX=''
LATEX_FALSE=''
LATEX_TRUE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9/autotools/missing --run makeinfo'
OBJDUMP=''
OBJEXT=''
PACKAGE='lib[COLOR=Red].........[/COLOR]'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
SYS_BSDI_FALSE=''
SYS_BSDI_LIBDVD_FALSE=''
SYS_BSDI_LIBDVD_TRUE=''
SYS_BSDI_TRUE=''
SYS_MSVC_FALSE=''
SYS_MSVC_TRUE=''
VERSION='1[COLOR=Red].....[/COLOR]'
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/[COLOR=Red]........[/COLOR]/libd[COLOR=Red]........[/COLOR]9/autotools/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

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

#define PACKAGE "lib[COLOR=Red].......[/COLOR]"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "[COLOR=Red].....[/COLOR]9"

configure: exit 77
Da ich mir über die rechtliche Seite nicht sicher bin habe ich mal den Namen der lib unkenntlich gemacht, sie scheint ja mit dem Problem an sich nichts zu tun zu haben. Bei dem ebenfalls unkenntlich gemachten Dir handelt es sich um den User.

So nebenbei: Ich hoffe doch sehr daß alle geldgeilen Idioten, die sich so einen Schwachsinn ausdenken, der normalen usern das Leben schwermacht und bei dem angeblich verfolgten Zweck überhaupt nix bringt, möglichst bald aussterben.:mad:


Ich vermute mir fehlt noch irgendein Zusatz zum gcc, kenn mich aber nicht damit aus.

Kann mir bitte jemand weiterhelfen?
 

cal

Member
AW: gcc cannot create executables

Hallo Jacko,

Googlen ist wirklich nicht meins.
Kannstes glauben?
Ich such mich schon seit 12 Uhr dumm und dämlich und komm nicht auf die Idee nach dem Fehlertext zu suchen?

Danke
Jürgen
 

cal

Member
AW: gcc cannot create executables

gelöst:

Code:
apt-get install libc6-dev
andere Fehlermeldung

Code:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
dann:
Code:
apt-get install g++
 apt-get install  gcc-4.1-doc lib32stdc++6 libstdc++6-4.1-doc
Code:
cd Verzeichnis/der/lib
./configure
make
make install
läuft!

nochmals Danke
 
Status
Für weitere Antworten geschlossen.
Oben