Sign in Join

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

Mailing lists / lazarus / 2011-06

Can't compile WinCE app

19 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Tommi Prami

Hello,

I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha latest SVN version of the Lazarus (today).

I am not 100% sure that these are same errors, but I am prtetty sure that the error messages are the same (Sorry I did not save them)...

C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler messages:
C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: unknown pseudo-op: `.secrel32'
C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: unknown pseudo-op: `.secrel32'
C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: Error while assembling exitcode 1
C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: There were 2 errors compiling module, stopping

Any ideas how to fix this??

-Tee-

Reply by email

Mattias Gaertner
to Tommi Prami

?
?

Tommi Prami hat am 21. Juni 2011 um 15:18
geschrieben:

Show quoted text 20 lines
Hello, I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha latest SVN version of the Lazarus (today). I am not 100% sure that these are same errors, but I am prtetty sure that the error messages are the same (Sorry I did not save them)... C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler messages: C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: Error while assembling exitcode 1 C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: There were 2 errors compiling module, stopping Any ideas how to fix this??

Have you tried Run / Clean up build files / Delete?

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110621/edc10860/attachment.html>

Reply by email

Vincent Snijders
to Tommi Prami: I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha latest SVN…

2011/6/21 Tommi Prami :

Show quoted text 18 lines
Hello, I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha latest SVN version of the Lazarus (today). I am not 100% sure that these are same errors, but I am prtetty sure that the error messages are the same (Sorry I did not save them)... C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler messages: C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: Error while assembling exitcode 1 C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: There were 2 errors compiling module, stopping

I don't know what whent wrong, but the lazarus arm-wince snapshot with fpc 2.4.4 went ok last night.

For fpc 2.4.5 en 2.5.1 they failed like this:

Vincent

Reply by email

Tommi Prami
to Mattias Gaertner: ? ? Tommi Prami hat am 21. Juni 2011 um 15:18 geschrieben: Have you tried Run / Clean up…
Show quoted text 24 lines
Hello, > > I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled > tha latest SVN version of the Lazarus (today). > > I am not 100% sure that these are same errors, but I am prtetty sure > that the error messages are the same (Sorry I did not save them)... > > C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler > messages: > C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: > unknown pseudo-op: `.secrel32' > C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: > unknown pseudo-op: `.secrel32' > C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: > Error while assembling exitcode 1 > C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: > There were 2 errors compiling module, stopping > > Any ideas how to fix this?? Have you tried Run / Clean up build files / Delete?

Did not help...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110621/3c462ec0/attachment.html>

Reply by email

Tommi Prami
to Vincent Snijders: 2011/6/21 Tommi Prami : I don't know what whent wrong, but the lazarus arm-wince snapshot…
Vincent Snijders wrote 26 lines
2011/6/21 Tommi Prami: > Hello, > > I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha > latest SVN version of the Lazarus (today). > > I am not 100% sure that these are same errors, but I am prtetty sure that > the error messages are the same (Sorry I did not save them)... > > C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler > messages: > C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: unknown > pseudo-op: `.secrel32' > C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: unknown > pseudo-op: `.secrel32' > C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: Error > while assembling exitcode 1 > C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: There > were 2 errors compiling module, stopping I don't know what whent wrong, but the lazarus arm-wince snapshot with fpc 2.4.4 went ok last night. For fpc 2.4.5 en 2.5.1 they failed like this: Vincent

I got those errors with this project, with 2.4.2 official, and now the 2.4.4 FPC's.

So I did not use Snapshot compiler, but official and stabile versions. Maybe this is Lazarus problem somehow?

-TP-

Reply by email

Vincent Snijders
to Tommi Prami

2011/6/21 Tommi Prami :

Show quoted text 14 lines
On 21.6.2011 19:37, Vincent Snijders wrote: > > I don't know what whent wrong, but the lazarus arm-wince snapshot with > fpc 2.4.4 went ok last night. > > For fpc 2.4.5 en 2.5.1 they failed like this: > > Vincent I got those errors with this project, with 2.4.2 official, and now the 2.4.4 FPC's. So I did not use Snapshot compiler, but official and stabile versions. Maybe this is Lazarus problem somehow?

