[fpc-pascal] Fpc compiler error win32 "Entrypoint _mainCRTStartup not defined"

Florian Klaempfl florian at freepascal.org
Tue Nov 7 11:50:10 CET 2006


Marius schrieb:
> Hello,
> 
> Was trying the last trunk and got this error on the i386-win32. Its not
> a big deal, we still got a working fpc/lazarus for win32 & wince, just
> wundering if this is a known (or fixable) error.
> 
> cd \fpcsrc
> make clean OS_TARGET=win32 CPU_TARGET=i386
> make install OS_TARGET=win32 CPU_TARGET=i386
> 
> o:/fpc/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems
> -FuO:/Fpcsrc/rtl/units/i386-win32 -Fii386 -FE. -FUi386/units/i386-win32
> -dRELEASE  -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
> pp.pas(210,1) Error: Entrypoint _mainCRTStartup not defined
> pp.pas(210,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[5]: *** [ppc386.exe] Error 1
> make[5]: Leaving directory `O:/Fpcsrc/compiler'
> make[4]: *** [next] Error 2
> make[4]: Leaving directory `O:/Fpcsrc/compiler'
> make[3]: *** [ppc1.exe] Error 2
> make[3]: Leaving directory `O:/Fpcsrc/compiler'
> make[2]: *** [cycle] Error 2
> make[2]: Leaving directory `O:/Fpcsrc/compiler'
> make[1]: *** [compiler_cycle] Error 2
> make[1]: Leaving directory `O:/Fpcsrc'
> make: *** [build-stamp.i386-win32] Error 2
> 
> 
> All happened after a clean...

Please ensure to use 2.0.4 as starting compiler.



More information about the fpc-pascal mailing list