[packagekit] Compilation error
Adrien BUSTANY
madcat at mymadcat.com
Wed Oct 10 06:42:26 PDT 2007
Matej Cepl a écrit :
> cc1: warnings being treated as errors
> pk-prefs.c: In function
> 'pk_button_close_cb':
> pk-prefs.c:66: warning: cast to pointer from integer of different
> size
> pk-prefs.c: In function
> 'pk_window_delete_event_cb':
> pk-prefs.c:100: warning: cast to pointer from integer of
> different size
> make[2]: *** [pk-prefs.o] Error 1
> make[2]: Leaving directory
> `/home/matej/rpm/BUILD/gnome-packagekit-0.0.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/matej/rpm/BUILD/gnome-packagekit-0.0.1'
> make: *** [all] Error 2
> error: Špatný návratový kód z /var/tmp/rpm-tmp.50727
> (%build)
>
>
> chyby sestavení RPM:
> Špatný návratový kód z /var/tmp/rpm-tmp.50727
> (%build)
>
> What should I do?
>
> Matěj Cepl
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
Reading the code I don't even understand how this code could work...
Casting a boolean to a GMainLoop is black voodoo to me. Maybe you should
replace the gboolean by gpointers in the function's prototype, but I'm
not sure.
Regards
Adrien BUSTANY
More information about the PackageKit
mailing list