Jeff asks:
>shell/iX> make bsd
>Compiling tin v1.22 for BSD/BSDI/DGUX/NeXT/OSF1/Pyramid/SunOS/Ultrix...
>c89 -c -O -DBSD -DNNTP_DEFAULT_SERVER=\"news.utk.edu\" active.c
>ccomxl.pub.sys;info="-Ap -DBSD -DNNTP_DEFAULT_SERVER="news.utk.edu" -O ";parm=7
> ^
>Encountered an unexpected word. (CIERR 10061)
>ccomxl.pub.sys;info="-Ap -DBSD -DNNTP_DEFAULT_SERVER="news.utk.edu" -O ";parm=7
>Implied run command failed due to parser error. (CIERR 9057) c89:
>warning: compile of './active.c' failed
>c89: error: one or more compiles failed; aborted make: Error code 1
>make: Error code 255
>Isn't there an easy fix to this besides patching the source for the
>defines?
Try this on for size:
/etc(5): diff -c c89.ccg- c89.ccg
*** c89.ccg- Sun Feb 26 19:35:05 1995
--- c89.ccg Sun Feb 26 19:35:09 1995
***************
*** 295,300 ****
--- 295,318 ----
if (debug) CCArgs |= "-g "; fi
if (optimize) CCArgs |= "-O "; fi
+ ##################################################################
+ #
+ # Process out the quotes problem with the CI.
+ #
+ temp = CCArgs;
+ CCArgs = "";
+ tt = "";
+ for (zz in temp) do
+ if (zz == "\"")
+ tt |= "\"\"";
+ elif (zz == " ")
+ CCArgs |= tt|" ";
+ tt = "";
+ else
+ tt |= zz;
+ fi
+ done
+
# Compile each of the files named in the Srcs array.
for (i in Srcs) do
# convert the source name to the object name
/etc(6):
M.