编译 Gearman 错误 - 存储大小 uuid 未知
尝试在 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
Trying to compile gearman on Suse 10 and I get this:
#:~/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
Here is the source file in question:
http://bazaar.launchpad.net/~gearman-developers/gearmand/trunk/annotate/head:/libgearman/client.c
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜您在 client.c 中缺少
#include
。I guess you're missing an
#include
in client.c.