[lazarus] Can't find unit OBJPAS

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Jan 13 04:35:45 EST 2000




On Thu, 13 Jan 2000, Kevin Berry wrote:

> Hi Michael,
> 
> Using the OPT=-vu option the output is as follows:

it seems that the objpas.ppu file is there, but not
objpas.o, can you confirm this ?

if so, you simply have to recompile the linux RTL, and
install it:
get the rtl.zip, unzip, cd rtl/linux, 'make all'
and then
make UNITINSTALLDIR=/opt/fpc/rtl/linux
should install the complete RTL.

Be careful, installing the RTL means that you must recompile all units.

Michael.

> 
> make -C linux all
> make[1]: Entering directory `/opt/fpc/fcl/linux'
> ppc386 -S2 -Fu/opt/fpc/rtl/linux
> -Fu/opt/fpc/units/linux -Fi../inc -FE. -vu -di386
> classes.pp 
> Free Pascal Compiler version 0.99.13 [2000/01/11] for
> i386
> Copyright (c) 1993-2000 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling classes.pp
> Parsing interface of CLASSES
> Load from CLASSES (interface) unit SYSLINUX
> PPU Name: syslinux.ppu
> PPU Time: 2000/01/11 00:22:04
> PPU Flags: 145
> PPU Crc: 1511764408
> PPU Crc: -902811395 (intfc)
> PPU Check file syslinux.o time 2000/01/11 00:22:05
> PPU Source: /opt/fpc/rtl/inc/text.inc found
> PPU Source: /opt/fpc/rtl/inc/typefile.inc found
> PPU Source: /opt/fpc/rtl/inc/file.inc found
> PPU Source: /opt/fpc/rtl/inc/heap.inc found
> PPU Source: syscalls.inc not found
> PPU Source: systypes.inc not found
> PPU Source: sysconst.inc not found
> PPU Source: sysnr.inc not found
> PPU Source: errno.inc not found
> PPU Source: /opt/fpc/rtl/inc/except.inc found
> PPU Source: /opt/fpc/rtl/inc/objpas.inc found
> PPU Source: /opt/fpc/rtl/i386/setjump.inc found
> PPU Source: /opt/fpc/rtl/inc/int64.inc found
> PPU Source: /opt/fpc/rtl/i386/math.inc found
> PPU Source: /opt/fpc/rtl/i386/rttip.inc found
> PPU Source: /opt/fpc/rtl/inc/rtti.inc found
> PPU Source: /opt/fpc/rtl/inc/wstrings.inc found
> PPU Source: /opt/fpc/rtl/inc/astrings.inc found
> PPU Source: /opt/fpc/rtl/inc/real2str.inc found
> PPU Source: /opt/fpc/rtl/inc/sstrings.inc found
> PPU Source: /opt/fpc/rtl/i386/set.inc found
> PPU Source: /opt/fpc/rtl/inc/generic.inc found
> PPU Source: /opt/fpc/rtl/i386/i386.inc found
> PPU Source: /opt/fpc/rtl/inc/innr.inc found
> PPU Source: /opt/fpc/rtl/inc/textrec.inc found
> PPU Source: /opt/fpc/fcl/inc/filerec.inc found
> PPU Source: /opt/fpc/rtl/inc/system.inc found
> PPU Source: /opt/fpc/rtl/inc/heaph.inc found
> PPU Source: /opt/fpc/rtl/inc/objpash.inc found
> PPU Source: /opt/fpc/rtl/i386/setjumph.inc found
> PPU Source: /opt/fpc/rtl/inc/mathh.inc found
> PPU Source: /opt/fpc/rtl/inc/systemh.inc found
> PPU Source: /opt/fpc/rtl/linux/syslinux.pp time
> 2000/01/07 10:41:41
> Load from CLASSES (interface) unit OBJPAS
> PPU Name: /opt/fpc/units/linux/objpas.ppu
> PPU Time: 2000/01/11 00:10:11
> PPU Flags: 147
> PPU Crc: -131516611
> PPU Crc: -1035101872 (intfc)
> PPU Check file /opt/fpc/units/linux/objpas.o time Not
> Found
> PPU Check file /opt/fpc/units/linux/objpas.s time Not
> Found
> Recompiling unit, obj and asm are older than ppufile
> PPU Name: /usr/lib/fpc/0.99.12/units/linux/objpas.ppu
> PPU Time: 2000/01/11 00:10:11
> PPU Flags: 147
> PPU Crc: -131516611
> PPU Crc: -1035101872 (intfc)
> PPU Check file
> /usr/lib/fpc/0.99.12/units/linux/objpas.o time Not
> Found
> PPU Check file
> /usr/lib/fpc/0.99.12/units/linux/objpas.s time Not
> Found
> Recompiling unit, obj and asm are older than ppufile
> Fatal: Can't find unit OBJPAS
> make[1]: Leaving directory `/opt/fpc/fcl/linux'
> 
> 
> --- Michael Van Canneyt <michael.vancanneyt at wisa.be>
> wrote:
> > 
> [...snip...]
> > Please start by sending the output of 'make OPT=-vu"
> > this will tell you WHERE the compiler looks for it's
> > units.
> > 
> > Probably you have an old version of objpas lying
> > around somewhere, and
> > it tries to recompile it.
> > 
> > Michael.
> > 
> > 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
> 






More information about the Lazarus mailing list