Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sat, 27 Oct 2001 12:25:09 -0400 (EDT) From: Socheat Sou To: cc: Subject: Re: Re: Compiling XV In-Reply-To: <9615221926102001/A00265/MAGPIE/11FAD4D60F00*@MHS> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Thanks, those suggestions you gave worked. Socheat On Fri, 26 Oct 2001 christopher DOT kennedy AT baesystems DOT com wrote: > Hi Socheat, > > 'xv-3.10a' compiles under Cygwin almost out of the box. > > Edit the Makefile in the root install directory as follows: > > 'CC = gcc -ansi' > 'CCOPTS = -O -I/usr/X11R6/include/ -L/usr/X11R6/lib/' > > In 'xv.h', comment out or disable the reference to 'sys_errlist' in > line 119: it's already defined in 'errno.h'. > > .... > 115 #ifndef VMS > 116 # include > 117 extern int errno; /* SHOULD be in errno.h, but often isn't */ > 118 # ifndef __NetBSD__ > 119 extern char *sys_errlist[]; */ /* this too... */ > 120 # endif > 121 #endif > .... > > Make .... > > > The xv-3.10a 'rollup 2001-05-12' patch available at: > > 'http://www.isthe.com/chongo/src/xv-patch/index.html' > > works fine in conjunction with the above changes. > > > Best Regards, > > Chris Kennedy > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/