[parisc-linux] pre-build HP-UX/10.20 bash's problem

John David Anglin dave@hiauly1.hia.nrc.ca
Wed, 4 Oct 2000 11:05:50 -0400 (EDT)


> Hi.
> I have a HP B2000 (9000/785) with HP-UX 10.20 and installed 
> binaries/HP-UX/depot/10.20/bash-2.03-1.hpux-10.20.depot.gz,
> but it not work when I want to build a new kernel:
>    bash-2.03$ make dep
>    scripts/mkdep init/*.c > .depend
>    scripts/mkdep `find /home/yq/linux/include/asm
> /home/yq/linux/include/linux /home/yq/linux/include/scsi
> /home/yq/linux/include/net -name   SCCS -prune -o -follow -name \*.h ! -name
> modversions.h -print` > .hdepend
>    bash: scripts/mkdep: Arg list too long
>    make: *** [dep-files] Error 126
>   
> Am I missing any thing?
> Thanks for any advices.

I think this can be fixed by changing the Makefile to use relative paths
instead of absolute paths.  This shortens the arg list enough for 
building under hpux.

Changing the kernel to support a larger arg and environment space looks
like it will waste a lot of memory for most applications and thus may
not be suited for machines with limited memory or swap space.  So, I would
try hacking the Makefile first.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)