[packagekit] Res: Res: error compiling

Richard Hughes hughsient at gmail.com
Thu Jan 1 01:29:14 PST 2009


On Tue, 2008-12-30 at 15:39 -0800, Daniel Nicoletti wrote:
> gtk-doc: Linking scanner
> gcc -g -O2 -o .libs/PackageKit-scan .libs/PackageKit-scan.o -pthread
> -ldbus-glib-1 /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so
> -lrt /usr/lib/libsqlite3.so ../../lib/packagekit-glib/.libs/libpackagekit-glib.so -lpolkit-dbus -ldbus-1 -lpolkit-grant /usr/lib/libglib-2.0.so -lpolkit   -Wl,--rpath -Wl,/home/daniel/code/packagekit/pkbin//lib
> .libs/PackageKit-scan.o: In function `get_object_types':
> /home/daniel/code/packagekit/PackageKit/build/docs/api/PackageKit-scan.c:26: undefined reference to `pk_extra_get_type'
> 
> 
> ok, now seems that i'm completely out of luck, undefined reference
> seems not something missing in my installation.

cd docs/api
make clean
make

> >Names _and_ descriptions.
> good i already have that, also i saw sometime earlier you asking about
> the way search name should work, would it be bad to slice the string
> like "foo" "bar" and if the user use quotes "foo bar" you send them
> only?
> i think (not sure) that passing an array with the search terms would
> be easier
> for the backends, as it would be the same as cmd line..

We've still not decided on the search format, and whether this is split
in the backend, the server or the client. I'm erring on a client policy
decision and a backend delimiter, but it's new years day, and I need to
think clearly to decide :-)

Richard.





More information about the PackageKit mailing list