Subject: Re: RCS 5.7 Patches
From: Louis Bohm <[email-masked]>
To: "Larry Hall (RFK Partners, Inc)" <[email-masked]>
Cc: Jason Tishler <[email-masked]>, Cygwin <[email-masked]>
Date: Mon, 16 Apr 2001 18:07:44 -0400

Well I figured out what my problem was...  Apparently setup does not copy the new
cgywin1.dll into c:\winnt\system32 but just leaves it in cygwin/bin.  I copied
the dll to system32 and things started to work better.

However, now it fails somewhere elese:
./conf.sh: configuring bad_chmod_close ... OK
./conf.sh: configuring bad_creat0 ... OK
./conf.sh: configuring bad_fopen_wplus ... OK
./conf.sh: configuring has_attribute_noreturn ... OK
./conf.sh: configuring has_dirent, void_closedir ... OK
./conf.sh: configuring has_fchmod ... OK
./conf.sh: configuring has_fflush_input ... does not work
./conf.sh: configuring has_fputs ... OK
./conf.sh: configuring has_ftruncate ... OK
./conf.sh: configuring has_getuid ... OK
./conf.sh: configuring has_getpwuid ... OK
./conf.sh: configuring has_kill ... OK
./conf.sh: configuring has_memcmp ... OK
./conf.sh: configuring has_memcpy ... OK
./conf.sh: configuring has_memmove ... OK
./conf.sh: configuring has_map_fd, has_mmap, has_madvise, mmap_signal ... make[1
]: *** [conf.h] Error 1
make[1]: Leaving directory `/tmp/rcs-5.7/src'
make: *** [all] Error 2

Attached is the config.err.

Louis

"Larry Hall (RFK Partners, Inc)" wrote:

> At 12:41 PM 4/16/2001, Louis Bohm wrote:
> >Well that worked as far as the patching goes but I still cannot get it to
> >make.  Just as a side note no matter what args I pass to configure it always
> >reports no to whether or not GNU GCC is installed.
>
> Go to www.cygwin.com, click on "Install Now" and install every package it
> presents.
>
> Larry Hall                              [email-masked]
> RFK Partners, Inc.                      http://www.rfk.com
> 118 Washington Street                   (508) 893-9779 - RFK Office
> Holliston, MA 01746                     (508) 893-9889 - FAX

--
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤
¤°`°Systems  Manager and Tivoli Support Geek
¤°`°Lightbridge, Inc
¤°`°67 South Bedford St.
¤°`°Burlington MA 01832
¤°`°781.359.4795 mailto:[email-masked]
¤°`°http://www.lightbridge.com
¤°`°Free Tivoli scripts at: http://www.microgeek.com
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤

+ Id=$Id: conf.sh,v 5.25 1995/06/16 06:19:24 eggert Exp $
+ : /usr/local/bin/
+ : -Dhas_conf_h -I. -I. -g -O
+ : gcc
+ : 0
+ : /usr/bin/diff
+ : /usr/bin/diff3
+ : 1
+ : -an
+ : 1
+ : 0 1 2
+ : ed
+ :
+ C=gcc  -Dhas_conf_h  -I. -I. -g -O
+ CL=gcc  -Dhas_conf_h  -I. -I. -g -O  -o a.out
+ L=
+ cat
+ n=

