Re: [libvirt] [libvirt-glib] [PATCH] Explicitly link conn-test example against libgobject

2011-10-03 Thread Daniel P. Berrange
On Sun, Oct 02, 2011 at 02:02:12PM +0200, Guido Günther wrote: Otherwise the build fails with: /usr/bin/ld: conn_test-conn-test.o: undefined reference to symbol 'g_type_check_instance_cast' /usr/bin/ld: note: 'g_type_check_instance_cast' is defined in DSO /usr/lib/libgobject-2.0.so.0 so

Re: [libvirt] [libvirt-glib] [PATCH] Explicitly link conn-test example against libgobject

2011-10-03 Thread Guido Günther
On Mon, Oct 03, 2011 at 09:43:32AM +0100, Daniel P. Berrange wrote: On Sun, Oct 02, 2011 at 02:02:12PM +0200, Guido Günther wrote: Otherwise the build fails with: /usr/bin/ld: conn_test-conn-test.o: undefined reference to symbol 'g_type_check_instance_cast' /usr/bin/ld: note:

[libvirt] [libvirt-glib] [PATCH] Explicitly link conn-test example against libgobject

2011-10-02 Thread Guido Günther
Otherwise the build fails with: /usr/bin/ld: conn_test-conn-test.o: undefined reference to symbol 'g_type_check_instance_cast' /usr/bin/ld: note: 'g_type_check_instance_cast' is defined in DSO /usr/lib/libgobject-2.0.so.0 so try adding it to the linker command line /usr/lib/libgobject-2.0.so.0: