错误信息:
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) |