Re: Rules.make minor improvement

F.D. (depke@cs.tu-berlin.de)
Tue, 3 Jun 1997 02:54:58 +0200 (MET DST)


> > The patch doesn't work for me. Without it, I always got this:
> > cdrom.o -> ..//cdrom.o
> > mcdx.o -> ..//mcdx.o

> Does this mean that `make modules' does not work for you
> even without the patch?

Yes, that's right. I've posted it several times (well, perhaps 3 times)
to this list but I got never _any_ answer... :-(

> These problems probably appear because you are running
> make not from bash. You should have /bin/bash or /bin/sh
> to be the *real* bourne-compatible shell.

Do you mean I should start make modules from bash not from tcsh?

tron root (/linux): bash
02:47:53> make modules
...
make[2]: Entering directory `/usr/z5/linux/drivers/block'
rm -f $TOPDIR/modules/BLOCK_MODULES
echo floppy.o rd.o loop.o ide-cd.o >> $TOPDIR/modules/BLOCK_MODULES
cd $TOPDIR/modules; for i in floppy.o rd.o loop.o ide-cd.o; do \
ln -sf ..//linux/$i; done
make[2]: Leaving directory `/usr/z5/linux/drivers/block'
...
02:49:41> ls -l modules
...
lrwxrwxrwx 1 root root 18 Jun 3 02:48 floppy.o -> ..//linux/floppy.o
lrwxrwxrwx 1 root root 18 Jun 3 02:48 ide-cd.o -> ..//linux/ide-cd.o
lrwxrwxrwx 1 root root 16 Jun 3 02:48 loop.o -> ..//linux/loop.o
lrwxrwxrwx 1 root root 14 Jun 3 02:48 rd.o -> ..//linux/rd.o

Well, that doesn't help.

02:51:33> echo $BASH_VERSION
1.12.4

>Please, try out the corrected patch:

I trid, with the above 'success'

Some says ago, I read somewhere (release notes of libc or binutils)
about a patch to gnu-'make' about 'dirlen' or 'namelen', don't remember.
(Some _days_ ago, of course (using unix-'mail' ;-))
Is it possible that has something to do with that?

GNU Make version 3.75

Thanks,
Florian