Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-01

Can't find unit OBJPAS

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kevin Berry

Hi All,

I've tried to get the fcl to compile and I'm getting the following results when I perform a 'make' in the fcl directory:

make[1]: Entering directory '/opt/fpc/fcl/linux'
ppc386 -S2 -Fu/opt/fpc/rtl/linux
-Fu/opt/fpc/units/linux -Fi../inc -FE. -di386
\classes.pp
Free Pascal Compiler version 0.99.13 [2000/01/11] for i386
Copyright...
Target OS: Linux for i386
Compiling classes.pp
Fatal: Can't find unit OBJPAS
make[1]: Leavign directory '/opt/fpc/fcl/linux'

how can I solve this problem?
__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Reply by email

Michael Van Canneyt
to Kevin Berry
Kevin Berry wrote 19 lines
Hi All, I've tried to get the fcl to compile and I'm getting the following results when I perform a 'make' in the fcl directory: make[1]: Entering directory '/opt/fpc/fcl/linux' ppc386 -S2 -Fu/opt/fpc/rtl/linux -Fu/opt/fpc/units/linux -Fi../inc -FE. -di386 \classes.pp Free Pascal Compiler version 0.99.13 [2000/01/11] for i386 Copyright... Target OS: Linux for i386 Compiling classes.pp Fatal: Can't find unit OBJPAS make[1]: Leavign directory '/opt/fpc/fcl/linux' how can I solve this problem?

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.

Reply by email

Kevin Berry

Hi Michael,

Using the OPT=-vu option the output is as follows:

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

[...snip...]

Show quoted text 11 lines
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

Reply by email

Michael Van Canneyt
to Kevin Berry
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.

Show quoted text 105 lines
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 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 with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Kevin Berry

Michael,

I have a few questions about the message you wrote last time...

1. objpas.o and objpas.ppu are both present
(the following are the only objpas.* files on my
system:
./rtl/fakertl/objpas.pp
./rtl/inc/objpas.inc
./rtl/linux/objpas.ppu
./rtl/linux/objpas.o
./rtl/objpas/objpas.pp
./units/linux/objpas.ppu)
2. I have made sure I've removed any older copies of objpas.ppu and objpas.o and any old FPC files
3. "make OPT=-vu" produces slightly different output now (see below)... Now it can't find syscalls.inc. Shouldn't the CVS update get all the .inc files? What may I need to download and where do I get it from??

