<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Christo Crause via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Di., 11. Feb. 2020, 19:42:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 11, 2020 at 4:57 PM Luis - SoftSAT Sistemas <<a href="mailto:luis@softsatsistemas.com.br" target="_blank" rel="noreferrer">luis@softsatsistemas.com.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> You are using relative paths in -Fu and your current folder is c:\lazarus\fpc\3.0.4\source\packages\fcl-db, so<br>
> -Fu../../rtl should expand to -Fuc:\lazarus\fpc\3.0.4\source\rtl - the compiler is searching where it was told.<br>
This is done by the make file that come with the package.<br>
<br>
> It may be easier to just specify the absolute path to the compiled RTL units, for example:<br>
> -Fuc:\lazarus\fpc\3.0.4\units\rtl\your-target<br>
If i add this with `make OPT=-Fu....` it advances to next error and require another unit.<br>
<br>
>> C:/lazarus/fpc/3.0.4/bin/i386-win32/ppc386.exe fpmake.pp -n -Fu../../r<br>
if i edit the make file and remove the "-n" flag it compiles the fpmake but when fpmake is run its throws another error.<br>
<br>
Anyway, looks like there are some problem with the makefile or with something else on my system.<br></blockquote><div><br></div><div>I guess the problem is how to tell the make system when to use installed units and when to recompile units. Although it should be possible to figure out how to do this, I rather suggest an easier fix: just recompile everything with "make all install" from the base of the fpc source folder. This way the makefiles do all the tracking of where compiled units are. The few minutes this will take should be much less than the time spent trying to figure out how to fix your original problem.</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This will not work, because Lazarus does not distribute the complete sources. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>