Sign in Join

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

Mailing lists / lazarus / 2008-11

jitform.pas won't compile

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Dave Coventry

Hi,

I've downloaded the latest SVN Checked out revision 17479.

But when I compile I get the following errors:

Target OS: Linux for x86-64
Compiling jitform.pas
jitform.pas(100,38) Error: identifier idents no member "SetDesignInstance" jitform.pas(100,55) Error: Illegal expression
jitform.pas(100,55) Fatal: Syntax error, ";" expected but "(" found Fatal: Compilation aborted
make[2]: *** [jitform.ppu] Error 1
make[2]: Leaving directory `/usr/lib/lazarus/designer/jitform' make[1]: *** [jitform_all] Error 2
make[1]: Leaving directory `/usr/lib/lazarus/designer' make: *** [designer] Error 2

Can anyone advise?

I'm using fpc 2.2.0 on an AMD64 Box with Ubuntu 8.10.

Reply by email

Vincent Snijders
to Dave Coventry
Dave Coventry wrote 11 lines
Hi, I've downloaded the latest SVN Checked out revision 17479. But when I compile I get the following errors: Target OS: Linux for x86-64 Compiling jitform.pas jitform.pas(100,38) Error: identifier idents no member "SetDesignInstance" I'm using fpc 2.2.0 on an AMD64 Box with Ubuntu 8.10.

You should update to fpc 2.2.2 or higher.

Vincent

Reply by email

Dave Coventry
to Vincent Snijders

Thanks Vincent.

I got over that hurdle. Now I'm getting this:

~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~~~~
Linking ../lazarus
/usr/local/lib/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/local/lib/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/local/lib/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/local/lib/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(122,1) Error: Error while linking
lazarus.pp(122,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/usr/lib/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/usr/lib/lazarus/ide'
make: *** [ide] Error 2
~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~~~~

2008/11/20 Vincent Snijders :

Show quoted text 8 lines
You should update to fpc 2.2.2 or higher. Vincent _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Luca Olivetti
to Dave Coventry

En/na Dave Coventry ha escrit:

Show quoted text 27 lines
Thanks Vincent. I got over that hurdle. Now I'm getting this: ~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~~~~ Linking ../lazarus /usr/local/lib/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/local/lib/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/local/lib/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/local/lib/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(122,1) Error: Error while linking lazarus.pp(122,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/usr/lib/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/usr/lib/lazarus/ide' make: *** [ide] Error 2 ~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~~~~

This was fixed later than 2.2.2, so you should get a snapshot of the fixes tree (if you want to stay with the "stable" branch) or of the development tree.

http://freepascal.org/develop.var

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Dave Coventry

This is what I did:

I ran 'svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc' which downloaded the fpc files into /opt/fpc

I changed directory to /opt/fpc and ran 'make all', which seemed to compile okay. Then I ran 'make install' which I expected to overwrite the fpc-2.2.2 version as the default implementation.

However, that version still appears to be invoked when I try to compile Lazarus.

Reply by email

Dave Coventry

Vincent,

I've changed
/usr/bin/ppcx64-> to point to-> /opt/fpc/compiler/ppcx64 but this didn't work.

However, using PP=/opt/fpc/compiler/ppcx64 did work.

How is this going to affect my own applications? When I compile my own apps, which compiler will they be compiled under? and does it matter?

2008/11/21 Vincent Snijders :

Show quoted text 27 lines
Dave Coventry schreef: > > This is what I did: > > I ran 'svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc' > which downloaded the fpc files into /opt/fpc > > I changed directory to /opt/fpc and ran 'make all', which seemed to > compile okay. Then I ran 'make install' which I expected to overwrite > the fpc-2.2.2 version as the default implementation. > > However, that version still appears to be invoked when I try to compile > Lazarus. make sure the symlink from fpc in /usr/bin points to the correct ppcXXX compiler Or Do make PP=/path/to/installed/ppcXXX for i386: make PP=/usr/lib/fpc/2.2.2/ppc386 For more details, read the buildfaq (google for buildfaq.pdf) HTH, Vincent

Reply by email