[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GCC Grundeinstellung ist daneben



Hallo *!

Auf einem Squeeze-Rechner ist das Setup von gcc irgendwie daneben.
Draufgekommen bin ich, weil ein configure-Skript gemosert hat:

checking whether the C compiler works... no
configure: error: in `/home/ha/dvbcut/dvbcut':
configure: error: C compiler cannot create executables

Deswegen habe ich es ganz simpel probiert:

hello.c ist das typische Helloworld.

$ gcc hello.c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

Das sollte doch eigentlich ohne irgendwelche Zusatzangaben funktionieren, oder?

$ locate crt1.o
/usr/lib/i386-linux-gnu/Mcrt1.o
/usr/lib/i386-linux-gnu/Scrt1.o
/usr/lib/i386-linux-gnu/crt1.o
/usr/lib/i386-linux-gnu/gcrt1.o

und das Paket libc6-dev, von dem mir ein Google-Treffer erzählt hat, dass crt1.o drin wäre, ist auch installiert.

Weiss jemand, was da zu tun ist?

Viele Grüße
Hartmut




Reply to: