新人初次安装 出现以下错误。 make menuselect 选择的是 cdr_mysql 求点拨明示。 q|8p4X}/]
make 后出现 1f.xZgO/2
5xEk 7g.
[LD] res_timing_pthread.o -> res_timing_pthread.so .W>8bg'u9
[CC] cdr_mysql.c -> cdr_mysql.o rI[Lg0S
cdr_mysql.c:47:25: error: mysql/mysql.h: No such file or directory /@*J\0h(-
cdr_mysql.c:48:26: error: mysql/errmsg.h: No such file or directory 0H V-e
cdr_mysql.c:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql’ M~G1ZB
cdr_mysql.c: In function ‘mysql_log’: rLzYkZ
cdr_mysql.c:179: warning: implicit declaration of function ‘mysql_init’ E9Q?@' h
cdr_mysql.c:179: error: ‘mysql’ undeclared (first use in this function) ? }k~>. \
cdr_mysql.c:179: error: (Each undeclared identifier is reported only once M?UlC
cdr_mysql.c:179: error: for each function it appears in.) >Kd(.r[Er
cdr_mysql.c:181: warning: implicit declaration of function ‘mysql_options’ jZ'y_
cdr_mysql.c:181: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use in this function) >:ZlYZ6sI
cdr_mysql.c:182: warning: implicit declaration of function ‘mysql_errno’ _n3Jf<Y
cdr_mysql.c:182: warning: implicit declaration of function ‘mysql_error’ N1V qK
cdr_mysql.c:182: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ ;5*)kX
cdr_mysql.c:191: warning: implicit declaration of function ‘mysql_ssl_set’ Wu
71q=
cdr_mysql.c:193: warning: implicit declaration of function ‘mysql_real_connect’ :*2+t-
cdr_mysql.c:193: error: ‘CLIENT_SSL’ undeclared (first use in this function) +njE
cdr_mysql.c:199: warning: implicit declaration of function ‘mysql_real_query’ V zx%N.
cdr_mysql.c:203: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’ t `4^cd5V
cdr_mysql.c:209: warning: implicit declaration of function ‘mysql_ping’ Yg;g!~
cdr_mysql.c:213: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function) 1m/=MET]
cdr_mysql.c:214: error: ‘CR_SERVER_LOST’ undeclared (first use in this function) h&!k!Su3#
cdr_mysql.c:218: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ ,u}n!quA
cdr_mysql.c:328: warning: implicit declaration of function ‘mysql_real_escape_string’ 35Jno<TP'
cdr_mysql.c:342: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ C/P,W>8
cdr_mysql.c:343: warning: implicit declaration of function ‘mysql_close’ x*#F|N4~',
cdr_mysql.c: In function ‘my_unload_module’: ^"w.v' sL
cdr_mysql.c:362: error: ‘mysql’ undeclared (first use in this function) HY]vaA`
cdr_mysql.c: In function ‘my_load_module’: dkV%Pyj
cdr_mysql.c:437: error: ‘MYSQL_ROW’ undeclared (first use in this function) 7p?6j)rj
cdr_mysql.c:437: error: expected ‘;’ before ‘row’ @"}dbW <DV
cdr_mysql.c:438: error: ‘MYSQL_RES’ undeclared (first use in this function) J! 4l-.-
cdr_mysql.c:438: error: ‘result’ undeclared (first use in this function) f77uqv(Y
cdr_mysql.c:532: error: ‘mysql’ undeclared (first use in this function)
,i2%FW
cdr_mysql.c:534: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use in this function) B;8YX>r
cdr_mysql.c:535: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ K/~+bq#+
cdr_mysql.c:553: error: ‘CLIENT_SSL’ undeclared (first use in this function) .P=uR8
cdr_mysql.c:570: warning: implicit declaration of function ‘mysql_query’ &DX9m4,y
cdr_mysql.c:579: warning: implicit declaration of function ‘mysql_store_result’ *JG?^G"l
cdr_mysql.c:588: error: ‘row’ undeclared (first use in this function) xDBEs*
cdr_mysql.c:588: warning: implicit declaration of function ‘mysql_fetch_row’ {Izg1N
cdr_mysql.c:646: warning: implicit declaration of function ‘mysql_free_result’ 'JEZ;9}
make[1]: *** [cdr_mysql.o] Error 1 ;G.m;5A
make: *** [addons] Error 2 a9GOY+;bf
FhB^E$r%
路径问题,我该在什么地方设置下呢?