安装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
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。