lib/libvhd.so: undefined reference to `uuid_generate' lib/libvhd.so: undefined reference to `uuid_copy' lib/libvhd.so: undefined reference to `uuid_is_null' lib/libvhd.so: undefined reference to `uuid_unparse' lib/libvhd.so: undefined reference to `uuid_clear' lib/libvhd.so: undefined reference to `uuid_compare' 主要是因为Makefile中的链接库少了 -luuid 比如: bug为 VHDLIBS := -L$(LIBVHDDIR) -lvhd 改正后为 VHDLIBS := -L$(LIBVHDDIR) -lvhd -luuid