Sign in Join

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

Mailing lists / fpc-pascal / 2014-01

fpc build breaks since 26398

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

denisgolovan

Hi

Looks like since 26398 rev. fpc cannot be built.
It fails with following when running "make all".

classes.pp(56) Warning: Implicit uses of Variants unit Fatal: Can't find unit variants used by Classes
Fatal: Compilation aborted

Any hints to resolve?

P.S. I am under Linux, svn rev. 26427

Regards, Denis Golovan

Reply by email

Mattias Gaertner
to denisgolovan
Show quoted text 12 lines
Hi Looks like since 26398 rev. fpc cannot be built. It fails with following when running "make all". classes.pp(56) Warning: Implicit uses of Variants unit Fatal: Can't find unit variants used by Classes Fatal: Compilation aborted Any hints to resolve? P.S. I am under Linux, svn rev. 26427

fpc trunk 26427 compiles here under Linux 64bit with fpc 2.6.2.

Mattias

Reply by email

denisgolovan
fpc trunk 26427 compiles here under Linux 64bit with fpc 2.6.2. Mattias

Hi Mattias

Even though it currently works, I believe at least Makefile.fpc in rtl/linux directory is not updated. It still assumes varutils.pp, variants.pp in old places. You can try to look at my roughly made patch attached.

Please fix.

Regards, Denis Golovan

Reply by email

Marco van de Voort
to denisgolovan

In our previous episode, denisgolovan said:

Show quoted text 7 lines
> > fpc trunk 26427 compiles here under Linux 64bit with fpc 2.6.2. > > Mattias Even though it currently works, I believe at least Makefile.fpc in rtl/linux directory is not updated. It still assumes varutils.pp, variants.pp in old places. You can try to look at my roughly made patch attached.

This patch is totally, totally wrong. variants and varutils are no longer part of the RTL, and this patch tries to reinstate them.

It should simply work as is. Yes, there are some old dependencies left in the old makefile.fpc, but that doesn't matter.

Something else in your setup is wrong, and I suggest you look for it.

Reply by email

denisgolovan
Show quoted text 7 lines
This patch is totally, totally wrong. variants and varutils are no longer part of the RTL, and this patch tries to reinstate them. It should simply work as is. Yes, there are some old dependencies left in the old makefile.fpc, but that doesn't matter. Something else in your setup is wrong, and I suggest you look for it.

Yes. I found a problem.
It works now.
It's just "old" dependencies seem weird.

Regards, Denis Golovan

Reply by email