This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Cygwin 1.3.10 : problems with make (3.79.1) when using windows mode (--win32 switch)


Hello.
Since my upgrade to the latest make and cygwin a previously working makefile stopped to work.
The make program tries to execute the commandline directly and cygwin execvp() could not find the file.
The command line is in the form "c:\directory\sub\prog parameter ... " and the called program is a dos program.
The make program returnes the error "make : "C:\directory\sub\prog" Command not found".
I was able to solve the problem by forcing make to use always the shell when in windows mode.
My environment is 
Windows 2000 german, Service Pack 2
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Mar 28 09:49:31 2002
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
Path:	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\local\bin
	c:\bin
	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\bin
	c:\Programme\Microsoft
	Office\Office
	c:\dmi\win32\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	c:\TivoliWg\Bin
	c:\PROGRA~1\IBM\CLIENT~1
	c:\PROGRA~1\IBM\CLIENT~1\Shared
	c:\PROGRA~1\IBM\CLIENT~1\Emulator
	.
	c:\XilinxDir\bin\nt
	c:\Programme\Network
	Associates\PGPNT
	c:\bin
	C:\cygwin\bin
	.
	c:\Programme\Modeltech_5.6
	Beta
	2\win32pe
	c:\winnt40\system32
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
CYGWIN = `tty,noglob'
HOME = `C:\Dokumente und Einstellungen\falser'
MAKE_MODE = `UNIX'
PWD = `/c/Projekte/INKJET/I186/i186ucos'
USER = `falser'
Use `-r' to scan registry
a: fd N/A N/A 
c: hd NTFS 17351Mb 64% CP CS UN PA FC 
d: cd N/A N/A 
C:/cygwin / user binmode
C:/cygwin/bin /usr/bin user binmode
C:/cygwin/lib /usr/lib user binmode
. /cygdrive user binmode,noumount
c: /c system textmode
C:\Dokumente und Einstellungen /home system textmode
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.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\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe
 56k 2000年12月03日 C:\cygwin\bin\cygbz21.0.dll
 621k 2002年01月16日 C:\cygwin\bin\cygcrypto.dll
 45k 2001年04月25日 C:\cygwin\bin\cygform5.dll
 35k 2002年01月09日 C:\cygwin\bin\cygform6.dll
 19k 2002年02月20日 C:\cygwin\bin\cyggdbm.dll
 22k 2001年12月13日 C:\cygwin\bin\cygintl-1.dll
 21k 2001年06月20日 C:\cygwin\bin\cygintl.dll
 81k 2001年10月20日 C:\cygwin\bin\cygitcl30.dll
 35k 2001年10月20日 C:\cygwin\bin\cygitk30.dll
 45k 2001年07月04日 C:\cygwin\bin\cygjbig1.dll
 119k 2001年06月06日 C:\cygwin\bin\cygjpeg6b.dll
 26k 2001年04月25日 C:\cygwin\bin\cygmenu5.dll
 20k 2002年01月09日 C:\cygwin\bin\cygmenu6.dll
 156k 2001年04月25日 C:\cygwin\bin\cygncurses++5.dll
 175k 2002年01月09日 C:\cygwin\bin\cygncurses++6.dll
 226k 2001年04月25日 C:\cygwin\bin\cygncurses5.dll
 202k 2002年01月09日 C:\cygwin\bin\cygncurses6.dll
 15k 2001年04月25日 C:\cygwin\bin\cygpanel5.dll
 12k 2002年01月09日 C:\cygwin\bin\cygpanel6.dll
 40k 2001年11月21日 C:\cygwin\bin\cygpcre.dll
 39k 2001年11月21日 C:\cygwin\bin\cygpcreposix.dll
 170k 2002年01月21日 C:\cygwin\bin\cygpng2.dll
 156k 2002年01月16日 C:\cygwin\bin\cygssl.dll
 390k 2001年10月20日 C:\cygwin\bin\cygtcl80.dll
 5k 2001年10月20日 C:\cygwin\bin\cygtclpip80.dll
 10k 2001年10月20日 C:\cygwin\bin\cygtclreg80.dll
 245k 2001年06月12日 C:\cygwin\bin\cygtiff3.dll
 623k 2001年10月20日 C:\cygwin\bin\cygtk80.dll
 41k 2001年07月04日 C:\cygwin\bin\cygXpm-noX4.dll
 45k 2001年07月04日 C:\cygwin\bin\cygXpm-X4.dll
 50k 2002年03月12日 C:\cygwin\bin\cygz.dll
 751k 2002年02月25日 C:\cygwin\bin\cygwin1.dll
 Cygwin DLL version info:
 DLL version: 1.3.10
 DLL epoch: 19
 DLL bad signal mask: 19005
 DLL old termios: 5
 DLL malloc env: 28
 API major: 0
 API minor: 51
 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: Mon Feb 25 11:14:34 EST 2002
 Shared id: cygwin1S3