Thanks,
Kevin.

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
../inc/zstream.pp
Free Pascal Compiler version 0.99.14 [2000/01/16] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling ../inc/zstream.pp
Parsing interface of ZSTREAM
Load from ZSTREAM (interface) unit SYSLINUX
PPU Name: syslinux.ppu
PPU Time: 2000/01/16 22:47:18
PPU Flags: 145
PPU Crc: 1511764408
PPU Crc: -902811395 (intfc)
PPU Check file syslinux.o time 2000/01/16 22:47:18 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/16 22:43:50
Load from ZSTREAM (interface) unit OBJPAS
PPU Name: /opt/fpc/rtl/linux/objpas.ppu
PPU Time: 2000/01/16 22:56:20
PPU Flags: 147
PPU Crc: -131516611
PPU Crc: -1035101872 (intfc)
PPU Check file /opt/fpc/rtl/linux/objpas.o time
2000/01/16 22:56:20
PPU Source: objpas.pp not found
Load from OBJPAS (interface) unit SYSLINUX
Load from ZSTREAM (interface) unit SYSUTILS
PPU Name: /opt/fpc/rtl/linux/sysutils.ppu
PPU Time: 2000/01/16 22:56:25
PPU Flags: 147
PPU Crc: 1384305585
PPU Crc: -449559600 (intfc)
PPU Check file /opt/fpc/rtl/linux/sysutils.o time
2000/01/16 22:56:25
PPU Source: /opt/fpc/rtl/inc/stringsi.inc found
PPU Source: /opt/fpc/rtl/i386/strings.inc found
PPU Source: /opt/fpc/rtl/objpas/syspch.inc found
PPU Source: /opt/fpc/rtl/objpas/dati.inc found
PPU Source: /opt/fpc/rtl/linux/disk.inc time
2000/01/07 10:41:40
PPU Source: /opt/fpc/rtl/linux/filutil.inc time
2000/01/16 22:43:50
PPU Source: /opt/fpc/rtl/objpas/sysstr.inc found
PPU Source: /opt/fpc/rtl/objpas/fina.inc found
PPU Source: /opt/fpc/rtl/objpas/stre.inc found
PPU Source: /opt/fpc/rtl/objpas/diskh.inc found
PPU Source: /opt/fpc/rtl/objpas/filutilh.inc found PPU Source: /opt/fpc/rtl/objpas/finah.inc found
PPU Source: /opt/fpc/rtl/objpas/syspchh.inc found
PPU Source: /opt/fpc/rtl/objpas/sysstrh.inc found
PPU Source: /opt/fpc/rtl/objpas/datih.inc found
PPU Source: /opt/fpc/rtl/objpas/sysinth.inc found
PPU Source: /opt/fpc/rtl/inc/textrec.inc found
PPU Source: /opt/fpc/fcl/inc/filerec.inc found
PPU Source: sysutils.pp not found
Load from SYSUTILS (interface) unit SYSLINUX
Load from SYSUTILS (interface) unit OBJPAS
Load from SYSUTILS (interface) unit LINUX
PPU Name: /opt/fpc/rtl/linux/linux.ppu
PPU Time: 2000/01/16 22:56:21
PPU Flags: 147
PPU Crc: 1959520379
PPU Crc: 377576446 (intfc)
PPU Check file /opt/fpc/rtl/linux/linux.o time
2000/01/16 22:56:21
PPU Source: /opt/fpc/rtl/linux/timezone.inc time
1999/12/04 07:50:43
PPU Source: /opt/fpc/rtl/linux/syscalls.inc time
2000/01/07 10:41:41
PPU Source: /opt/fpc/fcl/inc/filerec.inc found
PPU Source: /opt/fpc/rtl/inc/textrec.inc found
PPU Source: /opt/fpc/rtl/linux/errno.inc time
2000/01/07 10:41:40
PPU Source: /opt/fpc/rtl/linux/sysnr.inc time
2000/01/07 10:41:41
PPU Source: /opt/fpc/rtl/linux/systypes.inc time
2000/01/07 10:41:42
PPU Source: /opt/fpc/rtl/linux/sysconst.inc time
2000/01/07 10:41:41
PPU Source: /opt/fpc/rtl/linux/linux.pp time
2000/01/07 10:41:40
Load from LINUX (interface) unit SYSLINUX
Load from LINUX (implementation) unit STRINGS
PPU Name: /opt/fpc/rtl/linux/strings.ppu
PPU Time: 2000/01/16 22:56:21
PPU Flags: 144
PPU Crc: 1901186340
PPU Crc: 636480932 (intfc)
PPU Check file /opt/fpc/rtl/linux/strings.o time
2000/01/16 22:56:21
PPU Source: /opt/fpc/rtl/inc/stringsi.inc found
PPU Source: /opt/fpc/rtl/i386/stringss.inc found
PPU Source: /opt/fpc/rtl/i386/strings.inc found
PPU Source: strings.pp not found
Load from STRINGS (interface) unit SYSLINUX
Load from ZSTREAM (interface) unit CLASSES
PPU Name: classes.ppu
PPU Time: 2000/01/16 22:27:50
PPU Flags: 147
PPU Crc: 380189310
PPU Crc: 1962063685 (intfc)
PPU Check file classes.o time 2000/01/16 22:27:51
PPU Source: /opt/fpc/fcl/inc/cregist.inc found
PPU Source: /opt/fpc/fcl/inc/compon.inc found
PPU Source: /opt/fpc/fcl/inc/persist.inc found
PPU Source: thread.inc time 2000/01/06 19:24:34
PPU Source: /opt/fpc/fcl/inc/stringl.inc found
PPU Source: /opt/fpc/fcl/inc/lists.inc found
PPU Source: /opt/fpc/fcl/inc/collect.inc found
PPU Source: /opt/fpc/fcl/inc/parser.inc found
PPU Source: /opt/fpc/fcl/inc/streams.inc found
PPU Source: /opt/fpc/fcl/inc/filer.inc found
PPU Source: /opt/fpc/fcl/inc/twriter.inc found
PPU Source: /opt/fpc/fcl/inc/writer.inc found
PPU Source: /opt/fpc/fcl/inc/bits.inc found
PPU Source: /opt/fpc/fcl/inc/util.inc found
PPU Source: /opt/fpc/fcl/inc/constse.inc found
PPU Source: /opt/fpc/fcl/inc/classes.inc found
PPU Source: /opt/fpc/fcl/inc/classesh.inc found
PPU Source: classes.pp time 2000/01/06 19:24:34
Load from CLASSES (interface) unit SYSLINUX
Load from CLASSES (interface) unit OBJPAS
Load from CLASSES (interface) unit SYSUTILS
Load from CLASSES (interface) unit TYPINFO
PPU Name: /opt/fpc/rtl/linux/typinfo.ppu
PPU Time: 2000/01/16 22:56:25
PPU Flags: 144
PPU Crc: -1352704310
PPU Crc: -2047810425 (intfc)
PPU Check file /opt/fpc/rtl/linux/typinfo.o time
2000/01/16 22:56:25
PPU Source: typinfo.pp not found
Load from TYPINFO (interface) unit SYSLINUX
Load from TYPINFO (interface) unit OBJPAS
Load from TYPINFO (interface) unit SYSUTILS
Load from CLASSES (implementation) unit LINUX
Load from ZSTREAM (interface) unit ZLIB
Fatal: Can't find unit ZLIB
make[1]: Leaving directory `/opt/fpc/fcl/linux'

--- Michael Van Canneyt

Show quoted text 24 lines
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.

__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Reply by email