help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [help-cgicc] problems configuring with fastcgi


From: Jiann-Ming Su
Subject: RE: [help-cgicc] problems configuring with fastcgi
Date: Wed, 7 Apr 2004 15:59:47 -0400 (EDT)

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  address@hidden  404-712-2603
Development Team Systems Administrator
General Libraries Systems Division








reply via email to

[Prev in Thread] Current Thread [Next in Thread]