Subject: Makefile: error executing 'shell' command in makefile
From: "Anand Bapat" <[email-masked]>
To: [email-masked]
Date: Wed, 8 Jan 2003 11:06:16 -0500 (EST)

problem statement:

I have a make file which works perfectly on linux. when I use
the same makefile on cygwin, the following line in makefile
gives error :

CWD = $(shell pwd)

The ERROR is

===============

D:\cygwin\bin\pwd.exe: *** Can't create title mutes, Win32 error 6

I noticed that the 'shell' command is causing the problem.

I'm using windows NT. version 4.

cygcheck -s -v -r OUTPUT : 
---------------------------------------------------------

Cygwin Win95/NT Configuration Diagnostics

Current System Time: Wed Jan 08 11:03:15 2003

Windows NT Ver 4.0 Build 1381 Service Pack 6

Path: D:\cygwin\usr\local\bin

D:\cygwin\bin

D:\cygwin\bin

c:\WINNT\system32

c:\WINNT

D:\cygwin\usr\X11R6\bin

SysDir: C:\WINNT\System32

WinDir: C:\WINNT

HOME = `D:\cygwin'

MAKE_MODE = `unix'

PWD = `/TEST/lbfs1-rci/simtool'

USER = `abapat'

COMPUTERNAME = `ABAPAT-PC'

COMSPEC = `C:\WINNT\system32\cmd.exe'

HOMEDRIVE = `C:'

HOMEPATH = `\'

LOGONSERVER = `\\FEDRB01'

MANPATH = `:/usr/ssl/man'

NUMBER_OF_PROCESSORS = `1'

OLDPWD = `/TEST/lbfs1-rci'

OS2LIBPATH = `C:\WINNT\system32\os2\dll;'

OS = `Windows_NT'

PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'

PROCESSOR_ARCHITECTURE = `x86'

PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'

PROCESSOR_LEVEL = `6'

PROCESSOR_REVISION = `0502'

PROMPT = `$P$G'

PS1 = `\[\033]0;\w\007

\033[32m\]\u@\h \[\033[33m\w\033[0m\]

$ '

SHLVL = `1'

SYSTEMDRIVE = `C:'

SYSTEMROOT = `C:\WINNT'

TEMP = `c:\TEMP'

TERM = `cygwin'

TMP = `c:\TEMP'

USERDOMAIN = `FORESYSTEMS'

USERNAME = `abapat'

USERPROFILE = `C:\WINNT\Profiles\abapat.000'

WINDIR = `C:\WINNT'

_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

(default) = `/cygdrive'

cygdrive flags = 0x00000022

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/

(default) = `D:\cygwin'

flags = 0x0000000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin

(default) = `D:\cygwin/bin'

flags = 0x0000000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib

(default) = `D:\cygwin/lib'

flags = 0x0000000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts

(default) = `D:\cygwin\usr\X11R6\lib\X11\fonts'

flags = 0x0000000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a: fd N/A N/A

c: hd FAT 2047Mb 96% CP UN

d: hd NTFS 5538Mb 23% CP CS UN PA FC

e: hd FAT 2055Mb 9% CP UN

f: cd N/A N/A

D:\cygwin / system binmode

D:\cygwin/bin /usr/bin system binmode

D:\cygwin/lib /usr/lib system binmode

D:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode

. /cygdrive user binmode,cygdrive

Found: D:\cygwin\bin\bash.exe

Found: D:\cygwin\bin\cat.exe

Found: D:\cygwin\bin\cpp.exe

Found: D:\cygwin\bin\find.exe

Found: D:\cygwin\bin\gcc.exe

Found: D:\cygwin\bin\gdb.exe

Found: D:\cygwin\bin\ld.exe

Found: D:\cygwin\bin\ls.exe

Found: D:\cygwin\bin\make.exe

Found: D:\cygwin\bin\sh.exe

6k 2002/06/24 D:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0

"cygcharset-1.dll" v0.0 ts=2002/6/24 14:23

644k 2002/12/08 D:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0

"cygcrypto.dll" v0.0 ts=2002/12/8 14:57

493k 2002/11/19 D:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0

"cygcurl-2.dll" v0.0 ts=2002/11/19 9:38

136k 2002/10/17 D:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0

"cygexpat-0.dll" v0.0 ts=2002/10/17 11:21

50k 2002/03/17 D:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0

"cygexslt-0.dll" v0.0 ts=2002/3/17 1:24

45k 2001/04/25 D:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0

"cygform5.dll" v0.0 ts=2001/4/25 1:28

35k 2002/01/09 D:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0

"cygform6.dll" v0.0 ts=2002/1/9 1:03

19k 2002/02/20 D:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0

"cyggdbm.dll" v0.0 ts=2002/2/19 22:05

490k 2002/09/21 D:\cygwin\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0

"cygguile-12.dll" v0.0 ts=2002/9/21 6:01

63k 2002/09/21 D:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - os=4.0 img=1.0 sys=4.0

"cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=2002/9/21 6:01

24k 2002/09/21 D:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0 img=1.0 sys=4.0

"cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2002/9/21 6:01

14k 2002/09/21 D:\cygwin\bin\cygguilereadline-v-12-12.dll - os=4.0 img=1.0 sys=4.0

"cygguilereadline-v-12-12.dll" v0.0 ts=2002/9/21 6:01

17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0

"cyghistory4.dll" v0.0 ts=2001/1/6 23:34

20k 2002/10/10 D:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0

"cyghistory5.dll" v0.0 ts=2002/10/10 13:28

929k 2002/06/24 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0

"cygiconv-2.dll" v0.0 ts=2002/6/24 14:24

22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0

"cygintl-1.dll" v0.0 ts=2001/12/13 4:28

28k 2002/09/20 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0

"cygintl-2.dll" v0.0 ts=2002/9/19 23:13

21k 2001/06/20 D:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0

"cygintl.dll" v0.0 ts=2001/6/20 13:09

119k 2002/02/09 D:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0

"cygjpeg6b.dll" v0.0 ts=2002/2/9 0:19

59k 2002/09/20 D:\cygwin\bin\cygkpathsea-3-3-7.dll - os=4.0 img=1.0 sys=4.0

"cygkpathsea-3-3-7.dll" v0.0 ts=2002/9/20 10:54

32k 2003/01/04 D:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0

"cygltdl-3.dll" v0.0 ts=2003/1/4 2:47

26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0

"cygmenu5.dll" v0.0 ts=2001/4/25 1:27

20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0

"cygmenu6.dll" v0.0 ts=2002/1/9 1:03

156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0

"cygncurses++5.dll" v0.0 ts=2001/4/25 1:29

175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0

"cygncurses++6.dll" v0.0 ts=2002/1/9 1:03

226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0

"cygncurses5.dll" v0.0 ts=2001/4/25 1:17

202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0

"cygncurses6.dll" v0.0 ts=2002/1/9 1:03

15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0

"cygpanel5.dll" v0.0 ts=2001/4/25 1:27

12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0

"cygpanel6.dll" v0.0 ts=2002/1/9 1:03

40k 2001/11/21 D:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0

"cygpcre.dll" v0.0 ts=2001/11/21 17:15

39k 2001/11/21 D:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0

"cygpcreposix.dll" v0.0 ts=2001/11/21 17:15

175k 2002/07/22 D:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0

"cygpng10.dll" v0.0 ts=2002/7/22 11:51

179k 2002/07/22 D:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0

"cygpng12.dll" v0.0 ts=2002/7/22 12:03

22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0

"cygpopt-0.dll" v0.0 ts=2002/6/9 1:45

108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0

"cygreadline4.dll" v0.0 ts=2001/1/6 23:34

127k 2002/10/10 D:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0

"cygreadline5.dll" v0.0 ts=2002/10/10 13:28

165k 2002/12/08 D:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0

"cygssl.dll" v0.0 ts=2002/12/8 14:57

550k 2002/12/19 D:\cygwin\bin\cygtcl83.dll - os=4.0 img=1.0 sys=4.0

"cygtcl83.dll" v0.0 ts=2002/12/18 23:58

12k 2002/12/19 D:\cygwin\bin\cygtclpip83.dll - os=4.0 img=1.0 sys=4.0

253k 2002/02/10 D:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0

"cygtiff3.dll" v0.0 ts=2002/2/10 3:34

217k 2002/12/19 D:\cygwin\bin\cygtix4183.dll - os=4.0 img=1.0 sys=4.0

"cygtix4183.dll" v0.0 ts=2002/12/18 22:26

830k 2002/12/19 D:\cygwin\bin\cygtk83.dll - os=4.0 img=1.0 sys=4.0

"cygtk83.dll" v0.0 ts=2002/12/18 22:25

2689k 2002/11/16 D:\cygwin\bin\cygxerces-c21.dll - os=4.0 img=1.0 sys=4.0

"cygxerces-c21.dll" v0.0 ts=2002/11/15 23:07

633k 2002/07/22 D:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0

"cygxml2-2.dll" v0.0 ts=2002/7/22 2:29

152k 2002/03/17 D:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0

"cygxslt-1.dll" v0.0 ts=2002/3/17 1:19

15k 2002/03/17 D:\cygwin\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0

"cygxsltbreakpoint-1.dll" v0.0 ts=2002/3/17 1:24

50k 2002/03/12 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0

"cygz.dll" v0.0 ts=2002/3/11 23:38

880k 2002/12/25 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0

"cygwin1.dll" v0.0 ts=2002/12/25 15:37

Cygwin DLL version info:

DLL version: 1.3.18

DLL epoch: 19

DLL bad signal mask: 19005

DLL old termios: 5

DLL malloc env: 28

API major: 0

API minor: 69

Shared data: 3

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: Wed Dec 25 15:37:50 EST 2002

Shared id: cygwin1S3

41k 2002/05/14 D:\cygwin\usr\X11R6\bin\cygPropList-0.dll - os=4.0 img=1.0 sys=4.0

"cygPropList-0.dll" v0.0 ts=2002/5/13 23:13

Cygwin Package Information

Last downloaded files to: D:\cygwin

Last downloaded files from: ftp://archive.progeny.com/cygwin

Package Version

ELFIO 1.0.0-1

WindowMaker 0.80.0-2

XFree86-base 4.2.0-1

XFree86-bin 4.2.0-2

XFree86-etc 4.2.0-1

XFree86-fenc 4.2.0-2

XFree86-fnts 4.2.0-2

XFree86-lib 4.2.0-3

XFree86-startup-scripts4.2.0-3

XFree86-xserv 4.2.0-15

_update-info-dir 00116-1

agetty 2.1-1

ash 20020731-1

astyle 1.15.3-3

autoconf 2.54-1

autoconf-devel 2.57-1

autoconf-stable 2.13-4

automake 1.7.1-1

automake-devel 1.7.2-1

automake-stable 1.4p5-5

base-files 1.1-1

base-passwd 1.0-1

bash 2.05b-8

binutils 20021117-1

bison 1.75-1

byacc 1.9-1

ccache 1.9-1

chkconfig 1.2.24h-1

cmake 1.4.7-1

compface 1.4-5

cron 3.0.1-7

crypt 1.0-1

ctags 5.2-1

curl 7.10.2-1

curl-devel 7.10.2-1

cvs 1.11.0-1

cygrunsrv 0.95-1

cygutils 1.1.3-1

cygwin 1.3.18-1

cygwin-doc 1.2-1

dejagnu 20021217-2

diff 1.0-1

diffutils 2.8.1-1

doxygen 1.2.18-1

dpkg 1.10.4-2

emacs 21.2-11

emacs-X11 21.2-11

emacs-el 21.2-11

expat 1.95.5-1

expect 20021218-1

file 3.37-1

fileutils 4.1-1

findutils 4.1.7-4

flex 2.5.4-2

fvwm 2.4.7-2

gawk 3.1.1-5

gcc 3.2-3

gcc-mingw 20020817-4

gcc2 2.95.3-10

gdb 20021218-1

gdbm 1.8.0-4

gettext 0.11.5-1

gettext-devel 0.11.5-1

ghostscript 7.05-2

ghostscript-base 7.05-2

ghostscript-x11 7.05-2

gperf 2.7.2-1

grep 2.5-1

groff 1.18.1-2

guile 1.6.0-1

guile-devel 1.6.0-1

guile-doc 1.6.0-1

gzip 1.3.3-4

indent 2.2.8-1

inetutils 1.3.2-19

initscripts 0.9-1

jpeg 6b-7

less 378-1

libPropList 0.10.1-3

libcharset1 1.8-2

libguile12 1.6.0-1

libiconv 1.8-2

libiconv2 1.8-2

libintl 0.10.38-3

libintl1 0.10.40-1

libintl2 0.11.5-1

libkpathsea3 20020911-1

libltdl3 20030103-1

libncurses5 5.2-1

libncurses6 5.2-8

libpng10 1.0.14-2

libpng12 1.2.4-2

libpopt0 1.6.4-4

libreadline4 4.1-2

libreadline5 4.3-2

libtool 20020705-1

libtool-devel 20030103-1

libtool-stable 1.4.3-1

libxerces-c21 2.1.0-1

libxml2 2.4.23-1

libxslt 1.0.13-1

lilypond-doc 1.6.5-1

login 1.7-1

m4 1.4-1

make 3.79.1-7

man 1.5j-1

mingw-runtime 2.3-1

mktemp 1.4-1

ncurses 5.2-8

newlib-man 20020801

openssl 0.9.6h-1

openssl-devel 0.9.6h-1

pcre 3.7-1

perl 5.6.1-2

pine 4.44-4

pinfo 0.6.6p1-1

pkgconfig 0.14.0-1

procps 010801-2

rcs 5.7-3

readline 4.3-2

sed 4.0.1-1

sh-utils 2.0.15-2

sharutils 4.2.1-2

shutdown 1.2-2

swig 1.3.16-1

sysvinit 2.84-2

tar 1.13.25-1

tcltk 20021218-1

tcp_wrappers 7.6-1

termcap 20020930-1

terminfo 5.2-3

tetex-devel 20020911-1

tetex-doc 20020911-1

texinfo 4.2-4

textutils 2.0.21-1

tiff 3.5.7-1

unzip 5.50-1

vim 6.1-2

w32api 2.1-1

which 1.5-1

whois 4.6.1-1

xerces-c-devel 2.1.0-1

xerces-c-doc 2.1.0-1

xinetd 2.3.9-1

zip 2.3-2

zlib 1.1.4-1

Use -h to see help about each section

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

--
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/