find: /usr/src/linux-2.4.30/include/asm: Too many levels of symboliclinks

From: Martin MOKREJŠ
Date: Thu Apr 07 2005 - 07:21:55 EST


Hi,
again I've hit some wird problem doing "make dep" for 2.4 kernel:

I've extracted the linxu-2.4.30.tar.gz file, copied .config from
previous src-tree, ran `make oldconfig', did `make menuconfig',
and finally `make dep':

[cut]
make[2]: Leaving directory `/usr/src/linux-2.4.30/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.30'
make update-modverfile
make[1]: Entering directory `/usr/src/linux-2.4.30'
/usr/src/linux-2.4.30/include/linux/modversions.h was not updated
make[1]: Leaving directory `/usr/src/linux-2.4.30'
scripts/mkdep -- `find /usr/src/linux-2.4.30/include/asm /usr/src/linux-2.4.30/include/linux /usr/src/linux-2.4.30/include/scsi /usr/src/linux-2.4.30/include/net /usr/src/linux-2.4.30/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
find: /usr/src/linux-2.4.30/include/asm: Too many levels of symbolic links
scripts/mkdep -- init/*.c > .depend
#


Executing `find /usr/src/linux-2.4.30/include/asm /usr/src/linux-2.4.30/include/linux /usr/src/linux-2.4.30/include/scsi /usr/src/linux-2.4.30/include/net /usr/src/linux-2.4.30/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` works just fine.


aquarius linux-2.4.30 # scripts/mkdep -- `find /usr/src/linux-2.4.30/include/asm /usr/src/linux-2.4.30/include/linux /usr/src/linux-2.4.30/include/scsi /usr/src/linux-2.4.30/include/net /usr/src/linux-2.4.30/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print`
find: /usr/src/linux-2.4.30/include/asm: Too many levels of symbolic links
mkdep: HPATH not set in environment. Don't bypass the top level Makefile.
aquarius linux-2.4.30 #

aquarius linux-2.4.30 # ls -la /usr/src/linux-2.4.30/include/asm
lrwxrwxrwx 1 root root 8 Apr 7 14:07 /usr/src/linux-2.4.30/include/asm -> asm-i386
aquarius linux-2.4.30 # ls -la /usr/src/linux-2.4.30/include/asm-i
asm-i386/ asm-ia64/ aquarius linux-2.4.30 # ls -la /usr/src/linux-2.4.30/include/asm-i386/
total 692
drwxr-xr-x 2 573 573 1741 Apr 4 03:42 .
drwxr-xr-x 28 573 573 397 Apr 7 14:07 ..
-rw-r--r-- 1 573 573 764 Jun 16 1995 a.out.h
-rw-rw-r-- 1 573 573 4974 Apr 4 03:42 acpi.h
-rw-r--r-- 1 573 573 2528 Nov 17 12:54 apic.h
-rw-r--r-- 1 573 573 9610 Aug 25 2003 apicdef.h
-rw-r--r-- 1 573 573 5066 Nov 22 2001 atomic.h
-rw-r--r-- 1 573 573 9568 Aug 8 2004 bitops.h
-rw-r--r-- 1 573 573 409 Apr 16 1997 boot.h
[cut]
There are no symlinks under /usr/src/linux-2.4.30/include/asm-i386/

Any clues? :( Please Cc: me in replies.
--
Martin Mokrejs
Email: 'bW9rcmVqc21Acmlib3NvbWUubmF0dXIuY3VuaS5jeg==\n'.decode('base64')
GPG key is at http://www.natur.cuni.cz/~mmokrejs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/