mso@oz.net writes: > I tried David Cooke's scgi-cgi-0.9 driver but it also has the same delay. > Also, I got some warnings from the compiler: > > mso@tux ~/src/scgi-cgi-0.9 $ cat /tmp/scgi-cgi-compile-error > mso@tux ~/src/scgi-cgi-0.9 $ make SERVER_HOST=127.0.0.1 SERVER_PORT=3000 > gcc -g -Wall -W -O2 -DSERVER_HOST=127.0.0.1 -DSERVER_PORT=3000 -o scgi.cgi > scgi.c > scgi.c: In function `get_config': > scgi.c:136: warning: unused parameter `argv0' > scgi.c: In function `main': > scgi.c:368: warning: unused parameter `argc' > mso@tux ~/src/scgi-cgi-0.9 $ make strip > strip scgi.cgi (those are harmless) > I couldn't get it to compile with -DDEBUG: > > mso@tux ~/src/scgi-cgi-0.9 $ cat /tmp/gcc-errors > $ gcc -g -Wall -W -O2 -DDEBUG -o scgi.cgi scgi.c > scgi.c: In function `pdebug': > scgi.c:37: error: too few arguments to function `vfprintf' > scgi.c: In function `main': > scgi.c:368: warning: unused parameter `argc' > mso@tux ~/src/scgi-cgi-0.9 $ gcc -g -Wall -W -O2 -o scgi.cgi scgi.c > scgi.c: In function `main': > scgi.c:368: warning: unused parameter `argc' > > First I tried putting -DDEBUG in CCFLAGS= in the Makefile. Then I tried > running gcc manually. Sorry about that; obviously I haven't need to compile a debug version since I changed some things. I've put a new version 0.9.1 up; it will compile with no errors, and to make a debug version do "make DEBUG=1". Hope that helps! -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |cookedm@physics.mcmaster.ca