pcomm 1.1 on SCO Xenix

Jay M. Libove root at libove.UUCP
Wed Sep 28 14:56:09 AEST 1988


I am trying to build pcomm 1.1 on SCO Xenix 286 v2.2.1 with Development
System v2.2.1, and when I start compiling as follows:

	cc -g -O -Ml2e -c chg_dir.c
chg_dir.c
chg_dir.c(10) : error 54: expected `(' to follow `chtype'
chg_dir.c(12) : error 59: syntax error : `{'
[ all the rest deleted ]


Now, the first occurrence I can find of chtype is in the header file
misc.h where there are defines: (I _do_ define OLDCURSES; SCO Xenix
terminfo has incompletenesses and conflicts...)

#ifdef OLDCURSES
typedef char chtype
#endif /* OLDCURSES */

#ifdef ACS_HLINE
#define VERT		(chtype)0
#define HORZ		(chtype)0
#else /* ACS_HLINE */
#define VERT		(chtype)'|'
#define HORZ		(chtype)'-'
#define ACS_VLINE	(chtype)'|'
#define ACS_HLINE	(chtype)'-'
#endif /* ACS_HLINE */

So. Perhaps someone can offer why this is failing?

Thanks

-- 
Jay Libove		ARPA:	jl42 at andrew.cmu.edu or libove at cs.cmu.edu
5731 Centre Ave, Apt 3	BITnet:	jl42 at andrew or jl42 at drycas
Pittsburgh, PA 15206	UUCP:	uunet!nfsun!libove!libove or
(412) 362-8983		UUCP:	psuvax1!pitt!darth!libove!libove



More information about the Comp.unix.xenix mailing list