delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/22/02:44:21

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
Date: Sun, 21 Jan 2001 23:43:23 -0800
From: Steve Kelem <s_kelem AT pacbell DOT net>
Subject: trouble building rcs 5.7 on latest cygwin
To: Cygwin <cygwin AT sourceware DOT cygnus DOT com>, rcs-bugs AT cs DOT purdue DOT edu
Message-id: <3A6BE49B.1080406@pacbell.net>
MIME-version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001108
Netscape6/6.0
X-Accept-Language: en

I downloaded the sources for rcs-5.7 from gnu.org, configured with 
--with-diffutils, and it configured ok.  However, when trying to build 
it, it breaks during the running of src/conf.sh:
./conf.sh: configuring has_map_fd, has_mmap, has_madvise, mmap_signal 
... make[1]: *** [conf.h] Error 1

src/conf.err contains:
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out -DTRY_MAP_FD=1 a.c
a.c: In function `main':
a.c:25: `kern_return_t' undeclared (first use in this function)
a.c:25: (Each undeclared identifier is reported only once
a.c:25: for each function it appears in.)
a.c:25: parse error before `kr'
a.c:26: `vm_address_t' undeclared (first use in this function)
a.c:34: `kr' undeclared (first use in this function)
a.c:34: `va' undeclared (first use in this function)
a.c:34: `TRUE' undeclared (first use in this function)
a.c:35: `KERN_SUCCESS' undeclared (first use in this function)
+ has_map_fd=0 has_mmap=0 has_madvise=0
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out -DMADVISE_OK=1 a.c
+ ./a.out
+ ls -t a.c a.d
+ has_mmap=1
+ rm -f a.ous
+ mv ./a.out a.ous
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
a.c: In function `main':
a.c:49: `MADV_SEQUENTIAL' undeclared (first use in this function)
a.c:49: (Each undeclared identifier is reported only once
a.c:49: for each function it appears in.)
a.c:49: `MADV_NORMAL' undeclared (first use in this function)

What's kern_return_t?  What's vm_address_t?

Has anyone been able to compile RCS for cygwin?

Help!
Steve Kelem


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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