[fpc-devel] OS/2 build failure

Dave Parsons dwparsons at t-online.de
Mon May 19 17:25:37 CEST 2008


On Wed, 14 May 2008 23:32:04 +0200 (CEST), Tomas Hajny wrote:

> On Tue, May 13, 2008 09:05, Dave Parsons wrote:
> > Hi,
> >
> > For a while now I've been getting the following error when
> > building from svn (2.3.1 from 20 mins ago).
> > The last known good build I have is from 3rd. Jan but I think
> > it was ok in Feb also. I build about once a month but don't
> > always do an install.
> > I've looked at the change history for all the files which seem
> > to be involved but I can't see which change caused the problem.

> 
> Being back from the US now, I hope to be able to have a look at it in
> foreseeable future.
> 
> Tomas

The problem seems to be that _excptregptr is defined in system.pas
and prt0.as but it was only recently exposed by the makefile
regeneration.
I've changed it here as follows:-

Index: system.pas
===================================================================
--- system.pas	(revision 11013)
+++ system.pas	(working copy)
@@ -484,7 +484,7 @@
 
 
 var
-  ExcptReg: PExceptionRegistrationRecord; public name '_excptregptr';
+  ExcptReg: PExceptionRegistrationRecord; external name '_excptregptr';
 
 {$ifdef SYSTEMEXCEPTIONDEBUG}
 var
===================================================================

However, now I have another problem:-
make[4]: Leaving directory `F:/fpc/fpcbuild/fpcsrc/packages/tcl'
make[3]: *** No rule to make target `opengl_all', needed by `gtk1_all'.  Stop.
make[3]: Leaving directory `F:/fpc/fpcbuild/fpcsrc/packages'
make[2]: *** [packages_all] Error 2
make[2]: Leaving directory `F:/fpc/fpcbuild/fpcsrc'
make[1]: *** [build-stamp.i386-os2] Error 2
make[1]: Leaving directory `F:/fpc/fpcbuild/fpcsrc'
make: *** [fpcsrc/build-stamp.i386-os2] Error 2


I don't know whether you read my earlier reply concerning the crash
in the 'fpc' checkout, but it is still there. I can not find any
differences apart from the slightly different directory structure,
but it is still there and consistent irrespective of which compiler,
make or whatever I use.

Cheers,
Dave





More information about the fpc-devel mailing list