[Libguestfs] Compile failure

Wanlong Gao wanlong.gao at gmail.com
Sun Jan 22 09:07:56 UTC 2012


Hi:

I can't compile upstream now, it seems the gobject ld error, maybe I need install something, but I'm
not familiar with gobject.

Maybe we need to add something more to check if we should enable gobject bindings?

error message is below:
---
  GISCAN Guestfs-1.0.gir
./.libs/libguestfs-gobject-1.0.so: undefined reference to `guestfs_test0rbufferouterr'
./.libs/libguestfs-gobject-1.0.so: undefined reference to `guestfs_test0_argv'
./.libs/libguestfs-gobject-1.0.so: undefined reference to `guestfs_test0rbufferout'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['bash', '../libtool-kill-dependency_libs.sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/work/git/libguestfs/gobject/tmp-introspect_tAaLT/Guestfs-1.0', '-export-dynamic', '-L.', 'libguestfs-gobject-1.0.la', '-pthread', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/work/git/libguestfs/gobject/tmp-introspect_tAaLT/Guestfs-1.0.o']' returned non-zero exit status 1
make[3]: *** [Guestfs-1.0.gir] Error 1
make[3]: Leaving directory `/work/git/libguestfs/gobject'


Thanks
-Wanlong Gao




More information about the Libguestfs mailing list