./configure能通过
make出错,下面是错误信息,
mysql.cc: In function ‘void print_table_data(MYSQL_RES*)’:
mysql.cc:1650: error: expected primary-expression before ‘?’ token
mysql.cc:1650: error: expected ‘:’ before ‘)’ token
mysql.cc:1650: error: expected primary-expression before ‘)’ token
mysql.cc:1652: error: expected primary-expression before ‘?’ token
mysql.cc:1652: error: expected ‘:’ before ‘)’ token
mysql.cc:1652: error: expected primary-expression before ‘)’ token
mysql.cc:1666: error: expected primary-expression before ‘?’ token
mysql.cc:1666: error: expected ‘:’ before ‘)’ token
mysql.cc:1666: error: expected primary-expression before ‘)’ token
mysql.cc: In function ‘int com_edit(String*, char*)’:
mysql.cc:2029: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
make[2]: *** [mysql.o] 错误 1
make[2]:正在离开目录 `/usr/local/mysql/client'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/usr/local/mysql'
make: *** [all] 错误 2
请各位帮帮我把,谢谢了,在线等~
--转自