[CMake] Re: problems compilating 2.4.7 under 2.2

Juan Sanchez Juan.Sanchez at amd.com
Wed Aug 8 12:15:56 EDT 2007


Please see:
http://felixker.com/tips-and-tricks/crt1o-no-such-file-no-such-file-or-directory/

>From the article (the Fedora instructions make no sense at all):

 While using gcc on a newly installed system you may get:
/usr/bin/ld: crt1.o: No such file: No such file or directory

This is a common problem, but with a simple solution.

On debian:
apt-get install libc6-dev

On Fedora:

$ locate crt1.o
/usr/lib/crt1.o

On Ubuntu:
apt-get install libc6-dev

{ If not root, sudo apt-get install libc6-dev }

Juan Sanchez wrote:
> In addition, if it is crt1.o which is missing, it is in glibc-devel on a
> redhat 7.3 system.
> 
> Regards,
> 
> Juan
> 
> Juan Sanchez wrote:
>> Matthew Woehlke wrote:
>>> Alex Dantart wrote:
>>>> Matthew Woehlke wrote:
>>>>> Alex Dantart wrote:
>> .
>> .
>> .
>>> Anyway, this line seems to be the important clue:
>>>> /usr/bin/ld: crt1.o No hay tal fichero: No existe el fichero ó directorio
>>> It looks almost like your compiler is not installed properly? Are you 
>>> able to compile and link a simple 'hello world!' program?
>>>
>> ld is the linker.  On a redhat system it's in the binutils package.  I
>> have no idea where it would be on ubuntu.  It is independent of the
>> compiler.
>>
>> Regards,
>>
>> Juan
>>
>>
>>
> 
> 


-- 
Juan Sanchez
Juan.Sanchez at amd.com
800-538-8450 Ext. 54395
512-602-4395




More information about the CMake mailing list