fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()':

Posted by skyeagle on Stack Overflow See other posts from Stack Overflow or by skyeagle
Published on 2011-01-02T06:42:47Z Indexed on 2011/01/02 6:54 UTC
Read the original article Hit count: 347

Filed under:
|
|
|
|

I am attempting to build fastcgi on a Linux Ubuntu 10.x machine.

I run the following commands:

./configure make

and I get the following error:

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] Error 1
make[2]: Leaving directory `/somepath/fcgi-2.4.0/libfcgi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/somepath/fcgi-2.4.0'
make: *** [all] Error 2

I notice that others have had the same problem and have asked this question in various fora etc - however, I have not as yet, seen an answer to this question/problem.

Has anyone ever managed to build fastcgi on Linux? How do I fix this problem?

© Stack Overflow or respective owner

Related posts about c++

Related posts about c