[fpc-pascal] Errors compiling fixes_2.6 on win64: forgot to include dblib for mssqlconn?

Reinier Olislagers reinierolislagers at gmail.com
Mon Apr 23 09:48:16 CEST 2012

Good morning list,

Running fpcup (64 bit) on my Windows machine gives errors with fpc
fixes_2.6 (r21000/21001):

C:/development/fpc/compiler/ppcx64.exe -Ur -Xs -O2 -n -S2
-FuC:/development/fpc/packages/fcl-base/units/x86_64-win64 -FE.
-FUC:/development/fpc/packages/fcl-db/units/x86_64-win64 -dx86_64
-dRELEASE mssqlconn.pp
mssqlconn.pp(43,3) Fatal: Can't find unit dblib used by mssqlconn
Fatal: Compilation aborted
make.exe[5]: *** [mssqlconn.ppu] Error 1
make.exe[5]: Leaving directory

Perhaps some of these revisions in trunk could be backported:
r20692 | marco | 2012-04-02 13:46:51 +0200 (ma, 02 apr 2012) | 2 lines

 * reenable dblib/freetds for win64, after successfull test.

r20682 | marco | 2012-03-31 22:11:51 +0200 (za, 31 mrt 2012) | 2 lines

 * enable parts of sqldb,dblib and fpindexer for Haiku. Patch by Oliver,

In any case, I suspect this:
Index: packages/dblib/fpmake.pp
--- packages/dblib/fpmake.pp    (revision 21001)
+++ packages/dblib/fpmake.pp    (working copy)
@@ -5,7 +5,7 @@
 uses fpmkunit;

-  DBLibOSes         = [linux,freebsd,netbsd,openbsd,win32];
+  DBLibOSes         = [linux,freebsd,netbsd,openbsd,win32,win64,haiku];

   P : TPackage;

may be sufficient... but simply running make in the top level dir
doesn't seem to take it into account... so presumably there is some step
needed to regenerate them...


More information about the fpc-pascal mailing list