Cygwin Package Information
Package Version 
ash 20020131-1 
autoconf 2.52c-1 
automake 1.6a-1 
bash 2.05a-3 
binutils 20011002-1 
bison 1.33-1 
byacc 1.9-1 
bzip2 1.0.1-6 
clear 1.0 
cpio 2.4.2 
cron 3.0.1-6 
crypt 1.0-1 
ctags 5.2-1 
cvs 1.11.0-1 
cygrunsrv 0.95-1 
cygwin 1.3.10-1 
dejagnu 20010117-1 
diff 0.0 
expect 20010117-1 
file 3.37-1 
fileutils 4.1-1 
findutils 4.1 
flex 2.5.4-1 
gawk 3.0.4-1 
gcc 2.95.3-5 
gdb 20010428-3 
gdbm 1.8.0-4 
gettext 0.10.40-1 
ghostscript 6.51-1 
gperf 0.0 
grep 2.5g 
groff 1.17.2-1 
gzip 1.3.2-1 
inetutils 1.3.2-14 
irc 20010101-1 
jbigkit 1.2-4 
jpeg 6b-4 
less 358-3 
libintl 0.10.38-3 
libintl1 0.10.40-1 
libncurses5 5.2-1 
libncurses6 5.2-8 
libpng 1.0.9-3 
libpng2 1.0.12-1 
libreadline4 4.1-2 
libreadline5 4.2a-1 
login 1.4-3 
lynx 2.8.4-1 
m4 0.0 
make 3.79.1-5 
man 1.5g-2 
mingw 20010917-1 
mingw-runtime 1.2-1 
mt 2.0.1-1 
mutt 1.2.5i-5 
ncftp 3.0.2-2 
ncurses 5.2-8 
opengl 1.1.0-5 
openssh 2.9.9p2-1 
openssl 0.9.6c-3 
patch 2.5-3 
pcre 3.7-1 
perl 5.6.1-2 
popt 1.6.1-1 
postgresql 7.1.3-1 
python 2.1.1-2 
readline 4.2a-1 
regex 4.4 
rsync 2.4.6-2 
rxvt 2.7.2-6 
sed 3.02-1 
sh-utils 2.0-2 
squid 2.4-STABLE20010508 
ssmtp 2.38.7-3 
tar 1.13.19-1 
tcltk 20001125-1 
tcsh 6.11.00-4 
termcap 20010825-1 
terminfo 5.2-1 
tetex-beta 20001218-1 
texinfo 4.0-4 
textutils 2.0.21-1 
tiff 3.5.6beta-2 
time 1.7-1 
unzip 5.41-1 
vim 6.0.93-1 
w32api 1.2-1 
wget 1.6-1 
which 1.5-1 
xpm-nox 4.1.0-1 
zip 2.3-1 
zlib 1.1.4-1 
The following is the patch to the make programm.
*** ./job.c	Wed Mar 27 11:29:32 2002
--- ../make-3.79.1-5.new/job.c	Wed Mar 27 09:34:56 2002
***************
*** 2278,2285 ****
 switch (errno)
 {
 case ENOENT:
! error (NILF, _("%s: Command not found"), argv[0]);
! break;
 case ENOEXEC:
 {
 	/* The file is not executable. Try it as a shell script. */
--- 2278,2285 ----
 switch (errno)
 {
 case ENOENT:
! 	error (NILF, _("%s: Command not found"), argv[0]);
! 	break;
 case ENOEXEC:
 {
 	/* The file is not executable. Try it as a shell script. */
***************
*** 2515,2522 ****
--- 2515,2527 ----
 sh_cmds = sh_cmds_dos;
 }
 #else /* not __MSDOS__ */
+ #ifdef __CYGWIN__
+ else if (!unixy_shell)
+ goto slow;
+ #else
 else if (strcmp (shell, default_shell))
 goto slow;
+ #endif
 #endif /* not __MSDOS__ */
 #endif /* not WINDOWS32 */
Best regards
Falser Klaus
R&D Electronics Department
Company	: Durst Phototechnik AG
	Vittorio Veneto Str. 59
	I-39042 Brixen
Voice	: +0472/810235
	: +0472/810111
FAX	: +0472/830980
Email	: kfalser@durst.it 
--
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/

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

AltStyle によって変換されたページ (->オリジナル) /