posts - 200, comments - 8, trackbacks - 0, articles - 0
  检查是否已经安装以下的辅助软件包
          [root@localhost ~]# rpm -q ncurses
          ncurses-5.5-24.
          [root@localhost ~]#  rpm -q ncurses-devel
          package ncurses-devel is not installed
    提示ncurses-devel没有安装,用yum安装:
          [root@localhost ~]#  yum install ncurses-devel
          Setting up Install Process
          Total download size: 1.6 M
          Is this ok [y/N]: y
          Downloading Packages:
          Installed:  ncurses-devel.i386 0:5.5-24.
          Complete! 

链接要加上ncurses库, cc -l ncurses xxxx.c

转自:http://blog.csdn.net/xumaojun/article/details/6229789

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理