kernel compilation error : in "make modules_install"
i'm trying to upgrade my 2.4.x to 2.6.x ( on slackware 10.0)
i've experience of compiling 2.4.x to 2.4.x.
so the final steps were..........
make modules_install ( now here its showing error )
last lines of "make modules"
LD [M] net/sched/sch_prio.ko
LD [M] net/sched/sch_red.ko
LD [M] net/sched/sch_sfq.ko
LD [M] net/sched/sch_tbf.ko
LD [M] net/sched/sch_teql.ko
LD [M] net/sunrpc/sunrpc.ko
LD [M] sound/soundcore.ko
root@bond:/usr/src/linux# make modules_install
ln: when making multiple links, last argument must be a directory
make: *** [_modinst_] Error 1
i used the "config" from the second cd of slackware 10.0.
inside somewhere in "testing" folder.
A person asked me this
now experimently i tried to upgrade witheut loading any "config"
everything worked fine in that case...
so what could be the problem.........any problem with that "config"???
if required......i can post that "config" too.
Did you run "make oldconfig" after copying in your old .config but before compiling anything?
Slackware has been 2.6 ready since 9.1 I think so you don't need to upgrade modutils.
what i used to do was to load the old ".config' after "make xconfig" ( i.e when the new window appears )
today again i did the same thing.
Try these steps:
cp /path/to/oldconfig .config
This should clean your source directory, update the configuration and compile the kernel and modules.
After that, try "make modules_install" and see if it works this time.
summary of what i was trying.......
make xconfig ............ here i loaded the "config" file found in second cd of slackware
now here in last step "make modules_install" i was getting the following error
i too found a "space" on that line........so removed that
tried again the whole procedure of compilation.....
this time everything worked fine.
#cp /usr/src/linux/arch/i386/boot/bzImage /boot/slack/vmlinuz-2.6.9slack
#cp /usr/src/linux/System.map /boot/slack/System.map-2.6.9slack
#ln -s /boot/slack/vmlinuz-2.6.9slack /boot/slack/vmlinuz
#ln -s /boot/slack/System.map-2.6.9slack /boot/slack/System.map
partial entries of my lilo.conf
but for my gr8 disappointment.......i get the following error
i have same issues
i get the following error on make modules_install:
[root@localhost linux-3.9.5]# make modules_install
Can't read private key
make: *** [arch/x86/crypto/aes-i586.ko] Error 2
make: *** [_modinst_] Error 2
please reply if someone has solution
i am using RHEL 6
|All times are GMT -5. The time now is 05:59 PM.|