RTL fails to build while crosscompiling to arm-wince
Original Reporter info from Mantis: Barvinok
-
Reporter name: Gennadiy
Original Reporter info from Mantis: Barvinok
- Reporter name: Gennadiy
Description:
C:/Dev/Cygwin/root/home/Barvinok/fpc/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FE. -FUC:/Dev/Cygwin/root/home/Barvinok/fpc/rtl/units/arm-wince -darm -dRELEASE -Fi../objpas/classes classes.pp
streams.inc(902,20) Error: Identifier not found "STREAM_SEEK_SET"
streams.inc(902,20) Error: Constant Expression expected
streams.inc(903,20) Error: Identifier not found "STREAM_SEEK_CUR"
streams.inc(903,20) Error: Constant Expression expected
streams.inc(903,20) Error: duplicate case label
streams.inc(904,20) Error: Identifier not found "STREAM_SEEK_END"
streams.inc(904,20) Error: Constant Expression expected
streams.inc(904,20) Error: duplicate case label
streams.inc(967,38) Error: Identifier not found "STATFLAG_DEFAULT"
streams.inc(967,54) Error: Identifier not found "STATFLAG_NOOPEN"
streams.inc(967,70) Error: Identifier not found "STATFLAG_NONAME"
streams.inc(978,37) Error: Identifier not found "STGTY_STREAM"
streams.inc(980,46) Error: Identifier not found "LOCK_WRITE"
classes.pp(56) Fatal: There were 13 errors compiling module, stopping
Fatal: Compilation aborted
make[5]: *** [classes.ppu] Error 1
Steps to reproduce:
make distclean
make all CPU_TARGET=arm OS_TARGET=wince
Mantis conversion info:
- Mantis ID: 15057
- Build: svn rev 14142
- Platform: WinCE
- Version: 2.5.1
- Fixed in revision: 14163 (#6df33522)
- Target version: 2.5.1