- 主题:tt.lo 错误 1
--with-mysql 没有安装php 和 www
make的时候出错
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINVISIBLE -DSAFE_KILL -D_DETAIL_UINFO_ -DSHOW_IDLE_TIME -I../src -DLINUX -I/usr/include/mysql -MT tt.lo -MD -MP -MF .deps/tt.Tpo -c tt.c -fPIC -DPIC -o .libs/tt.o
tt.c: In function 'tt_game':
tt.c:134: error: 'CLK_TCK' undeclared (first use in this function)
tt.c:134: error: (Each undeclared identifier is reported only once
tt.c:134: error: for each function it appears in.)
make[3]: *** [tt.lo] 错误 1
make[2]: *** [all-recursive] 错误 1
make[1]: *** [all-recursive] 错误 1
make: *** [all] 错误 2
怎么解决呢?
--
FROM 211.99.222.*
什么系统?
第一个函数前面加上
#ifndef CLK_TCK
#define CLK_TCK sysconf(_SC_CLK_TCK)
#endif
【 在 Klinux (猪猪) 的大作中提到: 】
: --with-mysql 没有安装php 和 www
: make的时候出错
: gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINVISIBLE -DSAFE_KILL -D_DETAIL_UINFO_ -DSHOW_IDLE_TIME -I../src -DLINUX -I/usr/include/mysql -MT tt.lo -MD -MP -MF .deps/tt.Tpo -c tt.c -fPIC -DPIC -o .libs/tt.o
: ...................
--
FROM 128.12.150.*
ubuntu
我去cc先..thanks~
【 在 atppp (Big Mouse) 的大作中提到: 】
: 什么系统?
: 第一个函数前面加上
: #ifndef CLK_TCK
: ...................
--
FROM 211.99.222.*
这是为什么呢
【 在 atppp (Big Mouse) 的大作中提到: 】
: 什么系统?
: 第一个函数前面加上
: #ifndef CLK_TCK
: ...................
--
FROM 159.226.37.*