2009/12/12 Mattias Gaertner <[email protected]>: > Probably you have somewhere an old ppu from your former experiments in > the search path. Add options -vu -vt to find out where it is.
No, I don't have any old ppu. I restarted from a fresh ubuntu installation (it is a virtual machine, so I just overwrite the hard disk image). But I don't know where to put -vu -vt options in Lazarus IDE... I tried in Project->Compiler Options->Compilation->Show Options and added to the end. See below for: 1) Lazarus IDE compiling errors 2) command line compiling errors > Open the IDE compiler options. You can see that the IDE passes some -Fu > and other options. Simply copy those options if you want to compile > at the command line. Do you mean these Project->Compiler Options->Compilation->Show Options ? Thank You! Kjow 1) Lazarus IDE compiling errors Hint: Start of reading config file /home/kjow/.fpc.cfg Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Hint: End of reading config file /home/kjow/.fpc.cfg Free Pascal Compiler version 2.5.1 [2009/12/12] for arm Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Linux for ARM Compiling LAzARM.lpr Compiling /home/kjow/lazarus/lcl/interfacebase.pp Compiling /home/kjow/lazarus/lcl/lclstrconsts.pas Writing Resource String Table file: lclstrconsts.rst Assembling lclstrconsts Compiling /home/kjow/lazarus/lcl/lcltype.pp /home/kjow/lazarus/lcl/lcltype.pp(98,18) Hint: Type "HGLOBAL" redefinition Assembling lcltype Compiling /home/kjow/lazarus/lcl/lclproc.pas Compiling /home/kjow/lazarus/lcl/fpcadds.pas Assembling fpcadds Compiling /home/kjow/lazarus/lcl/avglvltree.pas Assembling avglvltree Compiling /home/kjow/lazarus/lcl/fileutil.pas Compiling /home/kjow/lazarus/lcl/masks.pas Assembling masks /home/kjow/lazarus/lcl/include/fileutil.inc(844,37) Hint: Local variable "st" does not seem to be initialized /home/kjow/lazarus/lcl/include/fileutil.inc(890,32) Hint: Local variable "info" does not seem to be initialized /home/kjow/lazarus/lcl/include/fileutil.inc(1058,34) Hint: Local variable "Info" does not seem to be initialized Assembling fileutil /home/kjow/lazarus/lcl/lclproc.pas(1122,33) Hint: Parameter "ShortCut" not used /home/kjow/lazarus/lcl/lclproc.pas(2330,18) Hint: Conversion between ordinals and pointers is not portable /home/kjow/lazarus/lcl/lclproc.pas(34,51) Hint: Unit "FPCAdds" not used in LCLProc Assembling lclproc Compiling /home/kjow/lazarus/lcl/lmessages.pp Compiling /home/kjow/lazarus/lcl/graphtype.pp /home/kjow/lazarus/lcl/graphtype.pp(493,41) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors. /home/kjow/lazarus/lcl/graphtype.pp(541,37) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors. /home/kjow/lazarus/lcl/graphtype.pp(1409,18) Hint: Local variable "R" does not seem to be initialized /home/kjow/lazarus/lcl/graphtype.pp(32,10) Hint: Unit "FPCAdds" not used in GraphType Assembling graphtype /home/kjow/lazarus/lcl/lmessages.pp(530,16) Hint: Type "PWindowPos" redefinition /home/kjow/lazarus/lcl/lmessages.pp(531,18) Hint: Type "tagWINDOWPOS" redefinition /home/kjow/lazarus/lcl/lmessages.pp(540,16) Hint: Type "TWindowPos" redefinition /home/kjow/lazarus/lcl/lmessages.pp(541,15) Hint: Type "WINDOWPOS" redefinition Assembling lmessages Compiling /home/kjow/lazarus/lcl/graphmath.pp /home/kjow/lazarus/lcl/graphmath.pp(47,12) Hint: Type "PPoint" redefinition /home/kjow/lazarus/lcl/graphmath.pp(521,31) Hint: Local variable "Right" does not seem to be initialized /home/kjow/lazarus/lcl/graphmath.pp(521,25) Hint: Local variable "Left" does not seem to be initialized /home/kjow/lazarus/lcl/graphmath.pp(581,62) Hint: Local variable "B" does not seem to be initialized Assembling graphmath Compiling /home/kjow/lazarus/lcl/themes.pas Compiling /home/kjow/lazarus/lcl/tmschema.pas Assembling tmschema Compiling /home/kjow/lazarus/lcl/interfacebase.pp /home/kjow/lazarus/lcl/interfacebase.pp(101,32) Hint: Parameter "Small" not used /home/kjow/lazarus/lcl/interfacebase.pp(101,39) Hint: Parameter "Big" not used ... /home/kjow/lazarus/lcl/intfgraphics.pas(609,45) Hint: Parameter "Img" not used /home/kjow/lazarus/lcl/intfgraphics.pas(653,19) Hint: Local type "PFPColorBytes" is not used /home/kjow/lazarus/lcl/intfgraphics.pas(34,70) Hint: Unit "FPCAdds" not used in IntfGraphics Assembling intfgraphics Compiling /home/kjow/lazarus/lcl/imglist.pp Compiling /home/kjow/lazarus/lcl/lclclasses.pp PPU Loading /home/kjow/lazarus/lcl/units/arm-linux/wslclclasses.ppu PPU Source: wslclclasses.pp not found Recompiling WSLCLClasses, checksum changed for LCLProc wslclclasses.pp(32,56) Fatal: Can't find unit WSLCLClasses used by LCLClasses 2) command line compiling errors Configfile search: /home/kjow/.fpc.cfg Reading options from file /home/kjow/.fpc.cfg Reading options from file /etc/fpc.cfg Free Pascal Compiler version 2.5.1 [2009/12/12] for arm Copyright (c) 1993-2009 by Florian Klaempfl Searching file /home/kjow/lazarus/fpc//lib/ld-linux.so.2... not found Searching file /home/kjow/lazarus/fpc//lib/ld-uClibc.so.0... not found Compiler: /usr/lib/fpc/2.5.1/ppcrossarm Target OS: Linux for ARM Using executable path: /usr/lib/fpc/2.5.1/ Using unit path: /home/kjow/lazarus/lcl/nonwin32/ Using unit path: /home/kjow/lazarus/lcl/ Using unit path: /usr/lib/fpc/2.5.1/units/arm-linux/rtl/ Using unit path: /usr/lib/fpc/2.5.1/units/arm-linux/dbus/ Using unit path: /usr/lib/fpc/2.5.1/units/arm-linux/libcurl/ ... Using unit path: /usr/lib/fpc/2.5.1/ Using include path: /home/kjow/lazarus/lcl/include/ Using library path: /usr/lib/fpc/2.5.1/units/arm-linux/rtl/ Using library path: /home/kjow/lazarus/lcl/nonwin32/ Using library path: /home/kjow/lazarus/lcl/ Using library path: /usr/lib/fpc/2.5.1/units/arm-linux/dbus/ ... Using library path: /usr/lib/fpc/2.5.1/ Using object path: /home/kjow/lazarus/lcl/nonwin32/ Using object path: /home/kjow/lazarus/lcl/ Using object path: /usr/lib/fpc/2.5.1/units/arm-linux/rtl/ Using object path: /usr/lib/fpc/2.5.1/units/arm-linux/dbus/ ... Using object path: /usr/lib/fpc/2.5.1/ Compiling LAzARM.lpr Searching file LAzARM.lpr... found (LAZARM) Registering new unit SYSTEM (LAZARM) Load from LAZARM (implementation) unit SYSTEM (SYSTEM) Loading unit SYSTEM Unitsearch: system.ppu Searching file system.ppu... not found Searching file SYSTEM.PPU... not found Unitsearch: system.pp Searching file system.pp... not found Searching file SYSTEM.PP... not found Unitsearch: system.pas Searching file system.pas... not found Searching file SYSTEM.PAS... not found Unitsearch: /home/kjow/lazarus/lcl/nonwin32/system.ppu Searching file /home/kjow/lazarus/lcl/nonwin32/system.ppu... not found Searching file /home/kjow/lazarus/lcl/nonwin32/SYSTEM.PPU... not found Unitsearch: /home/kjow/lazarus/lcl/nonwin32/system.pp Searching file /home/kjow/lazarus/lcl/nonwin32/system.pp... not found Searching file /home/kjow/lazarus/lcl/nonwin32/SYSTEM.PP... not found Unitsearch: /home/kjow/lazarus/lcl/nonwin32/system.pas Searching file /home/kjow/lazarus/lcl/nonwin32/system.pas... not found Searching file /home/kjow/lazarus/lcl/nonwin32/SYSTEM.PAS... not found ... PPU Loading /usr/lib/fpc/2.5.1/units/arm-linux/rtl/system.ppu (SYSTEM) PPU Name: /usr/lib/fpc/2.5.1/units/arm-linux/rtl/system.ppu (SYSTEM) PPU Time: 2009/12/12 13:50:17 (SYSTEM) PPU Flags: 258177 (SYSTEM) PPU Crc: 1FF850C3 (SYSTEM) PPU Crc: 94512A7B (intfc) (SYSTEM) Number of definitions: 3923 (SYSTEM) Number of symbols: 11410 (SYSTEM) Finished loading unit SYSTEM Searching file LAzARM.lpr... found Searching file LAzARM.lpr... found (LAZARM) Registering new unit FPINTRES (LAZARM) Load from LAZARM (implementation) unit FPINTRES (FPINTRES) Loading unit FPINTRES Unitsearch: fpintres.ppu Searching file fpintres.ppu... not found Searching file FPINTRES.PPU... not found Unitsearch: fpintres.pp Searching file fpintres.pp... not found Searching file FPINTRES.PP... not found Unitsearch: fpintres.pas Searching file fpintres.pas... not found Searching file FPINTRES.PAS... not found Unitsearch: /home/kjow/lazarus/lcl/nonwin32/fpintres.ppu Searching file /home/kjow/lazarus/lcl/nonwin32/fpintres.ppu... not found ... (OBJPAS) Add dependency of OBJPAS to SYSTEM (OBJPAS) Finished loading unit OBJPAS Searching file LAzARM.lpr... found (LAZARM) Registering new unit INTERFACES (LAZARM) Registering new unit FORMS (LAZARM) Registering new unit MAIN (LAZARM) Registering new unit LRESOURCES (LAZARM) Load from LAZARM (implementation) unit INTERFACES (INTERFACES) Loading unit INTERFACES Unitsearch: Interfaces.ppu Searching file Interfaces.ppu... not found Searching file interfaces.ppu... not found Searching file INTERFACES.PPU... not found Unitsearch: Interfaces.pp Searching file Interfaces.pp... not found Searching file interfaces.pp... not found Searching file INTERFACES.PP... not found Unitsearch: Interfaces.pas Searching file Interfaces.pas... not found Searching file interfaces.pas... not found Searching file INTERFACES.PAS... not found Unitsearch: /home/kjow/lazarus/lcl/nonwin32/Interfaces.ppu Searching file /home/kjow/lazarus/lcl/nonwin32/Interfaces.ppu... not found Searching file /home/kjow/lazarus/lcl/nonwin32/interfaces.ppu... not found ... ... ... ... ... ... Unitsearch: /home/kjow/lazarus/lcl/Interfac.pas Searching file /home/kjow/lazarus/lcl/Interfac.pas... not found Searching file /home/kjow/lazarus/lcl/interfac.pas... not found Searching file /home/kjow/lazarus/lcl/INTERFAC.PAS... not found Unitsearch: /usr/lib/fpc/2.5.1/units/arm-linux/rtl/Interfac.pp Searching file /usr/lib/fpc/2.5.1/units/arm-linux/rtl/Interfac.pp... not found Searching file /usr/lib/fpc/2.5.1/units/arm-linux/rtl/interfac.pp... not found Searching file /usr/lib/fpc/2.5.1/units/arm-linux/rtl/INTERFAC.PP... not found Unitsearch: /usr/lib/fpc/2.5.1/units/arm-linux/rtl/Interfac.pas Searching file /usr/lib/fpc/2.5.1/units/arm-linux/rtl/Interfac.pas... not found Searching file /usr/lib/fpc/2.5.1/units/arm-linux/rtl/interfac.pas... not found Searching file /usr/lib/fpc/2.5.1/units/arm-linux/rtl/INTERFAC.PAS... not found ... ... ... ... ... ... Searching file /usr/lib/fpc/2.5.1/interfac.pas... not found Searching file /usr/lib/fpc/2.5.1/INTERFAC.PAS... not found Fatal: Can't find unit Interfaces used by LAzARM Fatal: Compilation aborted Error: /usr/local/bin/ppcarm returned an error exitcode (normal if you did not specify a source file to be compiled) -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