+ echo -n
+ ech=echo -n dots=... 
+ echo -n ./conf.sh: testing permissions ... 
+ rm -f a.d
+ date
+ chmod 0 a.d
+ test -w a.d
+ cp /dev/null a.d
+ echo OK
+ rm -f a.d
+ echo -n ./conf.sh: testing compiler for plausibility ... 
+ echo main() { return 0; }
+ rm -f a.exe a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ echo this is not a C source file
+ rm -f a.exe a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
a.c:1: parse error before `is'
+ echo OK
+ echo -n ./conf.sh: configuring exitmain ... 
+ cat
+ rm -f a.exe a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ A_H=a.h
+ test -f a.out
+ aout=./a.out
+ e=exit(n), 3 /* lint fodder */
+ ./a.out -
+ ./a.out
+ e=n
+ echo OK
+ echo #define exitmain(n) return n /* how to exit from main() */
+ : PREPARE_CC
+ PREPARE_CC=rm -f ./a.out
+ echo -n ./conf.sh: configuring _POSIX_C_SOURCE ... 
+ cat
+ a=/*  z=*/ 
+ version=1003.1b-1993 or later
+ value=2147483647L 
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ :
+ echo OK
+ echo /* #define _POSIX_C_SOURCE 2147483647L */ /* if strict C + Posix 1003.1b-1993 or later */
+ echo -n ./conf.sh: configuring _POSIX_SOURCE ... 
+ cat
+ a=/*  z=*/ 
+ version=1003.1-1990
+ value=
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ :
+ echo OK
+ echo /* #define _POSIX_SOURCE */ /* if strict C + Posix 1003.1-1990 */
+ cat
+ echo -n ./conf.sh: configuring how to check for syntax errors ... 
+ rm -f a.s
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ rm -f a.s
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dsyntax_error=1 a.c
a.c:16: parse error before `error'
+ :
+ CS=gcc  -Dhas_conf_h  -I. -I. -g -O -S LS= o=a.s PREPARE_CC=rm -f ./a.out 
+ CS_OK=test -s a.s
+ echo gcc -Dhas_conf_h -I. -I. -g -O -S
+ has_signal=1
+ i=#include <sys/types.h>
+ echo -n ./conf.sh: configuring #include <sys/types.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <sys/types.h>
+ i=#include <sys/stat.h>
+ echo -n ./conf.sh: configuring #include <sys/stat.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <sys/stat.h>
+ i=#include <dirent.h>
+ echo -n ./conf.sh: configuring #include <dirent.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <dirent.h>
+ i=#include <fcntl.h>
+ echo -n ./conf.sh: configuring #include <fcntl.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <fcntl.h>
+ i=#include <limits.h>
+ echo -n ./conf.sh: configuring #include <limits.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <limits.h>
+ i=#include <mach/mach.h>
+ echo -n ./conf.sh: configuring #include <mach/mach.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
a.c:2: mach/mach.h: No such file or directory
+ i=/* #include <mach/mach.h> */
+ ok=commenting it out
+ echo commenting it out
+ echo /* #include <mach/mach.h> */
+ i=#include <net/errno.h>
+ echo -n ./conf.sh: configuring #include <net/errno.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
a.c:2: net/errno.h: No such file or directory
+ i=/* #include <net/errno.h> */
+ ok=commenting it out
+ echo commenting it out
+ echo /* #include <net/errno.h> */
+ i=#include <pwd.h>
+ echo -n ./conf.sh: configuring #include <pwd.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <pwd.h>
+ i=#include <siginfo.h>
+ echo -n ./conf.sh: configuring #include <siginfo.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
a.c:2: siginfo.h: No such file or directory
+ i=/* #include <siginfo.h> */
+ ok=commenting it out
+ echo commenting it out
+ echo /* #include <siginfo.h> */
+ i=#include <signal.h>
+ echo -n ./conf.sh: configuring #include <signal.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <signal.h>
+ i=#include <stdlib.h>
+ echo -n ./conf.sh: configuring #include <stdlib.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <stdlib.h>
+ i=#include <string.h>
+ echo -n ./conf.sh: configuring #include <string.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <string.h>
+ i=#include <sys/mman.h>
+ echo -n ./conf.sh: configuring #include <sys/mman.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <sys/mman.h>
+ i=#include <sys/wait.h>
+ echo -n ./conf.sh: configuring #include <sys/wait.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <sys/wait.h>
+ i=#include <ucontext.h>
+ echo -n ./conf.sh: configuring #include <ucontext.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
a.c:2: ucontext.h: No such file or directory
+ i=/* #include <ucontext.h> */
+ ok=commenting it out
+ echo commenting it out
+ echo /* #include <ucontext.h> */
+ i=#include <unistd.h>
+ echo -n ./conf.sh: configuring #include <unistd.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <unistd.h>
+ i=#include <utime.h>
+ echo -n ./conf.sh: configuring #include <utime.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ echo OK
+ echo #include <utime.h>
+ i=#include <vfork.h>
+ echo -n ./conf.sh: configuring #include <vfork.h> ... 
+ cat
+ ok=OK
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
a.c:2: vfork.h: No such file or directory
+ i=/* #include <vfork.h> */
+ ok=commenting it out
+ echo commenting it out
+ echo /* #include <vfork.h> */
+ cat
+ echo -n ./conf.sh: configuring has_sys_param_h ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ h=1 ok=OK
+ echo OK
+ echo #define has_sys_param_h 1 /* Does #include <sys/param.h> work?  */
+ /bin /contrib /cygwin.bat /cygwin.ico /etc /home /latest /lib /sbin /setup.ini /setup.log /setup.log.full /tmp /usr /var
/bin: not found
+ echo -n ./conf.sh: configuring errno ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ a=/*  z= */ ok=OK
+ echo OK
+ echo /* extern int errno; */ /* Uncomment if <errno.h> doesn't declare errno.  */
+ rm -f a.c
+ echo -n ./conf.sh: configuring has_readlink, readlink_isreg_errno ... 
+ cat
+ rm -f ./a.out a.sym*
+ readlink_isreg_errno=?
+ ln -s a.sym1 a.sym2
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ readlink_isreg_errno=EINVAL
+ h=1
+ echo 1, EINVAL
+ cat
+ cat
+ cat
+ echo -n ./conf.sh: configuring mode_t ... 
+ i=int
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=mode_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef int mode_t; */
+ echo -n ./conf.sh: configuring off_t ... 
+ i=long
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=off_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef long off_t; */
+ echo -n ./conf.sh: configuring pid_t ... 
+ i=int
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=pid_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef int pid_t; */
+ echo -n ./conf.sh: configuring sig_atomic_t ... 
+ i=int
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=sig_atomic_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef int sig_atomic_t; */
+ echo -n ./conf.sh: configuring size_t ... 
+ i=unsigned
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=size_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef unsigned size_t; */
+ echo -n ./conf.sh: configuring ssize_t ... 
+ i=int
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=ssize_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef int ssize_t; */
+ echo -n ./conf.sh: configuring time_t ... 
+ i=long
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=time_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef long time_t; */
+ echo -n ./conf.sh: configuring uid_t ... 
+ i=int
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S -Dt=uid_t a.c
+ test -s a.s
+ ok=OK a=/*  z= */
+ echo OK
+ echo /* typedef int uid_t; */
+ cat
+ echo -n ./conf.sh: configuring const ... 
+ cat
+ a= z= ok=broken
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ a=/*  z= */ ok=OK
+ echo OK
+ echo /* #define const */
+ echo -n ./conf.sh: configuring volatile ... 
+ cat
+ a= z= ok=broken
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ test -s a.s
+ a=/*  z= */ ok=OK
+ echo OK
+ echo /* #define volatile */
+ echo ./conf.sh: configuring has_prototypes, has_stdarg, has_varargs, va_start_args ... 
+ cat
+ cat
+ has_varargs=-1
+ as=2 1
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out -Dhas_prototypes=1 -Dhas_stdarg=1 -Dhas_varargs=-1 -Dva_start_args=2 a.c
+ ./a.out
+ break
+ break
+ break
+ echo 1, 1, -1, 2
+ a=/*  z=*/  has_varargs=?
+ cat - a.ha
+ echo -n ./conf.sh: configuring bad_chmod_close ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ b=0 ok=OK
+ echo OK
+ echo #define bad_chmod_close 0 /* Can chmod() close file descriptors?  */
+ rm -f a.c
+ echo -n ./conf.sh: configuring bad_creat0 ... 
+ cat
+ rm -f ./a.out a.d
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ test -f a.d
+ test ! -w a.d
+ b=0 ok=OK
+ echo OK
+ echo #define bad_creat0 0 /* Do writes fail after creat(f,0)?  */
+ rm -f a.d
+ echo -n ./conf.sh: configuring bad_fopen_wplus ... 
+ cat
+ rm -f ./a.out
+ echo nonempty
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ test ! -s a.d
+ b=0 ok=OK
+ echo OK
+ echo #define bad_fopen_wplus 0 /* Does fopen(f,"w+") fail to truncate f?  */
+ echo #define getlogin_is_secure 0 /* Is getlogin() secure?  Usually it's not.  */
+ echo -n ./conf.sh: configuring has_attribute_noreturn ... 
+ cat
+ rm -f ./a.out
+ h=0 ok=does not work
+ gcc -Dhas_conf_h -I. -I. -g -O -S a.c
+ out=
+ h=1 ok=OK
+ echo 

