[comp.unix.xenix] Compilation problems with news!

mdella@polyslo.UUCP (Marcos R. Della) (09/03/87)

The following is what I've been running across all the time when I try to
compile my news system here. I'm working on 2.11.3 using an Intel 310
xenix system (Version R3.4). Does anyone out there have any ideas as to
what might be causing the following problem?


	cc  -O  -DUSG -Dindex=strchr -Drindex=strrchr -DRNEWS=\"/usr/local/rnews\" -DSPOOLDIR=\"/usr/spool/news\"  -DBATCHDIR=\"/usr/spool/batch\" -DLIBDIR=\"/usr/lib/news\"  -DBINDIR=\"/usr/local\" -DNEWSUSR=\"news\"  -DNEWSGRP=\"news\" -DSCCSID -Dvfork=fork -c inews.c
inews.c
(0) : Error code 12: missing name following '<'
*** Error code 1

Stop.


If you have any idea, can you drop a note to the above address and tack on
the following...   ...polyslo!caus-dp!root

Thanks for any help that you can provide... This is really getting to me!


-- 
...!lll-crg --> !csustan --\                         | Whatever I said doesn't
                            >->!polyslo!caus-dp!root | mean diddly as I forgot
  ...!ihnp4 --> !csun -----/                         | it even before finishing
             ...!dmsd ----/                          | typing it all out!!!

vrs@littlei.UUCP (Vincent R. Slyngstad) (09/06/87)

In article <433@polyslo.UUCP>, mdella@polyslo.UUCP (Marcos R. Della) writes:
> The following is what I've been running across all the time when I try to
> compile my news system here. I'm working on 2.11.3 using an Intel 310
> xenix system (Version R3.4). Does anyone out there have any ideas as to
> what might be causing the following problem?
> 	cc  -O  -DUSG -Dindex=strchr -Drindex=strrchr -DRNEWS=\"/usr/local/rnews\" -DSPOOLDIR=\"/usr/spool/news\"  -DBATCHDIR=\"/usr/spool/batch\" -DLIBDIR=\"/usr/lib/news\"  -DBINDIR=\"/usr/local\" -DNEWSUSR=\"news\"  -DNEWSGRP=\"news\" -DSCCSID -Dvfork=fork -c inews.c
> inews.c
> (0) : Error code 12: missing name following '<'

That's the compiler's friendly way of saying "Command line too long".  What
I've done about it in the past (I don't maintain news here anymore) is to use
localize.sh to add
	#ifdef USG
	#define index strchr
	#define rindex strrchr
	#endif
to defs.h and remove the index and rindex defines from CFLAGS.
-- 
Vincent R. Slyngstad
UNIX Evaluation Engineering
Intel Corporation (littlei!vrs)

peter@sugar.UUCP (09/11/87)

In article <433@polyslo.UUCP>, mdella@polyslo.UUCP (Marcos R. Della) writes:
> The following is what I've been running across all the time when I try to
> compile my news system here. I'm working on 2.11.3 using an Intel 310
> xenix system (Version R3.4). Does anyone out there have any ideas as to
> what might be causing the following problem?
> 	cc  -O  -DUSG fterwards, another
<administration of the test showed the male and female scores approximately
<equal.
<
<but assuming the experiment 
<was conducted in a responsible manner, it would refute the claims of
<gender bias in spacial perception.

That's a weird error message, all right :->.
-- 
-- Peter da Silva `-_-' ...!seismo!soma!uhnix1!sugar!peter
--                 'U`  <-- Public domain wolf.