CentOS7安装fcgi-2.4.1-fastcgi开发包-make编译出错
来源:互联网 发布:ddns域名映射ip和端口 编辑:程序博客网 时间:2024/05/07 07:50
fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()':
fcgio.cpp:50:14: error: 'EOF' was not declared in this scope
overflow(EOF);
^
fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)':
fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
if (FCGX_PutStr(pbase(), plen, this->fcgx) != plen) return EOF;
^
fcgio.cpp:75:14: error: 'EOF' was not declared in this scope
if (c != EOF)
^
fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()':
fcgio.cpp:86:18: error: 'EOF' was not declared in this scope
if (overflow(EOF)) return EOF;
^
fcgio.cpp:87:41: error: 'EOF' was not declared in this scope
if (FCGX_FFlush(this->fcgx)) return EOF;
^
fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()':
fcgio.cpp:113:35: error: 'EOF' was not declared in this scope
if (glen <= 0) return EOF;
在include/fcgio.h文件中加上 #include < stdio.h>,
然后再编译安装就通过了。
fcgio.cpp:50:14: error: 'EOF' was not declared in this scope
overflow(EOF);
^
fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)':
fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
if (FCGX_PutStr(pbase(), plen, this->fcgx) != plen) return EOF;
^
fcgio.cpp:75:14: error: 'EOF' was not declared in this scope
if (c != EOF)
^
fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()':
fcgio.cpp:86:18: error: 'EOF' was not declared in this scope
if (overflow(EOF)) return EOF;
^
fcgio.cpp:87:41: error: 'EOF' was not declared in this scope
if (FCGX_FFlush(this->fcgx)) return EOF;
^
fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()':
fcgio.cpp:113:35: error: 'EOF' was not declared in this scope
if (glen <= 0) return EOF;
解决办法:
在include/fcgio.h文件中加上 #include < cstdio>,或者在include/fcgio.h文件中加上 #include < stdio.h>,
然后再编译安装就通过了。
Use -1 instead
EOF is defined in < stdio.h> as follows:
#define EOF (-1)
or (more professionally), you may put the following code above your main() or inside your header file:
#ifndef EOF#define EOF (-1)#endif
0
上一篇:Using JsonCpp in your project
下一篇:regex is not a member of std—regex 不是std 的成员
相关热门文章
- bootStrap中Tab页签切换
- 京东SSO单点登陆实现分析...
- WebRTC学习笔记
- highcharts使用之饼图
- CU博客频道7月技术图书有奖试...
- linux dhcp peizhi roc
- 关于Unix文件的软链接
- 求教这个命令什么意思,我是新...
- sed -e "/grep/d" 是什么意思...
- 谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
0 0
- CentOS7安装fcgi-2.4.1-fastcgi开发包-make编译出错
- fcgi-2.4.1 fastcgi开发包 make编译出错
- fcgi-2.4.1 fastcgi开发包 make编译出错
- 【Linux】Ubuntu gcc编译安装fcgi出错的解决办法
- centos7编译t1lib-5.1.2的时候make出错需要安装latex
- 编译安装spawn-fcgi(nginx通过FastCGI方式调用PHP)
- fcgi、fastcgi 交叉编译 (cannot stat `libfcgi_la-fcgiapp.o' )
- Ubuntu 10.10下安装nginx + fastcgi + spawn-fcgi + mysql
- ubuntu 9.10 安装nginx + fastcgi + spawn-fcgi +mysql 日记
- buntu 9.10 安装nginx + fastcgi + spawn-fcgi +mysql
- make编译出错问题
- Centos7+httpd+fastcgi+rails安装
- nginx—fastcgi—Writing Hello World in FCGI with C++—in CentOS7
- centos7编译安装httpd-2.4
- centos7编译安装php7.1
- centos6.5 openresty make[1] 编译出错解决方法
- postfix 初次安装 make 出错
- Bochs 安装make时出错
- (OK) 刘姐实验中的大数据分析—awk—paste—system
- 指定数组中的数据比大小
- Using JsonCpp in your project
- 在Node.js 中用 Q 实现Promise – Callbacks之外的另一种选择
- 键盘 C语言虚拟按键值表
- CentOS7安装fcgi-2.4.1-fastcgi开发包-make编译出错
- proxool数据库连接池使用方法
- regex is not a member of std—regex 不是std 的成员
- Excel2013版——甘特图
- Regex_iterator undefined reference—C++11
- Android实现获取验证码的倒计时功能
- Android使用Face++架构包实现人脸识别
- Java中Runnable和Thread的区别
- Build GCC 4.9.2 for C/C++ on CentOS 7
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
特等功臣享受什么待遇
我享受3夫一起上
父亲享受宿舍全部女生
一等功臣享受什么待遇
我只想享受人生外汇似海
一男二女好享受
享受地方税种和相关附加减征
享受的意思是什么
很享受的图片
享受生命中的快乐
享受的近义词
享受什么意思
享受生活作文
享受是什么意思
享受英语怎么说
享受生活英语
阅读享受人生
享受生活英文
作文享受生活
读书是一种享受
享受人生国语版
享受人生txt下载
努力工作享受生活
享受亲子阅读的快乐
关于享受生活的名言
享受生活 英语
享受读书的乐趣
享受这过程作文
享受读书的乐趣作文
享受着教育的幸福
以享受为话题的作文
一级战斗英雄享受什么待遇
外汇似海我只想享受人生
医保交多少年可以终身享受
医保要交多少年才能终身享受
李鸿章享堂旅游
李鸿章享堂
享堂新村二手房
享字五笔怎么打
享字拼音
享字怎么读