RE: problems configuring with fastcgi
"Stephen F. Booth" <[email protected]> Wed, 7 Apr 2004 19:19:43 -0400
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <001201c41cf6$d2b92ca0$f7abe004@hades> |
The demos are not required to use FastCGI with cgicc. I still haven't had a chance to look into you problem; what link errors do you get now? > -----Original Message----- > From: [email protected] [mailto:help-cgicc- > [email protected]] On Behalf Of Jiann-Ming Su > Sent: Wednesday, April 07, 2004 4:00 PM > To: [email protected] > Subject: RE: [help-cgicc] problems configuring with fastcgi > > On Tue, 6 Apr 2004, Jiann-Ming Su wrote: > > > However, now I get the following compile error: > > > > Making all in contrib > > make[1]: Entering directory `/opt/src/cgicc-3.2.2/contrib' > > if g++ -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -Wall -W - > pedantic -I/opt/include -MT FCgiIO.o -MD -MP -MF ".deps/FCgiIO.Tpo" \ > > -c -o FCgiIO.o `test -f 'FCgiIO.cpp' || echo './'`FCgiIO.cpp; \ > > then mv -f ".deps/FCgiIO.Tpo" ".deps/FCgiIO.Po"; \ > > else rm -f ".deps/FCgiIO.Tpo"; exit 1; \ > > fi > > FCgiIO.cpp:32: error: parse error before `::' token > > FCgiIO.cpp:40: error: syntax error before `.' token > > FCgiIO.cpp:43: error: syntax error before `!=' token > > FCgiIO.cpp:45: error: `s' was not declared in this scope > > FCgiIO.cpp:46: error: parse error before `if' > > FCgiIO.cpp:48: error: `s' was not declared in this scope > > FCgiIO.cpp:48: error: ISO C++ forbids declaration of `fEnv' with no > type > > FCgiIO.cpp:48: error: `s' was not declared in this scope > > FCgiIO.cpp:48: error: assignment (not initialization) in declaration > > FCgiIO.cpp:49: error: parse error before `}' token > > FCgiIO.cpp:52: error: parse error before `::' token > > FCgiIO.cpp:60: error: syntax error before `.' token > > distcc[4535] ERROR: compile on localhost failed > > make[1]: *** [FCgiIO.o] Error 1 > > make[1]: Leaving directory `/opt/src/cgicc-3.2.2/contrib' > > make: *** [all-recursive] Error 1 > > > > I have some C++ coding experience, but I have no idea what could > possibly > > be wrong with FCgiIO.cpp for those errors to occur. I'm using g++ > 3.3.3. > > > > Looks like it's a problem with the code... > > ------- Additional Comments From pcarlini at suse dot de 2004-04-07 17:30 > ------- > The problem is with cgicc-3.2.2: gcc-3.4 spits a very clear error message: > > FCgiIO.cpp:32: error: `CGICCNS' does not name a type > FCgiIO.cpp:52: error: `CGICCNS' does not name a type > > I suggest closing as INVALID. > > ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04- > 07 17:37 ------- > Confirmed to be invalid as CGICCNS is not defined anyway. > > > > > I made some changes to the code that made it compile, but it doesn't link. > Is it necessary to compile these demos for cgicc to work with fastcgi? > It'd be nice to have a working reference before I dive into this. > > -- > Jiann-Ming Su [email protected] 404-712-2603 > Development Team Systems Administrator > General Libraries Systems Division > > > > > > > _______________________________________________ > help-cgicc mailing list > [email protected] > http://mail.gnu.org/mailman/listinfo/help-cgicc