[fpc-devel] Compiling WinCE FCL fails

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Aug 5 21:58:48 CEST 2006


Hello,

I am using FPC 2.0.2 on Windows XP 32-bits to compile a arm-wince
cross-compiler with the latest subversion free pascal.

The cycle process of the compiler and run-time library goes well as
far as I can tell. Next I try to compile FCL and it fails:

C:\Programas\fpc21\fcl>PATH=C:\Programas\fpc202\bin\i386-win32;C:\Programas\fpc2
1\compiler;C:\Programas\arm

C:\Programas\fpc21\fcl>make OS_TARGET=wince CPU_TARGET=arm PP=ppcrossarm.exe
make -C xml all
make[1]: Entering directory `C:/Programas/fpc21/fcl/xml'
ppcrossarm.exe -Twince -Parm -XParm-wince- -Xc -Xr -S2h -Fu../../rtl/units/arm-w
ince -FE. -FU../../fcl/units/arm-wince -darm  dom.pp
Fatal: Can't find unit AVL_Tree
Fatal: Compilation aborted
make[1]: *** [dom.ppu] Error 1
make[1]: Leaving directory `C:/Programas/fpc21/fcl/xml'
make: *** [xml] Error 2


I tryed to compile with -va option to see what the problem is.
avl_tree unit is located at C:/Programas/fpc21/fcl/inc, but the
compiler doesn´t look for it there. What could be the problem?

Here is the searches the compiler does:

(DOM)      Add dependency of DOM to CLASSES
(DOM)      Load from DOM (interface) unit AVL_TREE
(AVL_TREE) Loading unit AVL_TREE
Unitsearch: AVL_Tree.ppu
Searching file AVL_Tree.ppu... not found
Unitsearch: ..\..\fcl\units\arm-wince\AVL_Tree.ppu
Searching file ..\..\fcl\units\arm-wince\AVL_Tree.ppu... found
PPU Loading ..\..\fcl\units\arm-wince\AVL_Tree.ppu
(AVL_TREE) PPU Name: ..\..\fcl\units\arm-wince\AVL_Tree.ppu
(AVL_TREE) PPU Invalid Version 57
Unitsearch: AVL_Tree.pp
Searching file AVL_Tree.pp... not found
Unitsearch: AVL_Tree.pas
Searching file AVL_Tree.pas... not found
Unitsearch: AVL_Tree.ppu
Searching file AVL_Tree.ppu... not found
Unitsearch: AVL_Tree.pp
Searching file AVL_Tree.pp... not found
Unitsearch: AVL_Tree.pas
Searching file AVL_Tree.pas... not found
Unitsearch: C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.ppu
Searching file C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.ppu... not foun
Unitsearch: C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pp
Searching file C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pp... not found
Unitsearch: C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pas
Searching file C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pas... not foun
Unitsearch: C:\Programas\fpc21\compiler\AVL_Tree.ppu
Searching file C:\Programas\fpc21\compiler\AVL_Tree.ppu... not found
Unitsearch: C:\Programas\fpc21\compiler\AVL_Tree.pp
Searching file C:\Programas\fpc21\compiler\AVL_Tree.pp... not found
Unitsearch: C:\Programas\fpc21\compiler\AVL_Tree.pas
Searching file C:\Programas\fpc21\compiler\AVL_Tree.pas... not found
Unitsearch: AVL_Tree.pp
Searching file AVL_Tree.pp... not found
Unitsearch: AVL_Tree.pas
Searching file AVL_Tree.pas... not found
Unitsearch: AVL_Tree.ppu
Searching file AVL_Tree.ppu... not found
Unitsearch: AVL_Tree.pp
Searching file AVL_Tree.pp... not found
Unitsearch: AVL_Tree.pas
Searching file AVL_Tree.pas... not found
Unitsearch: C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pp
Searching file C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pp... not found
Unitsearch: C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pas
Searching file C:\Programas\fpc21\rtl\units\arm-wince\AVL_Tree.pas... not foun
Unitsearch: C:\Programas\fpc21\compiler\AVL_Tree.pp
Searching file C:\Programas\fpc21\compiler\AVL_Tree.pp... not found
Unitsearch: C:\Programas\fpc21\compiler\AVL_Tree.pas
Searching file C:\Programas\fpc21\compiler\AVL_Tree.pas... not found
Fatal: Can't find unit AVL_Tree
Fatal: Compilation aborted

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list