Sign in Join

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

Mailing lists / lazarus / 2008-11

GTK2 and Mandriva 2009

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Luis R. Hilario B.

Hello all,

I updated to Mandriva 2009, also FPC and Lazarus.

Compiled again my program with GTK 2 (using LCL_PLATFORM=gtk2), and I have the following error:

Linking
../lazarus

/usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
gtk2.pas:(.text+0xb7b1): undefined reference to
`gtk_file_system_error_quark'
/usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_INFO$$LONGWORD':
gtk2.pas:(.text+0xb7c1): undefined reference to `gtk_file_info_get_type'

Tested with an example of FPC and I have the same error:

fpc-2.2.2/packages/gtk2/examples/helloworld

Linking
./helloworld

/usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
gtk2.pas:(.text+0xb7b1): undefined reference to
`gtk_file_system_error_quark'

How would it be able to resolve that problem?

Thanks.

http://luisdigital.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081102/5e454650/attachment.html

Reply by email

Paul Ishenin
to Luis R. Hilario B.
Luis R. Hilario B. wrote 12 lines
Hello all, ... Linking ./helloworld /usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD': gtk2.pas:(.text+0xb7b1): undefined reference to `gtk_file_system_error_quark' How would it be able to resolve that problem?

use fpc 2.2.3 or fpc 2.3.1

Best regards,
Paul Ishenin.

Reply by email