This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

trouble building rcs 5.7 on latest cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]