Luiz Americo Pereira Camara escreveu:
I added EditMask property to TField in fpc trunk. To be Delphi
compatible i created a type TEditMask in MaskUtils unit, so the need
to put MaskUtils in the uses of db.
For the record, i've found the problem. The db unit is recompiled while
compiling sdfdata. While the definitive fix is not recompile the db
unit, adding fcl-base as a requirement in the makefiles resolves the
problem.
The patches were uploaded in http://bugs.freepascal.org/view.php?id=16555
Luiz
After trying to compile (make install) the following error occurs
(maskutils not found). Some notes
- fcl-base is a dependency in the Makefile of fcl-db
- the unit maskutils is compiled (.ppu and .o files are created in
fcl-base/units)
make -C src/sdf smart
make[4]: Entering directory
`D:/repositories/fpc_trunk/packages/fcl-db/src/sdf'
make all LINKSMART=1 CREATESMART=1
make[5]: Entering directory
`D:/repositories/fpc_trunk/packages/fcl-db/src/sdf'
D:/repositories/fpc_trunk/compiler/ppc386.exe -XX -CX -Ur -Xs -O2 -n
-FuD:/repos
itories/fpc_trunk/rtl/units/i386-win32 -FE.
-FUD:/repositories/fpc_trunk/package
s/fcl-db/units/i386-win32 -gl -di386 -dRELEASE sdfdata.pp
Fatal: Can't find unit maskutils used by db
Fatal: Compilation aborted
make[5]: *** [sdfdata.ppu] Error 1
make[5]: Leaving directory
`D:/repositories/fpc_trunk/packages/fcl-db/src/sdf'
make[4]: *** [fpc_smart] Error 2
make[4]: Leaving directory
`D:/repositories/fpc_trunk/packages/fcl-db/src/sdf'
make[3]: *** [src/sdf_smart] Error 2
make[3]: Leaving directory `D:/repositories/fpc_trunk/packages/fcl-db'
make[2]: *** [fcl-db_smart] Error 2
make[2]: Leaving directory `D:/repositories/fpc_trunk/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `D:/repositories/fpc_trunk'
make: *** [build-stamp.i386-win32] Error 2
Compiling under windows xp with fpc240
Patch follows:
------------------------------------------------------------------------
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel