Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <115ABFD69991D511B9860050FC2246662C886C@ThisAddressDoesNotExist> From: Jason Morgan To: "'cygwin AT cygwin DOT com'" Subject: problem with make Date: Mon, 22 Apr 2002 08:40:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Hi, I'm having a problem using Cygwin as a platform for gcc running as a cross compiler. When doing make dep on a kernel tree, the following happens. On the make line dep-files, the make file reads dep-files: scripts/mkdep archdep include/linux/version.h scripts/mkdep -- init/*.c > .depend scripts/mkdep -- `find $(FINDHPATH) -name SCCS -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend $(MAKE) $(patsubst %,_sfdep_%,$(SUBDIRS)) _FASTDEP_ALL_SUB_DIRS="$(SUBD ifdef CONFIG_MODVERSIONS $(MAKE) update-modverfile endif Its the third line causing the problem where the result of find scripts/mkdep is a result of a find. The error is: scripts/mkdep: error 22 This error seems to come from the shell (bash) The 'find' works OK on its own, and the previous two 'mkdep's' do as well. So the only conslusion is the resulting command line from the find is upsetting the shell when it passes the parameters into mkdep. Isolating this one line into a shell script seem to support this theory. Bash in my cygwin is version 2.05a.0(3) Any help appreciated, Jason. -- 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/