Skip to content

Cannot compile FPC trunk for win32

Summary

Cannot compile FPC trunk for win32, got error.

System Information

  • Operating system: Windows
  • Processor architecture: x86
  • Compiler version: trunk
  • Device: Computer

Steps to reproduce

Compile FPC trunk by fpclazup.

Example Project

What is the current bug behavior?

Build error

What is the expected (correct) behavior?

No error

Relevant logs and/or screenshots

// Error log with FPC_DOTTEDUNITS undefined
C:/development/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/development/fpc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -dsymansistr -dREVINC -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
make[7]: *** No rule to make target `sysutils.pp', needed by `sysutils.ppu'.  Stop.
make[6]: *** [win32_all] Error 2
make[5]: *** [rtl] Error 2
make[4]: *** [next] Error 2
make[3]: *** [ppc1.exe] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.i386-win32] Error 2

// Error log with FPC_DOTTEDUNITS defined
C:/development/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/development/fpc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -dsymansistr -dFPC_DOTTEDUNITS -dREVINC -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
extpas.pp(41,7) Fatal: Can't find unit TP.DOS used by extpas
Fatal: Compilation aborted
make[6]: *** [win32_all] Error 2
make[5]: *** [rtl] Error 2
make[4]: *** [next] Error 2
make[3]: *** [ppc1.exe] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.i386-win32] Error 2

Possible fixes

make-pololu2 3.82 solves first undefined FPC_DOTTEDUNITS, but still not compile defined FPC_DOTTEDUNITS.
Make 3.82's bugs make error with FPC trunk.

Edited by rasberryrabbit
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information