Jean - 记录成长历程

  • 关于
  • Language
  • RSS Feed
  • 微博
  • 豆瓣
30
Jan

error: command ‘gcc’ failed with exit status 1的解决方法

By admin|Linux系统|Be the first to comment!

_mysql.c: In function ‘_mysql_ResultObject_row_tell’:
_mysql.c:2082: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this function)
_mysql.c:2082: error: expected ‘;’ before ‘r’
_mysql.c:2084: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2085: error: ‘_mysql_ResultObject’ has no member named ‘use’

_mysql.c:2090: error: ‘r’ undeclared (first use in this function)
_mysql.c:2090: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:2091: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_dealloc’:
_mysql.c:2099: warning: implicit declaration of function ‘mysql_free_result’
_mysql.c:2099: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: At top level:
_mysql.c:2330: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2337: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:2344: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:2351: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:2358: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:2421: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:2421: error: initializer element is not constant
_mysql.c:2421: error: (near initialization for ‘_mysql_ResultObject_memberlist[0].offset’)
_mysql.c: In function ‘_mysql_ConnectionObject_getattr’:
_mysql.c:2443: error: ‘_mysql_ConnectionObject’ has no member named ‘open’

解决方法:

1.该编译安装mysql 同时修改# vim site.cfg

mysql_config = /path/to/mysql_config

2.使用# yum install MySQL-p*

无觅相关文章插件,快速提升流量

Tagged as: python
Add your comment →

0 Comments

Leave your comment below! Cancel Reply

点击取消回复

View More Posts:
  • ←
  • →

分类

  • Linux系统 (61)
  • Linux集群 (4)
  • Web服务器 (26)
  • 创业相关 (6)
  • 工作笔记 (34)
  • 我爱折腾 (16)
  • 日记 (46)
  • 网络 (3)
  • 脚本编程 (49)

最新日志

  • 使用w3 total cache给wordpress提速
  • 从零开始,我的创业感悟
  • 为大众创造更美好的日常生活
  • 我的站立式工作平台
  • 阿里云计算使用简评

最新评论

  • admin on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • jean on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • ElmaByrd35 on 解决Fedora 11中文字体难看问题

博客互联

  • HackLog
  • leapsoul
  • Myredhat
  • Ninth element
  • Ti’blog
  • William Hua
  • young001
  • 懒人运维
  • 曙光博客
  • 月夜
  • 月影
  • 杂货店一号铺
  • 王先进’s blog
  • 疯中舞步
  • 菜鸟的技术站
  • 运维进行时

技术

  • DBA BLOG
  • 回忆未来[张宴]
  • 扶凯
  • 王炜's Blog
  • 百变贝贝

Powered by the inLine Minimal WordPress Theme