# (Gelöst) gcc cannot create executables

**URL:** <https://discourse.suseforum.de/t/geloest-gcc-cannot-create-executables/2169>\
**Category:** Ubuntu / Kubuntu (Archiv - read only)\
**Tags:** kubuntu-software\
**Created:** [29. April 2007 um 13:43 UTC](https://discourse.suseforum.de/t/geloest-gcc-cannot-create-executables/2169 "2007-04-29T13:43:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cal](https://discourse.suseforum.de/letter_avatar_proxy/v4/letter/c/f1d935/32.png) [@cal](https://discourse.suseforum.de/u/cal)\
**Post date:** [29. April 2007 um 13:43 UTC](https://discourse.suseforum.de/t/geloest-gcc-cannot-create-executables/2169/1 "2007-04-29T13:43:08Z")

</div>

Hallo,  
probiere gerade mal ubuntu 7.04 „feisty“ aus.  
Zum ersten mal während einer BS-Installation Mahjonng gespielt!😃

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/…/libd…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/…/libd…9#

[/code]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…“  
| #define VERSION „…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/…/libd…9/autotools/missing --run aclocal-1.9‘  
AMDEPBACKSLASH=‚‘  
AMDEP\_FALSE=‚‘  
AMDEP\_TRUE=‚‘  
AMTAR=‚${SHELL} /home/…/libd…9/autotools/missing --run tar‘  
AR=‚‘  
AS=‚‘  
AUTOCONF=‚${SHELL} /home/…/libd…9/autotools/missing --run autoconf‘  
AUTOHEADER=‚${SHELL} /home/…/libd…9/autotools/missing --run autoheader‘  
AUTOMAKE=‚${SHELL} /home/…/libd…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/…/libd…9/autotools/missing --run makeinfo‘  
OBJDUMP=‚‘  
OBJEXT=‚‘  
PACKAGE=‚lib…‘  
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…‘  
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/…/libd…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…“  
#define PACKAGE\_BUGREPORT „“  
#define PACKAGE\_NAME „“  
#define PACKAGE\_STRING „“  
#define PACKAGE\_TARNAME „“  
#define PACKAGE\_VERSION „“  
#define VERSION „…9“

configure: exit 77[/code]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?

---

<div class="post-metadata">

**Author:** ![Jacko](https://discourse.suseforum.de/letter_avatar_proxy/v4/letter/j/4af34b/32.png) [@Jacko](https://discourse.suseforum.de/u/Jacko)\
**Post date:** [29. April 2007 um 14:02 UTC](https://discourse.suseforum.de/t/geloest-gcc-cannot-create-executables/2169/2 "2007-04-29T14:02:20Z")

</div>

AW: gcc cannot create executables

Google gibt dazu einiges aus:

[gcc cannot create executables - Google Search](http://www.google.com/search?client=opera&rls=de&q=gcc+cannot+create+executables&sourceid=opera&ie=utf-8&oe=utf-8)

Wäre doch unglaublich, wenn da nichts dabei wäre, oder?

Grüße

Jacko

---

<div class="post-metadata">

**Author:** ![cal](https://discourse.suseforum.de/letter_avatar_proxy/v4/letter/c/f1d935/32.png) [@cal](https://discourse.suseforum.de/u/cal)\
**Post date:** [29. April 2007 um 14:41 UTC](https://discourse.suseforum.de/t/geloest-gcc-cannot-create-executables/2169/3 "2007-04-29T14:41:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cal](https://discourse.suseforum.de/letter_avatar_proxy/v4/letter/c/f1d935/32.png) [@cal](https://discourse.suseforum.de/u/cal)\
**Post date:** [29. April 2007 um 15:13 UTC](https://discourse.suseforum.de/t/geloest-gcc-cannot-create-executables/2169/4 "2007-04-29T15:13:15Z")

</div>

AW: gcc cannot create executables

gelöst:

`apt-get install libc6-dev`andere Fehlermeldung

`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
