Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4029132
  • 博文数量: 366
  • 博客积分: 9916
  • 博客等级: 中将
  • 技术积分: 7195
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-29 23:27
个人简介

简单!

文章分类

全部博文(366)

文章存档

2013年(51)

2012年(269)

2011年(46)

分类: C/C++

2012-11-05 14:32:28

错误信息:

In file included from accel-pppd/cli/std_cmd.c:13:
accel-pppd/cli/cli.h:4:18: error: pcre.h: No such file or directory
In file included from accel-pppd/cli/std_cmd.c:13:
accel-pppd/cli/cli.h:25: error: expected specifier-qualifier-list before ‘pcre’
accel-pppd/cli/std_cmd.c: In function ‘show_stat_exec’:
accel-pppd/cli/std_cmd.c:34: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
accel-pppd/cli/std_cmd.c: In function ‘terminate_exec1’:
accel-pppd/cli/std_cmd.c:111: error: ‘pcre’ undeclared (first use in this function)
accel-pppd/cli/std_cmd.c:111: error: (Each undeclared identifier is reported only once
accel-pppd/cli/std_cmd.c:111: error: for each function it appears in.)
accel-pppd/cli/std_cmd.c:111: error: ‘re’ undeclared (first use in this function)
accel-pppd/cli/std_cmd.c:123: warning: implicit declaration of function ‘pcre_compile2’
accel-pppd/cli/std_cmd.c:131: warning: implicit declaration of function ‘pcre_exec’
accel-pppd/cli/std_cmd.c:140: warning: implicit declaration of function ‘pcre_free’
make[2]: *** [accel-pppd/CMakeFiles/accel-pppd.dir/cli/std_cmd.c.o] Error 1
make[1]: *** [accel-pppd/CMakeFiles/accel-pppd.dir/all] Error 2
make: *** [all] Error 2


解决方法:

apt-get update
apt-get install libpcre3 libpcre3-dev
阅读(9322) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~