Re[2]: [parisc-linux] gcc on 0.9.3 iso problem

Joerg Hartmann Joerg Hartmann <J.Hartmann@reinarts.de>
Sat, 15 Dec 2001 19:34:48 +0100


>> hp-tux:/usr/src/samba-2.2.2/source# ./configure
>> creating cache ./config.cache
>> checking for gcc... gcc
>> checking whether the C compiler (gcc -O  ) works... no
>> configure: error: installation or configuration problem:
>>            C compiler cannot create executables.

RC> Look for a config.log file in the directory. The log should show what is
RC> wrong.

The problem is a missing "crt1.o"

# gcc -o conftest -O    conftest.c  1>&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

I have the same error with hello_world.c .
As i am not a c-coder this i a real problem for me ...
I know this is not PA-RISC Linux specific nor is it samba specific.
It's just a problem with the gcc from the 0.9.3 ISO (i think).

Maybe someone can explain, what i am doing wrong here ?
I have installed gcc from the CD with "apt-get install gcc"
and i thought it has been installed with all the files it depends on,
because there was no error message while i was doing it.

-- 
Best regards,
 Joerg                            J.Hartmann@reinarts.de