Sign in Join

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

Mailing lists / lazarus / 2009-03

Cannot build lazarus anymore

13 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

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

A.J. Venter

I seem to be unable to build the newest versions of lazarus, I tried both the 0.9.26 stable and the latest svn snapshot with the same result.

Where is it supposed to find Contnrs ?

Ciao
A.J.

silentcoder at kongoni64:~/slackpacks/lazarus/lazarus$ make make -C lcl all
make[1]: Entering directory `/home/silentcoder/slackpacks/lazarus/lazarus/lcl' /usr/bin/rm -f units/x86_64-linux/alllclunits.ppu
/usr/bin/ppcx64 -gl -Fu. -Funonwin32 -Fuforms -Fuwidgetset -Fu/usr/lib/fpc/2.2.2/units/x86_64-linux/rtl -Fiinclude -FE. -FUunits/x86_64-linux -Cg -dx86_64 alllclunits.pp
Free Pascal Compiler version 2.2.2 [2008/07/29] for x86_64 Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling alllclunits.pp
Compiling lclversion.pas
Compiling lclstrconsts.pas
Writing Resource String Table file: lclstrconsts.rst Compiling fpcadds.pas
Compiling lazlinkedlist.pas
Compiling dynhasharray.pp
Compiling lclproc.pas
Compiling avglvltree.pas
Compiling fileutil.pas
Compiling masks.pas
Fatal: Can't find unit Contnrs used by Masks
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `/home/silentcoder/slackpacks/lazarus/lazarus/lcl' make: *** [lcl] Error 2

A.J. Venter Tel.: +27 21 554 5059 Fax: +27 11 252 9197 Outkast Solutions IT www.outkastsolutions.co.za A division of Global Pact Trading Pty Ltd. www.silentcoder.co.za - Blog scartoonz.silentcoder.co.za - ScarToonz webcomic

Reply by email

Paul Ishenin
to A.J. Venter
A.J. Venter wrote 5 lines
I seem to be unable to build the newest versions of lazarus, I tried both the 0.9.26 stable and the latest svn snapshot with the same result. Where is it supposed to find Contnrs ?

1. Check your fpc installation and search it for Contnrs.o, Contnrs.ppu. If they does not exists then build your fpc by "make all" and "make install"
2. Check your fpc installation and check that fpc.cfg contains a correct path for your Contnrs.o, Contnrs.ppu. If they are not there edit your fpc.cfg and add apropriate path.

Best regards,
Paul Ishenin.

Reply by email

Marc Weustink
to A.J. Venter: I seem to be unable to build the newest versions of lazarus, I tried both the 0.9.26…
A.J. Venter wrote 8 lines
I seem to be unable to build the newest versions of lazarus, I tried both the 0.9.26 stable and the latest svn snapshot with the same result. Where is it supposed to find Contnrs ? Ciao A.J.

....

Compiling masks.pas Fatal: Can't find unit Contnrs used by Masks Fatal: Compilation aborted

Usually this means that either you use a different compiler than the one used for compiling the rtl/fcl (multiple compilers installed and wrong unit paths) or make clean wasn't really clean, so some old unit is still there.

Marc

Reply by email

A.J. Venter
to Marc Weustink
Usually this means that either you use a different compiler than the one used for compiling the rtl/fcl (multiple compilers installed and wrong unit paths) or make clean wasn't really clean, so some old unit is still there.

I managed to find it, turns out my package build script for fpc had a bug and the FCL wasn't installed completely.

Ciao
A.J.

A.J. Venter Tel.: +27 21 554 5059 Fax: +27 11 252 9197 Outkast Solutions IT www.outkastsolutions.co.za A division of Global Pact Trading Pty Ltd. www.silentcoder.co.za - Blog scartoonz.silentcoder.co.za - ScarToonz webcomic

Reply by email

A.J. Venter
to A.J. Venter
A.J. Venter wrote 7 lines
> Usually this means that either you use a different compiler than the one > used for compiling the rtl/fcl (multiple compilers installed and wrong > unit paths) or make clean wasn't really clean, so some old unit is still > there. I managed to find it, turns out my package build script for fpc had a bug and the FCL wasn't installed completely.

New problem though -and this one seems to be in lazarus. When running make clean all (on a newly extracted directory), this happens:

