[fpc-devel]fpc1.1 build error

Marco van de Voort marcov at stack.nl
Fri Jun 20 16:55:10 CEST 2003


> Compiling the 1.1 gives me:
> 
> Fatal: Can't find unit LINUX
> make[3]: *** [syncobjs.ppu] Error 1
> make[3]: Leaving directory `/usr/src/redhat/BUILD/fpc-1.1/fcl'
> 
> The file is fcl/linux/syncobjs.pp.

Unit linux doesn't exist under 1.1. Change to

{$ifdef ver1_0}
  linux,
{$else}
  unix,
{$endif]

for now.

In time, even Unix will go away though :_)

If syncobjs.pp isn't really Linux specific, it belongs in fcl/unix/ anyway.




More information about the fpc-devel mailing list