Sign in Join

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

Mailing lists / fpc-devel / 2003-06

fpc1.1 build error

9 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner

Hi,

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.

Mattias

Reply by email

Marco van de Voort
to Mattias Gaertner
Show quoted text 7 lines
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.

Reply by email

Unknown author
to Marco van de Voort: Unit linux doesn't exist under 1.1. Change to {$ifdef ver1_0} {$else} {$endif] for now.…
Marco van de Voort wrote 21 lines
> 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.

It uses pthreads, I don't know whether that exists on BSD.

Michael.

Reply by email

Marco van de Voort
to Unknown author
Show quoted text 8 lines
On Fri, 20 Jun 2003, Marco van de Voort wrote: > > In time, even Unix will go away though :_) > > If syncobjs.pp isn't really Linux specific, it belongs in fcl/unix/ anyway. It uses pthreads, I don't know whether that exists on BSD.

Yes, on FreeBSD as linux/gnu pthreads.

Systhrds also uses it ?!?!

Reply by email

Yakov Sudeikin
to Peter Vreman
>I used to download win32 daily built binary every sunday or so, no I

cannot

>locate it on the ftp, any ideas? ftp://ftp.freepascal.org/fpc/snapshot/v11/

ftp ftp.freepascal.org
cd /fpc/snapshot/v11/win32-i386
ls

-rw-r--r-- 1 1019 100 1798281 Apr 8 03:17 basew32.zip -rw-r--r-- 1 1019 100 1003 Apr 8 03:18 changes.dat -rw-r--r-- 1 1019 100 768840 Jan 25 2002 cygwin1.dll -rw-r--r-- 1 1019 100 2210 Apr 8 03:22 ide-etc-read.txt -rw-r--r-- 1 1019 100 1219501 Apr 8 03:18 idew32.zip -rw-r--r-- 1 1019 100 760 Sep 19 2000 readme.txt -rw-r--r-- 1 1019 100 546262 Apr 8 03:19 ufclw32.zip -rw-r--r-- 1 1019 100 16442 Apr 8 03:19 ugdbintw32.zip -rw-r--r-- 1 1019 100 451722 Apr 8 03:19 ugtkw32.zip -rw-r--r-- 1 1019 100 82604 Apr 8 03:20 uibasew32.zip -rw-r--r-- 1 1019 100 15737 Apr 8 03:21 umysqlw32.zip -rw-r--r-- 1 1019 100 135270 Apr 8 03:22 uopenglw32.zip -rw-r--r-- 1 1019 100 59886 Apr 8 03:21 upaszlibw32.zip -rw-r--r-- 1 1019 100 5890 Apr 8 03:22 uregexprw32.zip -rw-r--r-- 1 1019 100 1131972 Apr 8 03:19 utilw32.zip -rw-r--r-- 1 1019 100 7449 Apr 8 03:19 uuncgiw32.zip -rw-r--r-- 1 1019 100 20166 Apr 8 03:21 uunzipw32.zip -rw-r--r-- 1 1019 100 8932 Apr 8 03:21 uzlibw32.zip

Which one of the files I should download to try the today's 1.1 snapshot? Or I supposed to download the 13 MB source instead? -rw-r--r-- 1 1019 100 13479180 Jun 27 20:21 fpc.zip

Thank you
Yakov

Reply by email

Peter Vreman
to Yakov Sudeikin
you wrote 33 lines
> >I used to download win32 daily built binary every sunday or so, no I cannot > >locate it on the ftp, any ideas? > > ftp://ftp.freepascal.org/fpc/snapshot/v11/ > ftp ftp.freepascal.org cd /fpc/snapshot/v11/win32-i386 ls -rw-r--r-- 1 1019 100 1798281 Apr 8 03:17 basew32.zip -rw-r--r-- 1 1019 100 1003 Apr 8 03:18 changes.dat -rw-r--r-- 1 1019 100 768840 Jan 25 2002 cygwin1.dll -rw-r--r-- 1 1019 100 2210 Apr 8 03:22 ide-etc-read.txt -rw-r--r-- 1 1019 100 1219501 Apr 8 03:18 idew32.zip -rw-r--r-- 1 1019 100 760 Sep 19 2000 readme.txt -rw-r--r-- 1 1019 100 546262 Apr 8 03:19 ufclw32.zip -rw-r--r-- 1 1019 100 16442 Apr 8 03:19 ugdbintw32.zip -rw-r--r-- 1 1019 100 451722 Apr 8 03:19 ugtkw32.zip -rw-r--r-- 1 1019 100 82604 Apr 8 03:20 uibasew32.zip -rw-r--r-- 1 1019 100 15737 Apr 8 03:21 umysqlw32.zip -rw-r--r-- 1 1019 100 135270 Apr 8 03:22 uopenglw32.zip -rw-r--r-- 1 1019 100 59886 Apr 8 03:21 upaszlibw32.zip -rw-r--r-- 1 1019 100 5890 Apr 8 03:22 uregexprw32.zip -rw-r--r-- 1 1019 100 1131972 Apr 8 03:19 utilw32.zip -rw-r--r-- 1 1019 100 7449 Apr 8 03:19 uuncgiw32.zip -rw-r--r-- 1 1019 100 20166 Apr 8 03:21 uunzipw32.zip -rw-r--r-- 1 1019 100 8932 Apr 8 03:21 uzlibw32.zip Which one of the files I should download to try the today's 1.1 snapshot? Or I supposed to download the 13 MB source instead? -rw-r--r-- 1 1019 100 13479180 Jun 27 20:21 fpc.zip

The win32 snapshot scripts are not adapted yet for the new directory layout. Using the source is always possible. The requirements to build from source are an installed 1.0.6 compiler.

Peter

Reply by email