[packagekit] compile error

Daniel Nicoletti dantti85-pk at yahoo.com.br
Mon Sep 28 08:37:34 PDT 2009


Hi, just pulled and got this:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../lib -I../../lib -I. -DPK_COMPILATION -DPK_DB_DIR=\"/home/daniel/code/packagekit/pkbin/var/lib/PackageKit\" -DEGG_LOG_FILE=\"/home/daniel/code/packagekit/pkbin/var/log/PackageKit\" -DEGG_VERBOSE=\"PK_VERBOSE\" -DEGG_LOGGING=\"PK_LOGGING\" -DEGG_CONSOLE=\"PK_CONSOLE\" -DLOCALSTATEDIR=\"/home/daniel/code/packagekit/pkbin/var\" -DPACKAGE_DATA_DIR=\"/home/daniel/code/packagekit/pkbin/share\" -DPACKAGE_LOCALE_DIR=\"/home/daniel/code/packagekit/pkbin/share/locale\" -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DGSEAL_ENABLE -Werror -Wall -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wpointer-arith
 -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wsign-compare -Wuninitialized -Waggregate-return -Wdeclaration-after-statement -Wshadow -Wno-strict-aliasing -Winline -g -O2 -MT libpackagekit_glib2_la-pk-catalog.lo -MD -MP -MF .deps/libpackagekit_glib2_la-pk-catalog.Tpo -c pk-catalog.c  -fPIC -DPIC -o .libs/libpackagekit_glib2_la-pk-catalog.o
cc1: warnings being treated as errors
pk-catalog.c: In function ‘pk_catalog_lookup_state_finish’:
pk-catalog.c:221: error: passing argument 2 of ‘g_simple_async_result_set_from_error’ discards qualifiers from pointer target type
make[3]: ** [libpackagekit_glib2_la-pk-catalog.lo] Erro 1
make[3]: Saindo do diretório `/home/daniel/code/packagekit/PackageKit/lib/packagekit-glib2'
make[2]: ** [install] Erro 2


Daniel.



      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com



More information about the PackageKit mailing list