Trouble with cxref(1)

Jeffery Small jeff at cjsa.WA.COM
Sat Feb 3 10:05:46 AEST 1990


I have been unable to get cxref(1) to work.  I am attempting to run this on
a set of program files which compile and lint clean.  I have tried all manner
of invocations with no improvement so I am tossing this out for comments.

A typical invocation would be:     cxref -c -o xref   *.c

On an AT&T 3B1/UNIX-PC (3.51 OS), I get the following messages:

    /usr/include/curses.h:  8: undefined control
    /usr/include/unctrl.h:  8: undefined control
    xcpp failed on <MyFileName.c>!

and cxref aborts.  Looking at these include files shows that line #8 is:

    #ident "@(#) ..... etc ...."

OK:  it doesn't like "#ident", but I don't think this is causing the abort
which occurs in my source file.


Now, on a Sun-3/60 (4.0.3 OS) using either /bin/cxref of /usr/5bin/cxref,
I get the following message:

    SWITCH ERROR IN TMPSCAN: inafunct = no

and cxref aborts.  Does anyone have any idea what I am doing wrong or what
problems I should be looking for?

Thanks.
--
Jeff Small                     C. Jeffery Small & Associates    (206) 485-5596
uunet!nwnexus!cjsa!jeff        19112 152nd Avenue NE, Woodinville, WA    98072



More information about the Comp.unix.questions mailing list