[CentOS-devel] kernel recompile - make modules_install fails.

K Web kwebstuff at gmail.com
Mon Apr 18 19:05:41 UTC 2005


I'm trying to recompile the kernel on a CentOS4 (final) 2.6.9 kernel.

I tried two different approaches and both fail at the same place :
1. downloaded kernel-sources.2.6.9...rpm
2. downloaded kernel.2.6.9....src.rpm

in both cases I've been able to go through :
make oldconfig
make menuconfig
make bzImage
make modules

however when I run make modules_install I get this error :
ln: when making multiple links, last argument must be a directory
make: *** [_modinst_] Error 1

if I do make -d modules_install it goes through some stuff and finally
shows this:
No need to remake target `Makefile'.
Updating goal targets....
Considering target file `modules_install'.
File `modules_install' does not exist.
Considering target file `_modinst_'.
File `_modinst_' does not exist.
Finished prerequisites of target file `_modinst_'.
Must remake target `_modinst_'.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Putting child 0x08af7990 (_modinst_) PID 16488 on the chain.
Live child 0x08af7990 (_modinst_) PID 16488
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16488
Live child 0x08af7990 (_modinst_) PID 16492
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16492
Live child 0x08af7990 (_modinst_) PID 16493
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16493
Live child 0x08af7990 (_modinst_) PID 16494
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16494
Live child 0x08af7990 (_modinst_) PID 16495
ln: when making multiple links, last argument must be a directory
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08af7990 PID 16495
make: *** [_modinst_] Error 1
Removing child 0x08af7990 PID 16495 from chain.

I just can't figure out where what is failing... any ideas?



More information about the CentOS-devel mailing list