HP3000-L Archives

October 1995, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Klein <[log in to unmask]>
Reply To:
Mark Klein <[log in to unmask]>
Date:
Tue, 17 Oct 1995 13:43:22 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
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.

ATOM RSS1 RSS2