Hi Keith,
I googled a bit on this, but the nature of the bug makes it impossible to
search properly.
I found this out as I was trying to build Netgear router DG834 firmware from
GPL source, and make dep fails.
The reason is due to the untarred path name that includes () I found.
I tested on virgin kernel 2.4.31 with GNU Make version 3.79.1.
top level directory of kernel source as a test:
linux-2.4.31(test)/
And the errors (with a lot removed) - it does a little first then:
> make mrproper
/bin/sh: -c: line 1: syntax error near unexpected token
`/home/nick/kernel/linux-2.4.31(t'
...
...
make: *** [mrproper] Error 2
> make dep
/bin/sh: -c: line 1: syntax error near unexpected token
`/home/nick/kernel/linux-2.4.31(test)'
...
...
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/home/nick/kernel/linux-2.4.31(test)/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/home/nick/kernel/linux-2.4.31(test)'
make: *** [dep-files] Error 2
I haven't a clue if this is a 'make' issue or not, but a few tests on other
source builds ok.
Nick
--
http://sourceforge.net/projects/quake2plus/
"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb
On Wed, 16 Nov 2005 15:09:04 +0000,
Nick Warne <[email protected]> wrote:
>The reason is due to the untarred path name that includes () I found.
>
>I tested on virgin kernel 2.4.31 with GNU Make version 3.79.1.
>
>top level directory of kernel source as a test:
>
>linux-2.4.31(test)/
>
>And the errors (with a lot removed) - it does a little first then:
>
>> make mrproper
>/bin/sh: -c: line 1: syntax error near unexpected token
>`/home/nick/kernel/linux-2.4.31(t'
Rename the directory to linux-2.4.31-test. The kernel build code
assumes that there are no shell special characters in file names.