-Fu/usr/lib/fpc/$fpcversion/units/$fpctargetby this
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
-Fu/usr/share/fpcsrc/$fpcversion/(I am updating my files in /usr/share/fpcsrc/...)
-Fu/usr/share/fpcsrc/$fpcversion/*
-Fu/usr/share/fpcsrc/$fpcversion/rtl
-Fu/usr/share/fpcsrc/$fpcversion/packages/fcl-web/src/base/fphttpclient.pp
Free Pascal Compiler version 3.0.0 [2015/12/05] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling testupdatehttp.lpr
testupdatehttp.lpr(9,22) Fatal: Can't find unit fphttpclient used by testupdatehttp
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
[pid 477] open("/usr/share/fpcsrc/3.0.0/packages/fcl-web/src/base/", O_RDONLY|O_LARGEFILE) = 4
[pid 477] close(4)
I replace thisYou might want to read the documentation what -Fu means. Certainly it's NOT an option to point specific unit path. And even worse, you should NEVER point it to source code, only compiled units.Quote-Fu/usr/lib/fpc/$fpcversion/units/$fpctargetby this
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtlQuote-Fu/usr/share/fpcsrc/$fpcversion/
-Fu/usr/share/fpcsrc/$fpcversion/*
-Fu/usr/share/fpcsrc/$fpcversion/rtl
-Fu/usr/share/fpcsrc/$fpcversion/packages/fcl-web/src/base/fphttpclient.pp