Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-05

fpc 2.5.1. broken for arm-wince

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

I get the following error while compiling fpc 2.5.1 for arm-wince:

c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe -Twince -Parm -XParm-wince- -Xr -Ur -Xs -O2 -n -S2h -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/rtl/units/arm-wince -Fisrc/wince -Fisrc -Fisrc/win -FDc:\lazarus\source\binutils\arm-wince -FE. -FUunits/arm-wince -darm -dRELEASE src/eventlog.pp eventlog.inc(35,37) Error: Identifier not found "OpenEventLog" eventlog.inc(43,16) Error: Identifier not found "CloseEventLog" eventlog.inc(66,21) Error: Identifier not found "ReportEvent" eventlog.inc(149,31) Error: Identifier not found "EVENTLOG_INFORMATION_TYPE" eventlog.inc(149,31) Error: Illegal expression
eventlog.inc(150,27) Error: Identifier not found "EVENTLOG_WARNING_TYPE" eventlog.inc(150,27) Error: Illegal expression
eventlog.inc(150,47) Error: Identifier not found "EVENTLOG_ERROR_TYPE" eventlog.inc(150,47) Error: Illegal expression
eventlog.inc(151,28) Error: Identifier not found "EVENTLOG_AUDIT_SUCCESS" eventlog.inc(151,28) Error: Illegal expression
eventlog.pp(343) Fatal: There were 11 errors compiling module, stopping Fatal: Compilation aborted
make.exe[2]: *** [eventlog.ppu] Error 1
make.exe[2]: Leaving directory
`C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-base' make.exe[1]: *** [fcl-base_all] Error 2
make.exe[1]: Leaving directory
`C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages'

Does anybody else get this error?

Vincent

Reply by email

Schindler Karl-Michael
Show quoted text 32 lines
Hi, I get the following error while compiling fpc 2.5.1 for arm-wince: c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe -Twince -Parm -XParm-wince- -Xr -Ur -Xs -O2 -n -S2h -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/rtl/units/arm-wince -Fisrc/wince -Fisrc -Fisrc/win -FDc:\lazarus\source\binutils\arm-wince -FE. -FUunits/arm-wince -darm -dRELEASE src/eventlog.pp eventlog.inc(35,37) Error: Identifier not found "OpenEventLog" eventlog.inc(43,16) Error: Identifier not found "CloseEventLog" eventlog.inc(66,21) Error: Identifier not found "ReportEvent" eventlog.inc(149,31) Error: Identifier not found "EVENTLOG_INFORMATION_TYPE" eventlog.inc(149,31) Error: Illegal expression eventlog.inc(150,27) Error: Identifier not found "EVENTLOG_WARNING_TYPE" eventlog.inc(150,27) Error: Illegal expression eventlog.inc(150,47) Error: Identifier not found "EVENTLOG_ERROR_TYPE" eventlog.inc(150,47) Error: Illegal expression eventlog.inc(151,28) Error: Identifier not found "EVENTLOG_AUDIT_SUCCESS" eventlog.inc(151,28) Error: Illegal expression eventlog.pp(343) Fatal: There were 11 errors compiling module, stopping Fatal: Compilation aborted make.exe[2]: *** [eventlog.ppu] Error 1 make.exe[2]: Leaving directory `C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-base' make.exe[1]: *** [fcl-base_all] Error 2 make.exe[1]: Leaving directory `C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages' Does anybody else get this error? Vincent

svn from today version 17569

make all CPU_TARGET=arm OS_TARGET=wince

on Mac OS X 10.6, starting with fpc-2.4.4 gives the same error.

Reply by email

Unknown author
to Schindler Karl-Michael
Schindler Karl-Michael wrote 38 lines
> Hi, > > I get the following error while compiling fpc 2.5.1 for arm-wince: > > c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe > -Twince -Parm -XParm-wince- -Xr -Ur -Xs -O2 -n -S2h > -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/rtl/units/arm-wince > -Fisrc/wince -Fisrc -Fisrc/win -FDc:\lazarus\source\binutils\arm-wince > -FE. -FUunits/arm-wince -darm -dRELEASE src/eventlog.pp > eventlog.inc(35,37) Error: Identifier not found "OpenEventLog" > eventlog.inc(43,16) Error: Identifier not found "CloseEventLog" > eventlog.inc(66,21) Error: Identifier not found "ReportEvent" > eventlog.inc(149,31) Error: Identifier not found "EVENTLOG_INFORMATION_TYPE" > eventlog.inc(149,31) Error: Illegal expression > eventlog.inc(150,27) Error: Identifier not found "EVENTLOG_WARNING_TYPE" > eventlog.inc(150,27) Error: Illegal expression > eventlog.inc(150,47) Error: Identifier not found "EVENTLOG_ERROR_TYPE" > eventlog.inc(150,47) Error: Illegal expression > eventlog.inc(151,28) Error: Identifier not found "EVENTLOG_AUDIT_SUCCESS" > eventlog.inc(151,28) Error: Illegal expression > eventlog.pp(343) Fatal: There were 11 errors compiling module, stopping > Fatal: Compilation aborted > make.exe[2]: *** [eventlog.ppu] Error 1 > make.exe[2]: Leaving directory > `C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-base' > make.exe[1]: *** [fcl-base_all] Error 2 > make.exe[1]: Leaving directory > `C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages' > > Does anybody else get this error? > > Vincent svn from today version 17569 make all CPU_TARGET=arm OS_TARGET=wince on Mac OS X 10.6, starting with fpc-2.4.4 gives the same error.

The problem is most likely related to the ordering of the include paths.

I have changed the paths so it works correctly for win32 (it was including the wrong file, causing all logging to go to a file instead of the system log), but it may be that for other platforms, the ordering must be checked.

Michael.

Reply by email

Vincent Snijders
to Unknown author

2011/5/27 :

Show quoted text 9 lines
On Fri, 27 May 2011, Schindler Karl-Michael wrote: The problem is most likely related to the ordering of the include paths. I have changed the paths so it works correctly for win32 (it was including the wrong file, causing all logging to go to a file instead of the system log), but it may be that for other platforms, the ordering must be checked.

See also: http://bugs.freepascal.org/view.php?id=19457

Vincent

Reply by email