2002-12-11 00:08:45

by Wahib Nackad

[permalink] [raw]
Subject: is not plain file nor directory

Hello,

I'm able to compile kernel 2.4.20 via SRPMS with spec file without problem
as long as I don't enable pcmcia support with the kernel. If I enable pcmcia
support, then compilation fail when the 'make module_install' command runs
and return the following error message for each pcmcia drivers:

depmod:
/var/tmp/kernel-2.4.20-root/lib/modules/2.4.20-1/pcmcia/xircom_tulip_cb.o is
not plain file nor directory

The /var/tmp/kernel-2.4.20-root/lib/modules/2.4.20-1/pcmcia is a directory
created by the 'make module_install' command with all pcmcia drivers made as
symbolic link inside it. Those symbolic links point to the right
subdirectory under the kernel directory but it seem to me that the system or
something else do not want to follow the symbolic link and this is why I
receive the "is not plain file nor directory" error.

Can someone exlain me how to fix this?

Thanks a lot.
W





_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


2002-12-11 09:38:34

by Keith Owens

[permalink] [raw]
Subject: Re: is not plain file nor directory

On Wed, 11 Dec 2002 00:16:25 +0000,
"Wahib Nackad" <[email protected]> wrote:
>I'm able to compile kernel 2.4.20 via SRPMS with spec file without problem
>as long as I don't enable pcmcia support with the kernel. If I enable pcmcia
>support, then compilation fail when the 'make module_install' command runs
>and return the following error message for each pcmcia drivers:
>
>depmod:
>/var/tmp/kernel-2.4.20-root/lib/modules/2.4.20-1/pcmcia/xircom_tulip_cb.o is
>not plain file nor directory

depmod detects symlinks and resolves them, this error should never
happen for valid symlinks. Run depmod with -v, post the 10 lines
starting with 'resolving xircom_tulip_cb.o symlink'.