Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!cmcl2!rutgers!labrea!decwrl!hplabs!hp-pcd!uoregon!omepd!littlei!vrs From: vrs@littlei.UUCP (Vincent R. Slyngstad) Newsgroups: comp.unix.questions,comp.unix.xenix,comp.sys.intel Subject: Re: Compilation problems with news! Message-ID: <152@uvrs.littlei.UUCP> Date: Sat, 5-Sep-87 22:19:50 EDT Article-I.D.: uvrs.152 Posted: Sat Sep 5 22:19:50 1987 Date-Received: Sun, 6-Sep-87 21:13:17 EDT References: <433@polyslo.UUCP> Organization: Intel Corp., ISO Systems Development, Hillsboro, OR Lines: 21 Keywords: net news compilation problems Summary: Explanation of bewildering message from compiler Xref: mnetor comp.unix.questions:3918 comp.unix.xenix:683 comp.sys.intel:339 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)