[fpc-devel] Error compiling fpc trunk after changes

Luiz Americo Pereira Camara luizmed at oi.com.br
Mon Apr 26 17:59:05 CEST 2010


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.

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:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: editmask.diff
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100426/fea1f521/attachment.ksh>


More information about the fpc-devel mailing list