default gcc doesn't work / crt1.o missing

Bug #163453 reported by Traumflug
2
Affects Status Importance Assigned to Milestone
gcc-4.1 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gcc-4.1

System:

Ubuntu 7.10 i386, installed on an empty partition using the downloadable CD.

Steps to reproduce:

1 - fetch and unpack a configure based source package

2 - ./configure

Result: gcc is found but doesn't work. config.log says:
[...]
configure:1951: checking for C compiler default output file name
configure:1954: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1957: $? = 1
[...]

Indeed, the file isn't available:
heb@rutan:~$ find / -name crt1.o 2>/dev/null
heb@rutan:~$

A few additional infos:

heb@rutan:~$ gcc --version
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 [...]

heb@rutan:~$ uname -a
Linux rutan 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Looking at the gcc-4.1 package in Synaptic, crt1.o doesn't appear in the file list either.

Revision history for this message
Jeff Bailey (jbailey) wrote :

You need to install "build-essential" in order for general compilation to work. This isn't included on the CD or default install to save space.

Changed in gcc-4.1:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.