This is the mail archive of the
mailing list for the Cygwin project.
Re: Compiling Linux Kernel yields Error 255
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Ashwin Bihari <raz0redge at hotmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 9 Jan 2004 13:23:31 -0500 (EST)
- Subject: Re: Compiling Linux Kernel yields Error 255
- References: <BAY9-F45SVMum03yMJi00044e39@hotmail.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 9 Jan 2004, Ashwin Bihari wrote:
> I've gone and compiled GCC 3.3.1 to be a cross-compiler for PPC. I can
> compile simple programs with my cross-compiler, take it to the PPC target
> and have it work. I am now trying to take it to the next step and compile
> the kernel. When I tried to do the "depends" I got the following.
> scripts/mkdep -- init/*.c > .depend
> scripts/mkdep -- `find /cygdrive/d/Tools/linux-2.4.20/include/asm /cygdrive/d/Tools/linux-2.4.20/include/linux /cygdrive/d/Tools/linux-2.4.20/include/scsi /cygdrive/d/Tools/linux-2.4.20/include/net /cygdrive/d/Tools/linux-2.4.20/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
> make: *** [dep-files] Error 255
> Basically it's finding all the *.h files and doing the dependencies, I tried
> this command with the regular shell and this yields about 927 .H files or
> I searched this list and found that others have had problems either with
> pipes/redirection or really long command line parameters. But the things
> that did work for others didn't work for me.
> I'm running the latest Cygwin with DLL version 1.5.5-1. Any and all ideas
In exactly what way didn't the "things that worked for others" work for
you? Does the 'xargs' command help? Please let the list know what you've
tried (preferably with exact command lines and error messages). Do they
work if you run the expanded command from a shell script?
FYI, you can also shorten the parameter list *a lot* by using either a
symlink from the root directory or a mount to remove the prefix paths
(e.g., "ln -s /cygdrive/d/Tools/linux-2.4.20/include /li").
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html