+ echo OK
+ cat
+ rm -f a.c
+ echo -n ./conf.sh: configuring has_dirent, void_closedir ... 
+ cat
+ rm -f ./a.out
+ has_dirent=0 ok=does not work
+ void_closedir=? a=/*  z=*/ 
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out -Dvoid_closedir=0 a.c
+ ./a.out
+ has_dirent=1 ok=OK
+ void_closedir=0 a= z=
+ break
+ echo OK
+ echo #define has_dirent 1 /* Do opendir(), readdir(), closedir() work?  */
+ echo #define void_closedir 0 /* Does closedir() yield void?  */
+ echo -n ./conf.sh: configuring has_fchmod ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ test ! -r a.c
+ h=1 ok=OK
+ echo OK
+ echo #define has_fchmod 1 /* Does fchmod() work?  */
+ rm -f a.c
+ echo -n ./conf.sh: configuring has_fflush_input ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ h=0 ok=does not work
+ echo does not work
+ echo #define has_fflush_input 0 /* Does fflush() work on input files?  */
+ rm -f a.c
+ echo -n ./conf.sh: configuring has_fputs ... 
+ cat
+ Hello=Hello"
world
+ rm -f ./a.out a.a
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ ./a.out
+ x=Hello"
world
+ test  Hello"
world =  Hello"
world
+ h=1 ok=OK
+ echo OK
+ echo #define has_fputs 1 /* Does fputs() work?  */
+ echo -n ./conf.sh: configuring has_ftruncate ... 
+ cat
+ rm -f ./a.out a.a
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out a.a
+ test -w a.a
+ test ! -s a.a
+ h=1 ok=OK
+ echo OK
+ echo #define has_ftruncate 1 /* Does ftruncate() work?  */
+ echo -n ./conf.sh: configuring has_getuid ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ has_getuid=1 ok=OK
+ echo OK
+ echo #define has_getuid 1 /* Does getuid() work?  */
+ echo -n ./conf.sh: configuring has_getpwuid ... 
+ a= z=
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ h=1 ok=OK
+ echo OK
+ echo #define has_getpwuid 1 /* Does getpwuid() work?  */
+ echo -n ./conf.sh: configuring has_kill ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ has_kill=1 ok=OK
+ echo OK
+ echo -n ./conf.sh: configuring has_memcmp ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ h=1 ok=OK
+ echo OK
+ echo #define has_memcmp 1 /* Does memcmp() work?  */
+ echo -n ./conf.sh: configuring has_memcpy ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ h=1 ok=OK
+ echo OK
+ echo #define has_memcpy 1 /* Does memcpy() work?  */
+ echo -n ./conf.sh: configuring has_memmove ... 
+ cat
+ rm -f ./a.out
+ gcc -Dhas_conf_h -I. -I. -g -O -o a.out a.c
+ ./a.out
+ h=1 ok=OK
+ echo OK
+ echo #define has_memmove 1 /* Does memmove() work?  */
+ echo -n ./conf.sh: configuring has_map_fd, has_mmap, has_madvise, mmap_signal ... 
+ rm -f a.c a.d a.e
+ cat
+ sleep 2
+ cp a.c a.d
+ sleep 2
+ has_map_fd=? has_mmap=? has_madvise=? mmap_signal=
+ rm -f ./a.out
+ 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)
+ rm -f ./a.out
+ mv a.ous ./a.out
+ rm -f a.e
+ cp a.c a.e
+ ./a.out a.e
a.e: Permission denied
+ mmap_signal=
+ exit

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