Forum OpenACS Q&A: Re: Do NOT compile nsxml with -O !

Posted by Andrew Piskorski on
FYI, the Debian 3.0 r1 update updated gcc (from 2.95.4-7 to 2.95.4-11woody1) and various other things, but it made no difference for this problem. If I compile nsxml with -O it still doesn't work right. With the bad nsxml (compiled with "-g -O2" in this case), as soon as I go the the OpenACS front page, nsxml fails to get a query out the xql file, and I get this error:

Error: SQL(): ora8.c:3682:ora_tcl_command: error in `OCIStmtPrepare ()': ORA-24373: invalid length specified for statement

Compile nsxml with just -g on this box, and everything still works fine.