우분투를 실행하는 서버에서 FCGI를 내 C++ 코드와 연결하려고합니다. FCGI 웹 사이트에서 테스트 된 플랫폼 목록에서 우분투를 찾지 못했지만 어쨌든 빌드를 시도했습니다.우분투를 실행하는 서버에 FastCGI를 구축하는 중 오류가 발생했습니다.
./configure
괜찮습니다. 내가 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:113: error: 'EOF' was not declared in this scope
make[2]: *** [fcgio.lo] Error 1
make[2]: Leaving directory '/home/giridhar/fcgi-2.4.1-SNAP-0910052249/libfcgi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/giridhar/fcgi-2.4.1-SNAP-0910052249'
make: *** [all] Error 2
도움을 크게 감상 할 수있다.