[Lazarus] "crti.o" "crtbegin.o" "crtend.o" "crtn.o"

Junior lazarus.linux at gmail.com
Tue Jun 4 01:50:47 CEST 2013


Hi all

When compiling fpc 2.7.1 realized these warnings:

-----------------------------------------------
fpmake.pp(218,1) Warning: "crti.o" not found, this will probably cause a 
linking failure
fpmake.pp(218,1) Warning: "crtbegin.o" not found, this will probably 
cause a linking failure
fpmake.pp(218,1) Warning: "crtend.o" not found, this will probably cause 
a linking failure
fpmake.pp(218,1) Warning: "crtn.o" not found, this will probably cause a 
linking failure
-----------------------------------------------

Included in the compilation shown below:

...
[100%] Compiled package utils
make[2]: Saindo do diretório `/home/junior/tmp/fpc/utils'
make[1]: Saindo do diretório `/home/junior/tmp/fpc'
make ide_all FPC=/home/junior/tmp/fpc/compiler/ppc386 
FPCFPMAKE=/home/junior/tmp/fpc/compiler/ppc386 RELEASE=1
make[1]: Entrando no diretório `/home/junior/tmp/fpc'
make -C ide all
make[2]: Entrando no diretório `/home/junior/tmp/fpc/ide'
/home/junior/tmp/fpc/compiler/ppc386 fpmake.pp 
-Fu/home/junior/tmp/fpc/rtl/units/i386-linux 
-Fu/home/junior/tmp/fpc/packages/paszlib/units/i386-linux 
-Fu/home/junior/tmp/fpc/packages/fcl-process/units/i386-linux 
-Fu/home/junior/tmp/fpc/packages/hash/units/i386-linux 
-Fu/home/junior/tmp/fpc/packages/libtar/units/i386-linux 
-Fu/home/junior/tmp/fpc/packages/fpmkunit/units/i386-linux
Free Pascal Compiler version 2.7.1 [2013/06/03] for i386
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling fpmake.pp
Linking fpmake
fpmake.pp(218,1) Warning: "crti.o" not found, this will probably cause a 
linking failure
fpmake.pp(218,1) Warning: "crtbegin.o" not found, this will probably 
cause a linking failure
fpmake.pp(218,1) Warning: "crtend.o" not found, this will probably cause 
a linking failure
fpmake.pp(218,1) Warning: "crtn.o" not found, this will probably cause a 
linking failure
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
220 lines compiled, 0.6 sec
4 warning(s) issued
...

-------------------------------------------------------------------------


The fpc compiles successfully.
In Lazarus, all compiled project appears this error.
The even happens when compiling Lazarus himself:


StartLazarus:
...
startlazarus.lpr(51,1) Warning: "crti.o" not found, this will probably 
cause a linking failure
startlazarus.lpr(51,1) Warning: "crtbegin.o" not found, this will 
probably cause a linking failure
startlazarus.lpr(51,1) Warning: "crtend.o" not found, this will probably 
cause a linking failure
startlazarus.lpr(51,1) Warning: "crtn.o" not found, this will probably 
cause a linking failure
Projeto "startlazarus" criado com sucesso.

---------------------------------------

LazBuild:
...
lazbuild.lpr(1622,1) Warning: "crti.o" not found, this will probably 
cause a linking failure
lazbuild.lpr(1622,1) Warning: "crtbegin.o" not found, this will probably 
cause a linking failure
lazbuild.lpr(1622,1) Warning: "crtend.o" not found, this will probably 
cause a linking failure
lazbuild.lpr(1622,1) Warning: "crtn.o" not found, this will probably 
cause a linking failure
Projeto "lazbuild" criado com sucesso.


thanks




More information about the Lazarus mailing list