[packagekit] compile error on gnome-packagekit

Andres Vargas - zodman zodman at gmail.com
Wed Feb 17 22:23:12 PST 2010

im using/installed the last commit on PackageKit git version

when i try to compile gnome-packagekit 2.29.2

gime this error:

  CC     gpk-application-main.o
  CC     gpk-application.o
gpk-application.c: In function âgpk_application_populate_selectedâ:
gpk-application.c:1729: warning: implicit declaration of function
gpk-application.c:1729: warning: assignment makes pointer from integer
without a cast
  CC     gpk-cell-renderer-uri.o
  CCLD   gpk-application
gpk-application.o: In function `gpk_application_populate_selected':
undefined reference to `pk_package_sack_get_index'
collect2: ld returned 1 exit status
make[3]: *** [gpk-application] Error 1
make[3]: Leaving directory
make[2]: *** [all] Error 2
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all] Error 2

pk_package_sack_get_index its not defined ????

im get on the library on packagekit

[zodman at gnome PackageKit]$ cd packagekit-glib2/
[zodman at gnome packagekit-glib2]$ cd /usr/include/PackageKit/packagekit-glib2/
[zodman at gnome packagekit-glib2]$ grep gpk_application_populate_selected *
[zodman at gnome packagekit-glib2]$

not found that method :S what happend ?

More information about the PackageKit mailing list