Sign in Join

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

Mailing lists / fpc-pascal / 2013-05

Error: Duplicate identifier "FarPointer"

14 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

silvioprog

Hello,

Today I updated my GIT copy of FPC, and after I try to make it and install, I got this error:

http://pastebin.com/90fhy34Y

Until last week everything was normal.

Thank you!

Silvio Clécio My public projects - github.com/silvioprog
Ewald
to silvioprog

Are you building with 2.7.1?

If so, try building with 2.6.2. (don't ask me why, but it worked for me)

silvioprog wrote 16 lines
Hello, Today I updated my GIT copy of FPC, and after I try to make it and install, I got this error: http://pastebin.com/90fhy34Y Until last week everything was normal. Thank you! -- Silvio Clécio My public projects - github.com/silvioprog _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Ewald
silvioprog
to Ewald

2013/5/15 Ewald

Are you building with 2.7.1? If so, try building with 2.6.2. (don't ask me why, but it worked for me)

Yes, I'm trying with 2.7.1. :(

Silvio Clécio My public projects - github.com/silvioprog
Jonas Maebe
to silvioprog
silvioprog wrote 7 lines
2013/5/15 Ewald > Are you building with 2.7.1? > > If so, try building with 2.6.2. (don't ask me why, but it worked for me) Yes, I'm trying with 2.7.1. :(

Use the top level FPC Makefile, remove OVERRIDEVERSIONCHECK=1 from your make invocation if you are using it (and never add it back), and follow the instructions you get. Alternatively, have a look at the links in http://lists.freepascal.org/lists/fpc-pascal/2011-October/030881.html

Jonas

silvioprog
to Jonas Maebe

2013/5/15 Jonas Maebe

Show quoted text 18 lines
On 15 May 2013, at 17:47, silvioprog wrote: > 2013/5/15 Ewald > >> Are you building with 2.7.1? >> >> If so, try building with 2.6.2. (don't ask me why, but it worked for me) > > Yes, I'm trying with 2.7.1. :( Use the top level FPC Makefile, remove OVERRIDEVERSIONCHECK=1 from your make invocation if you are using it (and never add it back), and follow the instructions you get. Alternatively, have a look at the links in http://lists.freepascal.org/lists/fpc-pascal/2011-October/030881.html Jonas

But I dont added it, please see:

Makefile:2704: *** The only supported starting compiler version is 2.6.2. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop.

So I'm usgin only "make clean all" and after "sudo make install PREFIX=/usr".

Silvio Clécio My public projects - github.com/silvioprog
Jonas Maebe
to silvioprog
silvioprog wrote 18 lines
2013/5/15 Jonas Maebe > > On 15 May 2013, at 17:47, silvioprog wrote: > >> Yes, I'm trying with 2.7.1. :( > > Use the top level FPC Makefile, remove OVERRIDEVERSIONCHECK=1 from your > make invocation if you are using it (and never add it back), and follow the > instructions you get. Alternatively, have a look at the links in > http://lists.freepascal.org/lists/fpc-pascal/2011-October/030881.html But I dont added it, please see: Makefile:2704: *** The only supported starting compiler version is 2.6.2. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop.

Ok, so follow those instructions. If you do not understand them, please tell us what is unclear about them so we can clarify them.

Jonas

waldo kitty
to silvioprog: 2013/5/15 Jonas Maebe But I dont added it, please see: Makefile:2704: *** The only…
silvioprog wrote 8 lines
But I dont added it, please see: Makefile:2704: *** The only supported starting compiler version is 2.6.2. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop. So I'm usgin only "make clean all" and after "sudo make install PREFIX=/usr".

what about the second sentence of that error message?

"You are trying to build with 2.7.1."

that's the problem... you have to build it with 2.6.2...

NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted.
Marco van de Voort
to waldo kitty

In our previous episode, waldo kitty said:

Show quoted text 12 lines
> Makefile:2704: *** The only supported starting compiler version is 2.6.2. You > are trying to build with 2.7.1. If you are absolutely sure that the current > compiler is built from the exact same version/revision, you can try to use > OVERRIDEVERSIONCHECK=1 to override . Stop. > > So I'm usgin only "make clean all" and after "sudo make install PREFIX=/usr". what about the second sentence of that error message? "You are trying to build with 2.7.1." that's the problem... you have to build it with 2.6.2...

Personally, I think mentioning OVERRIDEVERSIONCHECK is the problem. Whatever you write as text, people will only read that.

The message should refer to a boringly long FAQ item, with the mention of overrideversioncheck only mentioned inline in text in the last line.

Jonas Maebe
to Marco van de Voort
Marco van de Voort wrote 15 lines
In our previous episode, waldo kitty said: >> Makefile:2704: *** The only supported starting compiler version is 2.6.2. You >> are trying to build with 2.7.1. If you are absolutely sure that the current >> compiler is built from the exact same version/revision, you can try to use >> OVERRIDEVERSIONCHECK=1 to override . Stop. >> >> So I'm usgin only "make clean all" and after "sudo make install PREFIX=/usr". > > what about the second sentence of that error message? > > "You are trying to build with 2.7.1." > > that's the problem... you have to build it with 2.6.2... Personally, I think mentioning OVERRIDEVERSIONCHECK is the problem.

In this case it's not, since he wasn't using that. I don't mind the change you propose though.

Jonas

waldo kitty
to Marco van de Voort: In our previous episode, waldo kitty said: Personally, I think mentioning…
Marco van de Voort wrote 16 lines
In our previous episode, waldo kitty said: >> Makefile:2704: *** The only supported starting compiler version is 2.6.2. You >> are trying to build with 2.7.1. If you are absolutely sure that the current >> compiler is built from the exact same version/revision, you can try to use >> OVERRIDEVERSIONCHECK=1 to override . Stop. >> >> So I'm usgin only "make clean all" and after "sudo make install PREFIX=/usr". > > what about the second sentence of that error message? > > "You are trying to build with 2.7.1." > > that's the problem... you have to build it with 2.6.2... Personally, I think mentioning OVERRIDEVERSIONCHECK is the problem. Whatever you write as text, people will only read that.

agreed... i really wanted to leave it out of my previous suggested rewrite of the error message but i didn't...

The message should refer to a boringly long FAQ item, with the mention of overrideversioncheck only mentioned inline in text in the last line.

agreed^2 :)

Makefile:2704: *** The /only/ supported starting compiler is 2.6.2. You are trying to build with 2.7.1. You CANNOT do this! See this FAQ: http://some.domain.somewhere/FAQ/why-cant-i-compile-FPC.html

O:)

NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted.
Reimar Grabowski
to silvioprog: Today I updated my GIT copy of FPC, and after I try to make it and install, I got this…

Same problem here but much funnier FPC message:

Makefile:2704: *** The only supported starting compiler version is 2.7.1. You are trying to build with 2.6.2. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop.

So I had to use OVERRIDEVERSIONCHECK=1 to build my 2.7.1 with 2.6.2. IMHO that's not as intended. But it may be a problem of the create_fpc_deb script provided by Lazarus so from my side there is no need for any actions. Just wanted to share that funny message.

R.

Jonas Maebe
to Reimar Grabowski
Reimar Grabowski wrote 13 lines
Same problem here but much funnier FPC message: Makefile:2704: *** The only supported starting compiler version is 2.7.1. You are trying to build with 2.6.2. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop. So I had to use OVERRIDEVERSIONCHECK=1 to build my 2.7.1 with 2.6.2. IMHO that's not as intended. But it may be a problem of the create_fpc_deb script provided by Lazarus so from my side there is no need for any actions. Just wanted to share that funny message.

It is indeed a bug in Lazarus' build scripts (also for the rpms). For some reason they first replace a bunch of version numbers in the Makefile.

Jonas

Mattias Gaertner
to Jonas Maebe
Show quoted text 18 lines
On 16 May 2013, at 14:46, Reimar Grabowski wrote: > Same problem here but much funnier FPC message: > > Makefile:2704: *** The only supported starting compiler version is > 2.7.1. You are trying to build with 2.6.2. If you are absolutely sure > that the current compiler is built from the exact same > version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to > override . Stop. > > So I had to use OVERRIDEVERSIONCHECK=1 to build my 2.7.1 with 2.6.2. > IMHO that's not as intended. > But it may be a problem of the create_fpc_deb script provided by > Lazarus so from my side there is no need for any actions. > Just wanted to share that funny message. It is indeed a bug in Lazarus' build scripts (also for the rpms).

For the rpm scripts it was fixed some months ago.
I fixed it now for the deb scripts too.

For some reason they first replace a bunch of version numbers in the Makefile.

In the past the version numbers in the Makefiles were not always updated.

Mattias

silvioprog
to Mattias Gaertner

2013/5/17 Mattias Gaertner

Show quoted text 33 lines
On Thu, 16 May 2013 15:04:58 +0200 Jonas Maebe wrote: > > On 16 May 2013, at 14:46, Reimar Grabowski wrote: > > > Same problem here but much funnier FPC message: > > > > Makefile:2704: *** The only supported starting compiler version is > > 2.7.1. You are trying to build with 2.6.2. If you are absolutely sure > > that the current compiler is built from the exact same > > version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to > > override . Stop. > > > > So I had to use OVERRIDEVERSIONCHECK=1 to build my 2.7.1 with 2.6.2. > > IMHO that's not as intended. > > But it may be a problem of the create_fpc_deb script provided by > > Lazarus so from my side there is no need for any actions. > > Just wanted to share that funny message. > > It is indeed a bug in Lazarus' build scripts (also for the rpms). For the rpm scripts it was fixed some months ago. I fixed it now for the deb scripts too. > For some reason they first replace a bunch of version numbers in the > Makefile. In the past the version numbers in the Makefiles were not always updated. Mattias

Thank you very much!

Silvio Clécio My public projects - github.com/silvioprog