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]

problem with make


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/


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