zoukankan      html  css  js  c++  java
  • fcgi-2.4.1 fastcgi开发包 make编译出错

    fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()':
    fcgio.cpp:50: error: 'EOF' was not declared in this scope
    fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)':
    fcgio.cpp:70: error: 'EOF' was not declared in this scope
    fcgio.cpp:75: error: 'EOF' was not declared in this scope
    fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()':
    fcgio.cpp:86: error: 'EOF' was not declared in this scope
    fcgio.cpp:87: error: 'EOF' was not declared in this scope
    fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()':
    fcgio.cpp:107: error: 'EOF' was not declared in this scope
    make[2]: *** [fcgio.lo] ´íÎó 1
    make[2]: Leaving directory `/home/informix/fcgi/fcgi-master/libfcgi'
    make[1]: *** [all-recursive] ´íÎó 1
    make[1]: Leaving directory `/home/informix/fcgi/fcgi-master'
    make: *** [all] ´íÎó 2

    解决办法:

    在/include/fcgio.h文件中加上 #include <cstdio>,然后再编译安装就通过了。

  • 相关阅读:
    程序运行bug查看
    c# webbrowser 的html调用js出错
    c# dll使用注意
    支持ie的时间控件 html
    sql 条件插入
    软件自动更新原理
    c# 数组不能直接=,需要clone
    打包成exe程序
    逆袭大学
    Heritage from father
  • 原文地址:https://www.cnblogs.com/equation/p/6489999.html
Copyright © 2011-2022 走看看