WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 08.03.2006, 01:48   #1
RaistlinMajere
Inventar
 
Registriert seit: 06.04.2001
Alter: 44
Beiträge: 2.343


Standard ubuntu: gcc cannot create executables

beim kompilieren bekomme ich einen hinweis, daß der gcc keine executables erstellen kann.

im config.log nachgesehen zeigt sich, daß offenbar auf die datei

/usr/bin/ld

zugegriffen werden soll. die fehlermeldung meldet, daß diese nicht existiert, obwohl sie das sehr wohl tut. zugriffsrechte passen auch.

was hats da?
____________________________________
"Life is like a box of rockets," said the Marine. "You never know what you´re gonna ret."
Then he pulled the trigger of his BFG9000.
RaistlinMajere ist offline   Mit Zitat antworten
Alt 08.03.2006, 08:50   #2
helios
Veteran
 
Registriert seit: 21.06.2001
Beiträge: 343


helios eine Nachricht über ICQ schicken
Standard

welche fehlermeldungen kommen denn genau?
____________________________________
religion is a virus from outer space
helios ist offline   Mit Zitat antworten
Alt 08.03.2006, 10:17   #3
käptn
Inventar
 
Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150


Standard

Überprüf mal ob du auch das gcc meta-package installiert hast:

Code:
mike@honeybadger:~$ dpkg -l gcc\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  gcc            4.0.1-3        The GNU C compiler
un  gcc-2.95       <none>         (no description available)
un  gcc-3.2        <none>         (no description available)
ii  gcc-3.3-base   3.3.6-8ubuntu1 The GNU Compiler Collection (base package)
un  gcc-3.5        <none>         (no description available)
un  gcc-3.5-base   <none>         (no description available)
un  gcc-3.5-doc    <none>         (no description available)
ii  gcc-4.0        4.0.1-4ubuntu9 The GNU C compiler
ii  gcc-4.0-base   4.0.1-4ubuntu9 The GNU Compiler Collection (base package)
ii  gcc-4.0-doc    4.0.1-4ubuntu9 Documentation for the GNU compilers (gcc, go
~
____________________________________
LOL - Mein erstes Post im Programmier Forum

MACINTOSH - Most Applications Crash, If Not The Operating System Hangs
käptn ist offline   Mit Zitat antworten
Alt 08.03.2006, 15:10   #4
RaistlinMajere
Inventar
 
Registriert seit: 06.04.2001
Alter: 44
Beiträge: 2.343


Standard

Zitat:
Original geschrieben von helios
welche fehlermeldungen kommen denn genau?
der aufruf von ./configure bewirkt folgendes:
Code:
beginning autoconfiguration process for libnet-1.1.2.1...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-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 whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
in der config.log steht dazu dann folgendes:

Code:
...
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:2097: $? = 0
configure:2099: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2102: $? = 1
configure:2126: checking for C compiler default output
configure:2129: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2132: $? = 1
configure: failed program was:
...
____________________________________
"Life is like a box of rockets," said the Marine. "You never know what you´re gonna ret."
Then he pulled the trigger of his BFG9000.
RaistlinMajere ist offline   Mit Zitat antworten
Alt 08.03.2006, 15:48   #5
helios
Veteran
 
Registriert seit: 21.06.2001
Beiträge: 343


helios eine Nachricht über ICQ schicken
Standard

also der linker (/usr/bin/ld) ist schon da, aber der findet die datei crt1.o nicht.
____________________________________
religion is a virus from outer space
helios ist offline   Mit Zitat antworten
Alt 09.03.2006, 17:33   #6
RaistlinMajere
Inventar
 
Registriert seit: 06.04.2001
Alter: 44
Beiträge: 2.343


Standard problem gelöst

es haben ein paar gcc-bibliotheken gefehlt.

nach installation von libc6-dev funzt das kompilieren jetzt.

danke an alle.
____________________________________
"Life is like a box of rockets," said the Marine. "You never know what you´re gonna ret."
Then he pulled the trigger of his BFG9000.
RaistlinMajere ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 22:04 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag