modinst error when "make modules_install", kernel 2.4.22
I'm using Slackware 9.1 kernel 2.4.22 already recompiled for my Omnibook xe3 GF.
I had successfully recompiled my kernel several times in the past, and even used some branches of the 2.6.0 test kernel. Never had a problem which I couldn't solve by reading READMEs, HOWTOs or searching the web. So, I decided to add PPP kernel support to use my home ADSL connection. [Yes, I know I didn't need to recompile the entire kernel sources for that, but didn't think about that before starting the compile process.] Anyway, I started making the correct symbolic link for the source: Code:
cd /usr/src/ Code:
cd linux Code:
cp ../kernelconfigs/config-2.4.22 .config Code:
make dep Code:
make modules_install Code:
ln: when making multiple links, last argument must be a directory Code:
_modinst_: Could be due to the fact I've made some modifications to my /etc/profile /etc/bashrc /etc/inputrc ? Thanks for your attention and I'm sorry for the lenght of the post. |
hmmm, I don't know what the error means but usually it helps when you do a "make mrproper" and recompile again.
Don't forget to backup your kernel config ;) |
Quote:
Thanks for your reply, anyway. |
Well I didn't attach my
/etc/profile /etc/bashrc /etc/inputrc to the original post so maybe I could do that now, instead of just *bumping* the post... Code:
# Begin /etc/profile |
post a few lines preceeding the error
|
Unfortunately there are no preceding lines...
"make modules_install" just tries to create the modules directory for the custom kernel (I've modified the Makefile extraversion) and then stops cause it doesn't interpret correctly this part: Code:
@ln -s $(TOPDIR) $(MODLIB)/build Code:
TOPDIR := $(shell /bin/pwd) |
So, after a little bit more googling (I searched for the complete error msg I get) I found I'm not the only one (are we ever the only ones to experience problems?) to get this error message when recompiling the kernel.
From what I found it seems the point is the syntax of the EXTRAVERSION in the top Makefile. My EXTRAVERSION is: Code:
EXTRAVERSION = -myker.091203 "." in their name... Anyway I'm recompiling now without that dot in the extraversion. I feel that's the error. I hope this little kernel experience may help others which have/have had/will have the same error message. EDIT: I found the error: "make dep" before editing the EXTRAVERSION of the top Makefile ie, I made sure to have an empty EXTRAVERSION Makefile before doing "make dep" and only after "make dep" has finished change the EXTRAVERSION. |
Normally this occurs when you leave a blank space in the field EXTRAVERSION=
For example: edit the Makefile, locate the EXTRAVERSION line end verify if you have the blank space "EXTRAVERSION= -1.mcs ". Erase the blank space "EXTRAVERSION= -1.mcs" end re-compile the kernel. Bye. |
All times are GMT -5. The time now is 03:04 AM. |