Sign in Join

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

Mailing lists / lazarus / 2000-12

Problem Compiling

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Curtis White
to Luis Digital: The problem with the units (http://www.freepascal.org/bugs/showrec.php3?ID=1164) Forms…

Hi all,

I have been away for quite a while now. We bought a house and moved in and that has taken a lot of my time. Anyway, since I last did a CVS update, the FPC team has released V1 and it appears they are now working on 1.1. Now that I have done a CVS update, I cannot get the RTL to compile any more. I get the following error:

system.pp(22,36) Error: Illegal unit name: SYSTEM
system.pp(27,1) Fatal: There were 1 errors compiling module, stopping make[1]: *** [system.ppu] Error 1
make[1]: Leaving directory `/opt/fpc/rtl/linux'
make: *** [linux_all] Error 2

I am just going into the rtl directory and doing a make. I also tried "make RELEASE=1" and still get the same error. I'm using the last version of the compiler that I compiled before V1 was released (from the August timeframe). Do I need to download a newer version of the compiler binary?

Does anyone know why I am getting this error and what I need to do to correct it?

Curtis

Reply by email

Marco van de Voort
to Curtis White
Show quoted text 5 lines
I have been away for quite a while now. We bought a house and moved in and that has taken a lot of my time. Anyway, since I last did a CVS update, the FPC team has released V1 and it appears they are now working on 1.1. Now that I have done a CVS update, I cannot get the RTL to compile any more. I get the following error:

FPC team is working on both 1.0.x and 1.1

Stabilising 1.0, and further development in 1.1. (which is going to be 1.2 ultimately)

To cycle 1.1 you will need a recent 1.0 snapshot (there are snapshots for both 1.1 and 1.0 atm, since 1.1 is sometimes unstable), and start the 1.1 CVS checkout with that.

"make RELEASE=1" and still get the same error. I'm using the last version of the compiler that I compiled before V1 was released (from the August timeframe). Do I need to download a newer version of the compiler binary?

Yes.

Does anyone know why I am getting this error and what I need to do to correct it?

The name of the System unit is now always System. The need for having multiple names was lifted, so we corrected it after 1.0

However since this name is hardcoded (e.g. in the startup assembler files), we can't make it configurable, so we simply changed it going from 1.0 to 1.1

Reply by email

Peter Vreman
Show quoted text 21 lines
Hi all, I have been away for quite a while now. We bought a house and moved in and that has taken a lot of my time. Anyway, since I last did a CVS update, the FPC team has released V1 and it appears they are now working on 1.1. Now that I have done a CVS update, I cannot get the RTL to compile any more. I get the following error: system.pp(22,36) Error: Illegal unit name: SYSTEM system.pp(27,1) Fatal: There were 1 errors compiling module, stopping make[1]: *** [system.ppu] Error 1 make[1]: Leaving directory `/opt/fpc/rtl/linux' make: *** [linux_all] Error 2 I am just going into the rtl directory and doing a make. I also tried "make RELEASE=1" and still get the same error. I'm using the last version of the compiler that I compiled before V1 was released (from the August timeframe). Do I need to download a newer version of the compiler binary? Does anyone know why I am getting this error and what I need to do to correct it?

You need to start with the 1.0.2 release compiler.

But atm you can also better use the 1.0.x released compilers as the 1.1 is less stable

Reply by email

Luis Digital

Hi,

The problem with the units
(http://www.freepascal.org/bugs/showrec.php3?ID=1164) Forms and GTK had to that the packages to develop were not installed.

For SuSE Linux (I do not know for others):
In addition to packages GTK and forms, the packages of development are due to install.
ftp://ftp.suse.com/pub/suse/i386/6.4/suse/pay1/xformsd.rpm ftp://ftp.suse.com/pub/suse/i386/6.4/suse/gra2/gtkdev.rpm

Now Lazarus is seen better.

If the report is modified, would be of aid for others.

Thanks Michael and to all.

|-------------------------| | Luis R. Hilario | | http://luisdigital.2y.net | |-------------------------|

Reply by email