[Lazarus] Compiling on Odroid / RaspberryPi

steveg steveg at nevets.com.au
Tue Mar 15 11:42:03 CET 2016


I am trying to compile Laz on an Odroid Arm system (running Lubuntu 
14.04 - LXDE)
I have fpc 3.1.1 compiled and installed ok (I believe)

Compiling the latest svn of Laz is giving the following error - (cant 
find unit)
process.ppu and friends are in 
/usr/local/lib/fpc/3.1.1/units/arm-linux/fcl-process

as far as I can tell, the make script seems to only scan within the base 
and rtl dirs ? - therefore not seeing process.ppu and others.

appreciate any thoughts here

In the svn'd Lazarus dir - make OPT='vt' gives the following (cut to 
beginning of problem)

Searching file registerfcl.pas... found
(10000) Unitsearch: process.ppu
Searching file process.ppu... not found
Searching file PROCESS.PPU... not found
(10000) Unitsearch: ../units/arm-linux/process.ppu
Searching file ../units/arm-linux/process.ppu... not found
Searching file ../units/arm-linux/PROCESS.PPU... not found
(10000) Unitsearch: process.pp
Searching file process.pp... not found
Searching file PROCESS.PP... not found
(10000) Unitsearch: process.pas
Searching file process.pas... not found
Searching file PROCESS.PAS... not found
(10000) Unitsearch: process.ppu
Searching file process.ppu... not found
Searching file PROCESS.PPU... not found
(10000) Unitsearch: process.pp
Searching file process.pp... not found
Searching file PROCESS.PP... not found
(10000) Unitsearch: process.pas
Searching file process.pas... not found
Searching file PROCESS.PAS... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.ppu
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.ppu... not found
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/PROCESS.PPU... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pp
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pp... not found
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/PROCESS.PP... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pas
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pas... not found
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/PROCESS.PAS... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/process.ppu
Searching file /usr/local/lib/fpc/3.1.1/process.ppu... not found
Searching file /usr/local/lib/fpc/3.1.1/PROCESS.PPU... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/process.pp
Searching file /usr/local/lib/fpc/3.1.1/process.pp... not found
Searching file /usr/local/lib/fpc/3.1.1/PROCESS.PP... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/process.pas
Searching file /usr/local/lib/fpc/3.1.1/process.pas... not found
Searching file /usr/local/lib/fpc/3.1.1/PROCESS.PAS... not found
(10000) Unitsearch: process.pp
Searching file process.pp... not found
Searching file PROCESS.PP... not found
(10000) Unitsearch: process.pas
Searching file process.pas... not found
Searching file PROCESS.PAS... not found
(10000) Unitsearch: process.pp
Searching file process.pp... not found
Searching file PROCESS.PP... not found
(10000) Unitsearch: process.pas
Searching file process.pas... not found
Searching file PROCESS.PAS... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pp
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pp... not found
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/PROCESS.PP... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pas
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/process.pas... not found
Searching file 
/usr/local/lib/fpc/3.1.1/units/arm-linux/rtl/PROCESS.PAS... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/process.pp
Searching file /usr/local/lib/fpc/3.1.1/process.pp... not found
Searching file /usr/local/lib/fpc/3.1.1/PROCESS.PP... not found
(10000) Unitsearch: /usr/local/lib/fpc/3.1.1/process.pas
Searching file /usr/local/lib/fpc/3.1.1/process.pas... not found
Searching file /usr/local/lib/fpc/3.1.1/PROCESS.PAS... not found
/media/odroid/10e421d6-9d3e-4a3e-9281-fb50d1bd13e1/Apps/lazarus/packager/registration/registerfcl.pas(45,22) 
Fatal: (10022) Can't find unit process used by RegisterFCL
Searching file registerfcl.pas... found
Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory 
`/media/odroid/10e421d6-9d3e-4a3e-9281-fb50d1bd13e1/Apps/lazarus/packager/registration'
make: *** [registration] Error 2




More information about the Lazarus mailing list