[comp.unix.xenix] Using SCO/XENIX cxref program

bobd@telxon.UUCP (Bob Drotleff) (03/01/90)

HELP !!!

This is my first posting to netland so please excuse any mistakes.

I am trying to use SCO/XENIX's cxref program to get a cross reference
on various "C" source files.
It seems to work OK when I exclude any #include file directives but 
I get strange errors like ...

"/usr/include/stdio.h  18: syntax error"

and other's.
Even if I try a simple file with only main() in it I get an error 
when the "#include <stdio.h>" is there. Here is the sample program
I am testing with ...

#include	<stdio.h>

main()
{
int	a,b,c;

	printf("a == %d\n",a);
	printf("b == %d\n",b);
	printf("c == %d\n",c);

}

Ultimatly I want to do this with a multitude of "C" files and multiple
include files.    

Can someone help me.

Please Email me.
Thanx in advance.

R. Drotleff