尝试在Suse 10上编译gearman,我得到了这个:
#:~/src/gearmand-0.14> sudo make
make all-am
make[1]: Entering directory `/src/gearmand-0.14'
CC libgearman/libgearman_libgearman_la-client.lo
libgearman/client.c: In function '_client_add_task':
libgearman/client.c:986: error: storage size of 'uuid' isn't known
libgearman/client.c:1002: warning: implicit declaration of function 'uuid_generate'
libgearman/client.c:1003: warning: implicit declaration of function 'uuid_unparse'
libgearman/client.c:986: warning: unused variable 'uuid' [-Wunused-variable]
make[1]: *** [libgearman/libgearman_libgearman_la-client.lo] Error 1
make[1]: Leaving directory `/src/gearmand-0.14'
make: *** [all] Error 2
以下是相关的源文件:
http://bazaar.launchpad.net/~gearman-developers/gearmand/trunk/annotate/head:/libgearman/client.c
答案 0 :(得分:1)
'uuid'的存储空间未知
我猜你在client.c中缺少#include
。