[packagekit] Compilation error
Matej Cepl
mcepl at redhat.com
Wed Oct 10 05:30:57 PDT 2007
Trying to compile gnome-packagekit from src.rpm on x86_64 Fedora
8 I get this error:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -pthread -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DORBIT2=1 -pthread
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/packagekit -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-DBINDIR=\/usr/bin\„ -DDATADIR=\„/usr/share\„ -DPREFIX=\„„/usr„\„
-DSYSCONFDIR=\„„/etc„\„ -DLIBDIR=\„„/usr/lib64„\„
-DVERSION=„\„0.0.1\„„ -DPK_DATA=\„/usr/share/gnome-packagekit\„
-I../libpackagekit -Werror -Wcast-align -Wno-uninitialized
-Wall -g -fexceptions -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -MT pk-prefs.o -MD -MP -MF .deps/pk-prefs.Tpo -c
-o pk-prefs.o pk-prefs.c
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
More information about the PackageKit
mailing list