[Lazarus] Cannot build lazarus anymore - new problem

Vincent Snijders vincent.snijders at gmail.com
Wed Mar 4 19:31:51 CET 2009


2009/3/4, David B Copeland <david.copeland at jsidata.ca>:
> 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



More information about the Lazarus mailing list