delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/26/14:31:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Disclose-recipients: prohibited
Date: Fri, 26 Oct 2001 19:26:43 +0100 (BST)
From: christopher DOT kennedy AT baesystems DOT com
Subject: Re: Re: Compiling XV
To: cygwin AT cygwin DOT com
Message-id: <7643261926102001/A00323/MAGPIE/11FAD4DA2B00*@MHS>
Autoforwarded: false
MIME-version: 1.0
Importance: high
UA-content-id: 11FAD4DA2B00
Hop-count: 2

'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 <errno.h>
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.


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019