[packagekit] Res: Res: Res: Res: Res: error compiling
Daniel Nicoletti
dantti85-pk at yahoo.com.br
Fri Jan 2 06:55:13 PST 2009
>touch configure.ac
>cd contrib/gtk-module
>make clean
>make
>
>And then attach all the compile output please? Thanks.
k here it goes.. it's not the same computer
but the error seens to be the same:
daniel at bart:~/code/packagekit/PackageKit/contrib/gtk-module$ make
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wall -Werror -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wredundant-decls -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body-Wignored-qualifiers -Wsign-compare -Wtype-limits -Wuninitialized -Waggregate-return
-Wdeclaration-after-statement -Wshadow -Winline -Wswitch-enum -Wmissing-parameter-type -Woverride-init -g -O2 -MT libpk_gtk_module_la-pk-gtk-module.lo -MD -MP -MF .deps/libpk_gtk_module_la-pk-gtk-module.Tpo -c -o libpk_gtk_module_la-pk-gtk-module.lo `test -f 'pk-gtk-module.c' || echo './'`pk-gtk-module.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wall -Werror -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wredundant-decls -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body -Wignored-qualifiers -Wsign-compare -Wtype-limits -Wuninitialized -Waggregate-return -Wdeclaration-after-statement
-Wshadow -Winline -Wswitch-enum -Wmissing-parameter-type -Woverride-init -g -O2 -MT libpk_gtk_module_la-pk-gtk-module.lo -MD -MP -MF .deps/libpk_gtk_module_la-pk-gtk-module.Tpo -c pk-gtk-module.c -fPIC -DPIC -o .libs/libpk_gtk_module_la-pk-gtk-module.o
In file included from /usr/include/gtk-2.0/gdk/gdkspawn.h:26,
from /usr/include/gtk-2.0/gdk/gdk.h:52,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from pk-gtk-module.c:31:
/usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly."
cc1: warnings being treated as errors
pk-gtk-module.c: In function ‘guess_xid’:
pk-gtk-module.c:56: error: implicit declaration of function ‘gtk_widget_get_window’
pk-gtk-module.c:56: error: passing argument 1 of ‘gdk_x11_drawable_get_xid’ makes pointer from integer without a cast
make: *** [libpk_gtk_module_la-pk-gtk-module.lo] Error 1
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20090102/2403dcc7/attachment-0002.htm>
More information about the PackageKit
mailing list