/usr/bin/ppcx64 -gl -dlclgtk -Fu../../lcl/units/x86_64-linux -Fu../../ideintf/units/x86_64-linux -Fu.
-Fu/usr/lib/fpc/2.2.2/units/x86_64-linux/rtl
-Fu/usr/lib/fpc/2.2.2/units/x86_64-linux/regexpr -FE. -FUunits/x86_64-linux -Cg -dx86_64 allsyneditunits.pp Free Pascal Compiler version 2.2.2 [2008/07/29] for x86_64 Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling allsyneditunits.pp
Compiling synpropertyeditobjectlist.pas
Fatal: Can't find unit PropEdits used by SynPropertyEditObjectList Fatal: Compilation aborted
make[2]: *** [allsyneditunits.ppu] Error 1
make[2]: Leaving directory
`/tmp/package-lazarus/usr/lib/lazarus/components/synedit' make[1]: *** [synedit_all] Error 2
make[1]: Leaving directory `/tmp/package-lazarus/usr/lib/lazarus/components' make: *** [components] Error 2

A.J. Venter Tel.: +27 21 554 5059 Fax: +27 11 252 9197 Outkast Solutions IT www.outkastsolutions.co.za A division of Global Pact Trading Pty Ltd. www.silentcoder.co.za - Blog scartoonz.silentcoder.co.za - ScarToonz webcomic

Reply by email

David B Copeland
to A.J. Venter

I had the same problem, ie.

Compiling synpropertyeditobjectlist.pas

Fatal: Can't find unit PropEdits used by SynPropertyEditObjectList Fatal: Compilation aborted

on svn revision 18887.

Dave.

A.J. Venter wrote 31 lines
On Wed, Mar 4, 2009 at 11:56 AM, A.J. Venter wrote: >> Usually this means that either you use a different compiler than the one >> used for compiling the rtl/fcl (multiple compilers installed and wrong >> unit paths) or make clean wasn't really clean, so some old unit is still >> there. > > I managed to find it, turns out my package build script for fpc had a >bug and the FCL wasn't installed completely. New problem though -and this one seems to be in lazarus. When running make clean all (on a newly extracted directory), this happens: /usr/bin/ppcx64 -gl -dlclgtk -Fu../../lcl/units/x86_64-linux -Fu../../ideintf/units/x86_64-linux -Fu. -Fu/usr/lib/fpc/2.2.2/units/x86_64-linux/rtl -Fu/usr/lib/fpc/2.2.2/units/x86_64-linux/regexpr -FE. -FUunits/x86_64-linux -Cg -dx86_64 allsyneditunits.pp Free Pascal Compiler version 2.2.2 [2008/07/29] for x86_64 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Linux for x86-64 Compiling allsyneditunits.pp Compiling synpropertyeditobjectlist.pas Fatal: Can't find unit PropEdits used by SynPropertyEditObjectList Fatal: Compilation aborted make[2]: *** [allsyneditunits.ppu] Error 1 make[2]: Leaving directory `/tmp/package-lazarus/usr/lib/lazarus/components/synedit' make[1]: *** [synedit_all] Error 2 make[1]: Leaving directory `/tmp/package-lazarus/usr/lib/lazarus/components' make: *** [components] Error 2

Reply by email

A.J. Venter
to David B Copeland
on svn revision 18887.

Thanks,
That fixed it.

Ciao
A.J.

A.J. Venter Tel.: +27 21 554 5059 Fax: +27 11 252 9197 Outkast Solutions IT www.outkastsolutions.co.za A division of Global Pact Trading Pty Ltd. www.silentcoder.co.za - Blog scartoonz.silentcoder.co.za - ScarToonz webcomic

Reply by email

Martin Friebe
to David B Copeland
David B Copeland wrote 15 lines
How do you fix it? Dave. On Wed, 2009-03-04 at 15:00 +0200, A.J. Venter wrote: >> on svn revision 18887. >> > Thanks, > That fixed it. > > Ciao > A.J. >

There was an error if you did "make all" (command line), this was fixed in revision 18888 => So just upgrade

If you are trying to build from within the IDE (Menu => tools => Build) then look here
http://www.lazarus.freepascal.org/pipermail/lazarus/2009-February/023100.html

Best Regards
Martin

Reply by email

David B Copeland
to Martin Friebe

Now I having the following linking problems. The SVN revision is 18893, running on suse 11.1 and FPC 2.2.2.

Linking ../lazarus
/usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
gtk2.pas:(.text+0x104ed): undefined reference to
`gtk_file_system_error_quark'
/usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_INFO$$QWORD':
gtk2.pas:(.text+0x10505): undefined reference to
`gtk_file_info_get_type'
/usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_SYSTEM$$QWORD':
gtk2.pas:(.text+0x1051d): undefined reference to
`gtk_file_system_get_type'
/usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_FOLDER$$QWORD':
gtk2.pas:(.text+0x105b5): undefined reference to
`gtk_file_folder_get_type'
lazarus.pp(124,1) Error: Error while linking
lazarus.pp(124,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/home/david.copeland/projects/lazarus/ide' make[1]: *** [ide] Error 2
make[1]: Leaving directory `/home/david.copeland/projects/lazarus/ide' make: *** [ide] Error 2

