<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi Folks.<br>
<br>
I want to make some changes and additions to the unit
bufdataset.pas incresing dataset possibilities.<br>
I've made the changes, compiled and tested using a dynamically
created component.<br>
So far, so good.<br>
Now I want to incorporate the changes in the FCL package fcl-db<br>
Vista32, Lazarus 1.0.10, FPC 2.6.2<br>
Compile FPC fcl-db package, and compilation runs OK and my new
unit gets compiled (see below for console output)<br>
BUT<br>
new .o and .ppu are not moved to
"D:\Programmes\lazarus\fpc\2.6.2\units\i386-win32\fcl-db\" but
are kept in
D:\Programmes\lazarus\fpc\2.6.2\source\packages\fcl-db\units\i386-win32\
as compilation result<br>
Secondly, I guess that the Lazarus pacakge FCL should be compiled
as well. The unit RegisterFCL does the TBufDataSet component
registration<br>
This one also looks good.<br>
Then I install the FCL package and rebuild Lazarus. During Lazarus
compilation all packages depending on FCL are compiled as well<br>
But then I get the classical Lazarus errors:<br>
Recompiling sqldb, checksum changed for BufDataset<br>
registersqldb.pas(50,38) Fatal: Can not find sqldb used by
registersqldb,
ppu=..\..\fpc\2.6.2\units\i386-win32\fcl-db\sqldb.ppu, package
SQLDBLaz<br>
Of course there must be more than opne copy of bufdataset.o(&
ppu). Which one to keep and which to delete ?<br>
I probably miss something but I can't point out what. Maybe some
file moves to do by hand ?<br>
<br>
Thanks for your ideaas.<br>
<br>
Antonio.<br>
<br>
<br>
Console output FCL compilation<br>
D:\></font><font face="Helvetica, Arial, sans-serif"><b><font
face="Helvetica, Arial, sans-serif">cd
D:\Programmes\lazarus\fpc\2.6.2\source\packages\fcl-db\src\base</font></b><br>
</font><font face="Helvetica, Arial, sans-serif"><font
face="Helvetica, Arial, sans-serif">D:\Programmes\lazarus\fpc\2.6.2\source\packages\fcl-db\src\base>
<b> D:\Programmes\lazarus\fpc\2.6.2\bin\i386-win32\make.exe all
INSTALL TARGET=i386-win32</b><br>
</font>D:/Programmes/lazarus/fpc/2.6.2/bin/i386-win32/ppc386.exe
-S2h -Fu../dbase -Fu../../../../rtl
-Fu../../../../packages/fcl-base -Fu../../../../packages/fcl-xml
-FE. -FU../../../../packages/fcl-db/units/i386-win32 -di386
bufdataset.pas<br>
Free Pascal Compiler version 2.6.2 [2013/06/09] for i386<br>
Copyright (c) 1993-2012 by Florian Klaempfl and others<br>
Target OS: Win32 for i386<br>
<b>Compiling bufdataset.pas</b><br>
bufdataset.pas(50,14) Note: Virtual method
"TBufBlobStream.Read(var <Formal type>,LongInt):LongInt;"
has a lower visibility (protected) than<br>
parent class TStream (public)<br>
bufdataset.pas(51,14) Note: Virtual method
"TBufBlobStream.Write(const <Formal type>,LongInt):LongInt;"
has a lower visibility (protected) t<br>
han parent class TStream (public)<br>
bufdataset.pas(52,14) Note: Virtual method
"TBufBlobStream.Seek(LongInt,Word):LongInt;" has a lower
visibility (protected) than parent class<br>
TStream (public)<br>
bufdataset.pas(2223,5) Note: Local variable "StoreReadOnly" is
assigned but never used<br>
bufdataset.pas(3747,34) Warning: Function result does not seem to
be set<br>
3887 lines compiled, 0.2 sec<br>
1 warning(s) issued<br>
4 note(s) issued<br>
D:/Programmes/lazarus/fpc/2.6.2/bin/i386-win32/fpcmake.exe -p
-Ti386-win32 Makefile.fpc<br>
Processing Makefile.fpc<br>
Writing Package.fpc<br>
D:/Programmes/lazarus/fpc/2.6.2/bin/i386-win32/ginstall.exe -m 755
-d /pp/units/i386-win32/fcl-db<br>
D:/Programmes/lazarus/fpc/2.6.2/bin/i386-win32/cp.exe -fp
Package.fpc /pp/units/i386-win32/fcl-db<br>
D:/Programmes/lazarus/fpc/2.6.2/bin/i386-win32/ginstall.exe -m 755
-d /pp/units/i386-win32/fcl-db<br>
D:/Programmes/lazarus/fpc/2.6.2/bin/i386-win32/cp.exe -fp
../../../../packages/fcl-db/units/i386-win32/dbconst.ppu
../../../../packages/fcl-<br>
db/units/i386-win32/db.ppu
../../../../packages/fcl-db/units/i386-win32/dbwhtml.ppu
../../../../packages/fcl-db/units/i386-win32/bufdataset_<br>
parser.ppu
../../../../packages/fcl-db/units/i386-win32/bufdataset.ppu
../../../../packages/fcl-db/units/i386-win32/dbcoll.ppu
../../../../p<br>
ackages/fcl-db/units/i386-win32/sqlscript.ppu
../../../../packages/fcl-db/units/i386-win32/xmldatapacketreader.ppu
/pp/units/i386-win32/fcl-<br>
db<br>
D:/Programmes/lazarus/fpc/2.6.2/bin/i386-win32/cp.exe -fp
../../../../packages/fcl-db/units/i386-win32/dbconst.o
../../../../packages/fcl-db<br>
/units/i386-win32/db.o
../../../../packages/fcl-db/units/i386-win32/dbwhtml.o
../../../../packages/fcl-db/units/i386-win32/bufdataset_parser<br>
.o ../../../../packages/fcl-db/units/i386-win32/bufdataset.o
../../../../packages/fcl-db/units/i386-win32/dbcoll.o
../../../../packages/fcl-<br>
db/units/i386-win32/sqlscript.o
../../../../packages/fcl-db/units/i386-win32/xmldatapacketreader.o
/pp/units/i386-win32/fcl-db<br>
<br>
D:\Programmes\lazarus\fpc\2.6.2\source\packages\fcl-db\src\base><br>
<br>
</font>
</body>
</html>