Maybe, but the fact that there are snapshots built with fpc 2.4.4 suggests, that it may be some configuration problem.

Vincent

Reply by email

Tommi Prami
to Vincent Snijders
Show quoted text 5 lines
> So I did not use Snapshot compiler, but official and stabile versions. Maybe > this is Lazarus problem somehow? Maybe, but the fact that there are snapshots built with fpc 2.4.4 suggests, that it may be some configuration problem.

Yes,

This could be something like that. Any ideas how to make this work. What settings to Check.

-TP-

Reply by email

Tommi Prami
to Vincent Snijders: 2011/6/21 Tommi Prami : Maybe, but the fact that there are snapshots built with fpc 2.4.4…
suggests, that it may be some configuration problem. Vincent

There is attached simple, not even an Hello World, demo.

I just made project from scratch and tried to set up it for WinCe, and it'll not compile at all, same error.

Any ideas?

-TP-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WinCe Quick Compile Test.7z
Type: application/octet-stream
Size: 60019 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110622/7963d8c7/attachment-0001.obj>

Reply by email

Tommi Prami
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 5 lines
On Wed, Jun 22, 2011 at 9:51 AM, Tommi Prami wrote: > This could be something like that. Any ideas how to make this work. What > settings to Check. In Lazarus go to the menu Tools->Options->Paths and check the path to the compiler

It is there...

C:\fpc\2.4.4\bin\i386-win32\fpc.exe

.Tee.

Reply by email

Felipe Monteiro de Carvalho
to Tommi Prami

The test project is just an empty Lazarus project ... which is strange, because I just created a new wince project today using lazarus svn + fpc 2.4.2 and it worked fine.

Felipe Monteiro de Carvalho

Reply by email

Tommi Prami
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote
The test project is just an empty Lazarus project ... which is strange, because I just created a new wince project today using lazarus svn + fpc 2.4.2 and it worked fine.

Yes, that is the strange part. It does not contain anything... Just and bare to the bone project with Lazarus.

And it does not work. I have Lazarus from the SVN updated yesterday, and FPC 2.4.4 installed with official installer. (and the WinCE version also, which instals the WinCE units...)

I just can't figure out what can cause that in my system. Is there a way to get some Debug log out so it would be easier to get into this... What happens and where...

-TP-

Reply by email

Felipe Monteiro de Carvalho
to Tommi Prami

If you do it like this:

1> Remove any installed snapshots
2> Install Lazarus 0.9.30 + addon for wince
3> Rebuild your lazarus svn against the fpc 2.4.2 shipped with 0.9.30

does it work?

Felipe Monteiro de Carvalho

Reply by email

Tommi Prami
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote
If you do it like this: 1> Remove any installed snapshots

did before

2> Install Lazarus 0.9.30 + addon for wince

This because the settings?

3> Rebuild your lazarus svn against the fpc 2.4.2 shipped with 0.9.30

Why 2.4.2 fpc? O mainly why would the 2.4.4 not work (Thwere are SQLite fixes etc I am interested in)

-TP-

Reply by email

Felipe Monteiro de Carvalho
to Tommi Prami
Tommi Prami wrote
Why 2.4.2 fpc?

To reduce the difference between your setup and mine, to try to find out what is the difference that makes it not work for you

Felipe Monteiro de Carvalho

Reply by email

Tommi Prami
to Björn Schreiber
Bj?rn Schreiber wrote 8 lines
Hi. Perhaps the same problem as mentioned in the forum: http://lazarus.freepascal.org/index.php/topic,13118.0.html hth, Bj?rn

Checked then and made way too long reply there, but basically I did following :

1. Build up Unoptimized IDE with Clean+Build option set.
2. Started my problem project and used the Run - Clean up build files... -> Clean up and build.

That did the trick, at least for now.

Thanks everyone that have helped me with this...

-Tee-

Reply by email