Any ideas are appreciated.

Dave.

Martin Friebe wrote 32 lines
David B Copeland wrote: > How do you fix it? > > Dave. > > > On Wed, 2009-03-04 at 15:00 +0200, A.J. Venter wrote: > >>> on svn revision 18887. >>> >> Thanks, >> That fixed it. >> >> Ciao >> A.J. >> There was an error if you did "make all" (command line), this was fixed in revision 18888 => So just upgrade If you are trying to build from within the IDE (Menu => tools => Build) then look here http://www.lazarus.freepascal.org/pipermail/lazarus/2009-February/023100.html Best Regards Martin _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to David B Copeland

2009/3/4, David B Copeland :

Show quoted text 29 lines
Now I having the following linking problems. The SVN revision is 18893, running on suse 11.1 and FPC 2.2.2. Linking ../lazarus /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD': gtk2.pas:(.text+0x104ed): undefined reference to `gtk_file_system_error_quark' /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_INFO$$QWORD': gtk2.pas:(.text+0x10505): undefined reference to `gtk_file_info_get_type' /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_SYSTEM$$QWORD': gtk2.pas:(.text+0x1051d): undefined reference to `gtk_file_system_get_type' /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_FOLDER$$QWORD': gtk2.pas:(.text+0x105b5): undefined reference to `gtk_file_folder_get_type' lazarus.pp(124,1) Error: Error while linking lazarus.pp(124,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/home/david.copeland/projects/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/home/david.copeland/projects/lazarus/ide' make: *** [ide] Error 2

Use an older gtk2 version <2.13 or a newer fpc version >= 2.2.3.

Vincnet

Reply by email

David B Copeland
to Vincent Snijders
Vincent Snijders wrote 9 lines
2009/3/4, David B Copeland : > Now I having the following linking problems. The SVN revision is 18893, > running on suse 11.1 and FPC 2.2.2. > > Linking ../lazarus > /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function > `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD': > gtk2.pas:(.text+0x104ed): undefined reference to > `gtk_file_system_error_quark'
Show quoted text 10 lines
> make[2]: *** [lazarus] Error 1 > make[2]: Leaving directory `/home/david.copeland/projects/lazarus/ide' > make[1]: *** [ide] Error 2 > make[1]: Leaving directory `/home/david.copeland/projects/lazarus/ide' > make: *** [ide] Error 2 > Use an older gtk2 version <2.13 or a newer fpc version >= 2.2.3. Vincnet

Thanks! I think it will be easier to upgrade FPC, so I'll try that first. My suse 11.1 machines gtk2 version is 2.14.4.

Dave.

Reply by email

David B Copeland
to David B Copeland
David B Copeland wrote 28 lines
On Wed, 2009-03-04 at 19:31 +0100, Vincent Snijders wrote: > 2009/3/4, David B Copeland : > > Now I having the following linking problems. The SVN revision is 18893, > > running on suse 11.1 and FPC 2.2.2. > > > > Linking ../lazarus > > /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function > > `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD': > > gtk2.pas:(.text+0x104ed): undefined reference to > > `gtk_file_system_error_quark' > > make[2]: *** [lazarus] Error 1 > > make[2]: Leaving directory `/home/david.copeland/projects/lazarus/ide' > > make[1]: *** [ide] Error 2 > > make[1]: Leaving directory `/home/david.copeland/projects/lazarus/ide' > > make: *** [ide] Error 2 > > > > Use an older gtk2 version <2.13 or a newer fpc version >= 2.2.3. > > Vincnet Thanks! I think it will be easier to upgrade FPC, so I'll try that first. My suse 11.1 machines gtk2 version is 2.14.4. Dave.

Upgraded to FPC 2.2.5, problem gone. Thanks.

Reply by email