安装skyeye遇到的问题

2019-07-16 09:22发布

使用的是VM安装的REDHAT9,编译的源代码是skyeye-1.3.3_rel.tar.gz
./configure
make之后出现了以下的错误、、、
请一下怎么解决,谢谢!!!!!!!!!

ctrl/scheduler.c:51: parse error before "thread_lock"
ctrl/scheduler.c:51: warning: data definition has no type or storage class
ctrl/scheduler.c: In function `thread_scheduler':
ctrl/scheduler.c:83: implicit declaration of function `pthread_rwlock_wrlock'
ctrl/scheduler.c:85: implicit declaration of function `pthread_rwlock_unlock'
ctrl/scheduler.c: In function `init_thread_scheduler':
ctrl/scheduler.c:100: implicit declaration of function `pthread_rwlock_init'
ctrl/scheduler.c:104: warning: passing arg 1 of `create_thread' from incompatible pointer type
ctrl/scheduler.c: In function `fini_thread_scheduler':
ctrl/scheduler.c:210: implicit declaration of function `pthread_rwlock_destroy'
ctrl/scheduler.c: At top level:
ctrl/scheduler.c:220: parse error before "timer_lock"
ctrl/scheduler.c:220: warning: data definition has no type or storage class
make[2]: *** [scheduler.lo] Error 1
make[2]: Leaving directory `/home/vinux/skyeye/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vinux/skyeye'
make: *** [all] Error 2
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
3条回答
songyu2010
1楼-- · 2019-07-16 14:23
z00
2楼-- · 2019-07-16 16:18
先看看 skyeye 包里的 README 和 INSTALL,检查编译环境是否合适
z00
3楼-- · 2019-07-16 20:51
 精彩回答 2  元偷偷看……

一周热门 更多>