durusmail: quixote-users: Building scgi - lots of errors
Checking if a form value came from POST or GET
2003-10-13
2003-10-13
2003-10-13
2003-10-14
2003-10-14
Building scgi - lots of errors
2003-10-16
2003-10-16
2003-10-17
2003-10-22
2003-10-22
2003-10-14
Building scgi - lots of errors
T. Egbert
2003-10-16
On my Red Hat 9 Linux system, with its Apache version 2.0.40-21, I tried
building "mod_scgi" using "make all"  from the "scgi-1.1" directory, and
got a boatload of errors.  I've copied the first few lines of output,
below. Judging from the errors, the include files are being found, but
there are apparently some symbols that can't be resolved, such as
"module" and/or "MODULE_VAR_EXPORT."  Any thoughts on how to make this work?

Tim

~/.../scgi-1.1$ make all

/usr/sbin/apxs -a -o mod_scgi.so -c mod_scgi.c
/home/httpd/build/libtool --silent --mode=compile i586-trustix-linux-gcc
-prefer-pic  -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2
-pthread -I/usr/include/apache  -I/usr/include/apache
-I/usr/include/apache   -c -o mod_scgi.lo mod_scgi.c && touch mod_scgi.slo

mod_scgi.c:34: error: parse error before "scgi_module"
mod_scgi.c:34: warning: data definition has no type or storage class
mod_scgi.c: In function `our_dconfig':
mod_scgi.c:41: error: request for member `module_index' in something not a
structure or union
mod_scgi.c: In function `open_socket':
mod_scgi.c:88: warning: passing arg 4 of `ap_log_rerror' makes integer
from pointer without a cast
mod_scgi.c:88: warning: passing arg 5 of `ap_log_rerror' from incompatible
pointer type
mod_scgi.c:88: error: too few arguments to function `ap_log_rerror'
mod_scgi.c:95: warning: passing arg 4 of `ap_log_rerror' makes integer
from pointer without a cast
mod_scgi.c:95: warning: passing arg 5 of `ap_log_rerror' from incompatible
pointer type
mod_scgi.c:95: error: too few arguments to function `ap_log_rerror'
mod_scgi.c: At top level:
mod_scgi.c:110: error: parse error before '*' token
mod_scgi.c: In function `lookup_name':
mod_scgi.c:112: error: `array_header' undeclared (first use in this
function)
mod_scgi.c:112: error: (Each undeclared identifier is reported only once
mod_scgi.c:112: error: for each function it appears in.)
     .
     .
     .



reply