I just discovery debian is not a good OS to compile and install apps.
On a VM, I install SlackWare, downloaded FCP binary, and Lazarus source code.
Install the FPC binary, and compile Lazarus source code. Lazarus compiled and runs with out a single problem!
Try to do the same thing on Debian, after purge and manual remove all referencies to previous installed Lazarus and FPC. Guess what ? Lazarus source code DIN'T COMPILE!!
With FPC 3.0.0 installed on Debian, I installed Lazarus 1.6 Debian package, run apt-get install -f, apt-get resolve some missing dependencies, and guess what ? Lazarus removed. I think it is funny! Reinstall Lazarus Debian package with dpkg -i and now it works...
Now when compiling a form, with out nothing inside it, I get 2 warnings:
project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
I think things are working now.
Debian is a great and stable system, if everything you want to install is found in the official repository, if not, the user need some work to make things working as it should.
Now there is more one question: I have two references in my system to crtn.o and crti.o
/usr/lib/debug/usr/lib/i386-linux-gnu/crtn.o
/usr/lib/i386-linux-gnu/crtn.o
/usr/lib/debug/usr/lib/i386-linux-gnu/crti.o
/usr/lib/i386-linux-gnu/crti.o
How can I make Lazarus see it ?