I have some makefiles that fail to work correctly.
They worked about 6 months ago with cygwin.
They work fine on mandrake 10.2.
Here is the first makefile problem:
In this makefile I run a program, i.e.
test_calls: ${BIN}calls
rm -f calls.out
pwd
${BIN}calls calls.in > calls.out
diff calls.out calls.gout
The output I get is
rm -f calls.out
pwd
/cygdrive/u/j/jeff-util/test
/cygdrive/u/j/bin/calls calls.in > calls.out
The system cannot find the path specified.
make: *** [test_calls] Error 1
I added the pwd line to make sure the directory exists.
When I remove the "> calls.out" in the makefile, the program runs, and
output is directed to standard output.
Here is the second makefile problem:
the_test: test.o test_nr.o test_subrs.o jefflib
g++ ${LDFLAGS} test.o test_nr.o test_subrs.o jefflib -lm -o
the_test
@echo running the tests
./the_test > the_test.lo 2> the_test.er
# the_test.exe > the_test.lo 2> the_test.er
-diff the_test.log the_test.lo
-diff the_test.erg the_test.er
The output I get in the_test.er is:
'.' is not recognized as an internal or external command,
operable program or batch file.
When I use the commented out line instead of the line before it, I
get normal execution.
It seems that some semantics has changed in a non-obvious way with respect to
running programs inside of make.
Enclosed is the output of cygcheck.
When I run cygcheck as non-administrator, I get the following:
U:\j\jeff-lib>cygcheck -s > x
/usr/bin/cygrunsrv: Error enumerating services: OpenService: Win32 error 5:
Access is denied.
Perhaps this is a known limitation of cygcheck?
Thanks,
Jeff Deifik
Cygwin Configuration Diagnostics
Current System Time: Wed Jul 20 20:34:26 2005
Windows XP Professional Ver 5.1 Build 2600 Service Pack 2
Path: C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
c:\cygwin\bin
c:\cygwin\usr\local\bin
u:\j\bin
C:\Program Files\Executive Software\Diskeeper\
C:\Program Files\Common Files\Sonic Shared
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(jdeifik) GID: 513(None)
513(None) 545(Users)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(jdeifik) GID: 513(None)
513(None) 545(Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
HOME = `u:\j'
Path =
`C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\cygwin\bin;c:\cygwin\usr\local\bin;u:\j\bin;C:\Program
Files\Executive Software\Diskeeper\;C:\Program Files\Common Files\Sonic Shared'
Use `-r' to scan registry
a: fd N/A N/A
c: hd NTFS 8738Mb 70% CP CS UN PA FC Win_Xp
d: cd N/A N/A
j: hd NTFS 213473Mb 83% CP CS UN PA FC Hitachi250_mp3
k: hd NTFS 238472Mb 91% CP CS UN PA FC wd250_av
l: hd NTFS 190779Mb 94% CP CS UN PA FC Seagate_200
t: hd FAT32 961Mb 28% CP UN TRANSFER
u: hd NTFS 24999Mb 70% CP CS UN PA FC Hitachi250_Usr
x: fd N/A N/A
y: fd N/A N/A
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: c:\cygwin\bin\awk.exe
Found: c:\cygwin\bin\bash.exe
Found: c:\cygwin\bin\cat.exe
Found: c:\cygwin\bin\cp.exe
Found: c:\cygwin\bin\cpp.exe
Found: c:\cygwin\bin\find.exe
Found: c:\cygwin\bin\gcc.exe
Found: c:\cygwin\bin\gdb.exe
Found: c:\cygwin\bin\grep.exe
Found: c:\cygwin\bin\ld.exe
Found: c:\cygwin\bin\ls.exe
Found: c:\cygwin\bin\make.exe
Found: c:\cygwin\bin\mv.exe
Found: c:\cygwin\bin\rm.exe
Found: c:\cygwin\bin\sed.exe
Not Found: sh
Found: c:\cygwin\bin\tar.exe
93k 2005/02/17 c:\cygwin\bin\cygapr-0-0.dll
68k 2005/02/17 c:\cygwin\bin\cygaprutil-0-0.dll
802k 2003/09/15 c:\cygwin\bin\cygaspell-15.dll
56k 2005/07/09 c:\cygwin\bin\cygbz2-1.dll
18k 2004/07/06 c:\cygwin\bin\cygcharset-1.dll
7k 2003/10/19 c:\cygwin\bin\cygcrypt-0.dll
858k 2005/04/11 c:\cygwin\bin\cygcrypto-0.9.7.dll
1042k 2005/07/07 c:\cygwin\bin\cygcrypto-0.9.8.dll
22k 2004/02/10 c:\cygwin\bin\cygcygipc-2.dll
895k 2004/04/28 c:\cygwin\bin\cygdb-4.2.dll
1156k 2004/04/28 c:\cygwin\bin\cygdb_cxx-4.2.dll
174k 2004/10/14 c:\cygwin\bin\cygexpat-0.dll
129k 2004/03/11 c:\cygwin\bin\cygfontconfig-1.dll
40k 2005/07/10 c:\cygwin\bin\cygform-8.dll
45k 2001/04/25 c:\cygwin\bin\cygform5.dll
35k 2002/01/09 c:\cygwin\bin\cygform6.dll
48k 2003/08/09 c:\cygwin\bin\cygform7.dll
361k 2003/10/25 c:\cygwin\bin\cygfreetype-6.dll
28k 2003/07/20 c:\cygwin\bin\cyggdbm-3.dll
30k 2003/08/11 c:\cygwin\bin\cyggdbm-4.dll
19k 2003/03/22 c:\cygwin\bin\cyggdbm.dll
15k 2003/07/20 c:\cygwin\bin\cyggdbm_compat-3.dll
15k 2003/08/11 c:\cygwin\bin\cyggdbm_compat-4.dll
17k 2001/06/28 c:\cygwin\bin\cyghistory4.dll
29k 2003/08/10 c:\cygwin\bin\cyghistory5.dll
24k 2005/06/26 c:\cygwin\bin\cyghistory6.dll
991k 2004/07/06 c:\cygwin\bin\cygiconv-2.dll
22k 2001/12/13 c:\cygwin\bin\cygintl-1.dll
37k 2003/08/10 c:\cygwin\bin\cygintl-2.dll
54k 2004/07/06 c:\cygwin\bin\cygintl-3.dll
21k 2001/06/20 c:\cygwin\bin\cygintl.dll
146k 2004/12/21 c:\cygwin\bin\cygmagic-1.dll
21k 2005/07/10 c:\cygwin\bin\cygmenu-8.dll
26k 2001/04/25 c:\cygwin\bin\cygmenu5.dll
20k 2002/01/09 c:\cygwin\bin\cygmenu6.dll
29k 2003/08/09 c:\cygwin\bin\cygmenu7.dll
21k 2004/10/22 c:\cygwin\bin\cygminires.dll
67k 2005/07/10 c:\cygwin\bin\cygncurses++-8.dll
156k 2001/04/25 c:\cygwin\bin\cygncurses++5.dll
175k 2002/01/09 c:\cygwin\bin\cygncurses++6.dll
225k 2005/07/10 c:\cygwin\bin\cygncurses-8.dll
226k 2001/04/25 c:\cygwin\bin\cygncurses5.dll
202k 2002/01/09 c:\cygwin\bin\cygncurses6.dll
224k 2003/08/09 c:\cygwin\bin\cygncurses7.dll
92k 2004/07/10 c:\cygwin\bin\cygneon-24.dll
11k 2005/07/10 c:\cygwin\bin\cygpanel-8.dll
15k 2001/04/25 c:\cygwin\bin\cygpanel5.dll
12k 2002/01/09 c:\cygwin\bin\cygpanel6.dll
19k 2003/08/09 c:\cygwin\bin\cygpanel7.dll
62k 2003/12/11 c:\cygwin\bin\cygpcre-0.dll
63k 2003/04/11 c:\cygwin\bin\cygpcre.dll
9k 2003/12/11 c:\cygwin\bin\cygpcreposix-0.dll
61k 2003/04/11 c:\cygwin\bin\cygpcreposix.dll
22k 2002/06/09 c:\cygwin\bin\cygpopt-0.dll
108k 2001/06/28 c:\cygwin\bin\cygreadline4.dll
148k 2003/08/10 c:\cygwin\bin\cygreadline5.dll
144k 2005/06/26 c:\cygwin\bin\cygreadline6.dll
78k 2004/10/13 c:\cygwin\bin\cygsasl2-2.dll
171k 2005/04/11 c:\cygwin\bin\cygssl-0.9.7.dll
217k 2005/07/07 c:\cygwin\bin\cygssl-0.9.8.dll
134k 2005/06/10 c:\cygwin\bin\cygsvn_client-1-0.dll
27k 2005/06/10 c:\cygwin\bin\cygsvn_delta-1-0.dll
22k 2005/06/10 c:\cygwin\bin\cygsvn_diff-1-0.dll
15k 2005/06/10 c:\cygwin\bin\cygsvn_fs-1-0.dll
127k 2005/06/10 c:\cygwin\bin\cygsvn_fs_base-1-0.dll
88k 2005/06/10 c:\cygwin\bin\cygsvn_fs_fs-1-0.dll
9k 2005/06/10 c:\cygwin\bin\cygsvn_ra-1-0.dll
85k 2005/06/10 c:\cygwin\bin\cygsvn_ra_dav-1-0.dll
19k 2005/06/10 c:\cygwin\bin\cygsvn_ra_local-1-0.dll
55k 2005/06/10 c:\cygwin\bin\cygsvn_ra_svn-1-0.dll
98k 2005/06/10 c:\cygwin\bin\cygsvn_repos-1-0.dll
130k 2005/06/10 c:\cygwin\bin\cygsvn_subr-1-0.dll
146k 2005/06/10 c:\cygwin\bin\cygsvn_wc-1-0.dll
247k 2004/12/07 c:\cygwin\bin\cygtidy-0-99-0.dll
1242k 2005/01/08 c:\cygwin\bin\cygxml2-2.dll
60k 2005/07/09 c:\cygwin\bin\cygz.dll
1265k 2005/07/03 c:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.18
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 132
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sat Jul 2 20:30:04 EDT 2005
Shared id: cygwin1S4
No Cygwin services found.
Cygwin Package Information
Package Version
_update-info-dir 00276-1
alternatives 1.3.20a-1
ash 20040127-3
aspell 0.50.3-1
aspell-en 0.51.0-1
base-files 3.5-1
base-passwd 2.2-1
bash 3.0-7
bc 1.06-2
binutils 20050610-1
bison 20030307-1
bzip2 1.0.3-1
check 0.9.1-1
coreutils 5.3.0-7
crypt 1.1-1
cvs 1.11.17-1
cygipc 2.03-2
cygrunsrv 1.10-1
cygutils 1.2.9-1
cygwin 1.5.18-1
cygwin-doc 1.4-2
d 1.2.0-1
ddd 3.3.9-1
diffutils 2.8.7-1
editrights 1.01-1
expat 1.95.8-1
file 4.12-1
findutils 20041227-1
flex 2.5.4a-3
fontconfig 2.2.2-1
fortune 1.99.1-1
freetype2 2.1.5-1
gawk 3.1.4-3
gcc 3.4.4-1
gcc-ada 3.4.4-1
gcc-core 3.4.4-1
gcc-g++ 3.4.4-1
gcc-g77 3.4.4-1
gcc-gdc 3.4.4-1
gcc-gpc 3.3.3-3
gcc-java 3.4.4-1
gcc-mingw-ada 20050522-1
gcc-mingw-core 20050522-1
gcc-mingw-g++ 20050522-1
gcc-mingw-g77 20050522-1
gcc-mingw-gdc 20050522-1
gcc-mingw-gpc 20040810-1
gcc-mingw-java 20050522-1
gdb 20041228-3
gdbm 1.8.3-7
gettext 0.14.1-1
grep 2.5.1a-2
groff 1.18.1-2
gzip 1.3.5-1
indent 2.2.9-1
less 381-1
lesstif 0.93.94-2
libapr0 0.9.6-1
libaprutil0 0.9.6-1
libaspell15 0.50.3-1
libbz2_1 1.0.3-1
libcharset1 1.9.2-1
libdb4.2 4.2.52-1
libfontconfig1 2.2.2-1
libfreetype26 2.1.5-1
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libiconv 1.9.2-1
libiconv2 1.9.2-1
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libintl3 0.14.1-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libncurses8 5.4-2
libneon24 0.24.7-1
libpcre 4.1-1
libpcre0 4.5-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
libreadline6 5.0-2
libsasl2 2.1.19-3
libsasl2-devel 2.1.19-3
libXft 2.1.6-1
libXft1 1.0.0-1
libXft2 2.1.6-1
libxml2 2.6.16-2
login 1.9-7
m4 1.4.3-1
make 3.80-1
man 1.5p-1
mingw-runtime 3.7-1
minires 1.00-1
mktemp 1.5-3
ncurses 5.4-2
openssh 4.1p1-2
openssl 0.9.8-2
openssl097 0.9.7g-1
patch 2.5.8-8
patchutils 0.2.30-1
pcre 4.5-1
pcre-doc 4.5-1
python 2.4.1-1
readline 5.0-2
rsync 2.6.3-1
rxvt 2.7.10-6
sed 4.1.4-1
sharutils 4.3.80-1
subversion 1.2.0-1
tar 1.13.25-7
tcltk 20030901-1
termcap 20050421-1
terminfo 5.4_20041009-1
texinfo 4.8-1
tidy 041206-1
time 1.7-1
units 1.77-1
vim 6.3-1
w32api 3.2-1
which 1.7-1
whois 4.6.14-1
wtf 0.0.4-6
X-startup-scripts 1.0.10-4
xorg-x11-base 6.8.2.0-1
xorg-x11-bin 6.8.2.0-1
xorg-x11-bin-dlls 6.8.2.0-1
xorg-x11-bin-lndir 6.8.2.0-1
xorg-x11-etc 6.8.2.0-1
xorg-x11-fenc 6.8.1.0-2
xorg-x11-fnts 6.8.1.0-3
xorg-x11-libs-data 6.8.2.0-1
xorg-x11-xwin 6.8.2.0-4
xterm 202-1
zlib 1.2.2-2
Use -h to see help about each section
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/