[Bug 260464] [NEW] fp-units-gtk2 has undefined references due to GtkFileSystemError removal from GTK

Launchpad Bug Tracker 260464 at bugs.launchpad.net
Fri Nov 28 20:39:34 GMT 2008


You have been subscribed to a public bug by James Westby (james-w):

Binary package hint: fpc

I am trying to compile a new package (my first) for Ubuntu in a pbuilder
environment with lazarus, but it fails because fp-units-gtk2 has
undefined references. A bug was filed [1] where a patch was also
supplied. I tried to tested it but I did not get it to work. I attach it
here nevertheless because it looks simple, although the paths are not
correct. It tries to patch packages/gtk2/src/gtk+/gtk/gtk2.pas and
packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc instead of
fpcsrc/packages/extra/gtk2/gtk+/gtk/gtk2.pas and
fpcsrc/packages/extra/gtk2/gtk+/gtk/gtkfilesystem.inc

My debian type program source is available at [2]

The error message:
Linking winff
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
gtk2.pas:(.text+0xb7d1): undefined reference to `gtk_file_system_error_quark'
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_INFO$$LONGWORD':
gtk2.pas:(.text+0xb7e1): undefined reference to `gtk_file_info_get_type'
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_SYSTEM$$LONGWORD':
gtk2.pas:(.text+0xb7f1): undefined reference to `gtk_file_system_get_type'
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_FOLDER$$LONGWORD':
gtk2.pas:(.text+0xb871): undefined reference to `gtk_file_folder_get_type'
winff.lpr(31,1) Error: Error while linking

root at etna:/# lsb_release -rd
Description:    Ubuntu intrepid (development branch)
Release:        8.10

root at etna:~/winff-0.42# apt-cache policy fp-units-gtk2
fp-units-gtk2:
  Installed: 2.2.0-dfsg1-9
  Candidate: 2.2.0-dfsg1-9
  Version table:
 *** 2.2.0-dfsg1-9 0
        500 http://mirrors.kernel.org intrepid/universe Packages
        100 /var/lib/dpkg/status

[1] http://mantis.freepascal.org/view.php?id=11837
[2] http://mentors.debian.net/debian/pool/main/w/winff

** Affects: lazarus
     Importance: Unknown
         Status: Unknown

** Affects: fpc (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
fp-units-gtk2 has undefined references due to GtkFileSystemError removal from GTK
https://bugs.edge.launchpad.net/bugs/260464
You received this bug notification because you are a member of Ubuntu Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list