Skip to contentSkip to conversation

newbie problem: compiling kernel 2.4.4, make modules_install , Help please !

DISCUSSION Joel Cordonnier 2 participants 2 messages May 17, 2001 – May 18, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi !

It's the first time that i try to compile my own kernel. At the moment, I have an old RH 6.1 with a 2.2.12 kernel.

I have downloaded the latest stable kernel 2.4.4 tar.gz kernel.

I follow these steps:
- make xonfig (a give what i need)
- make dep (for dependencies)
- make bzImage.
All seems OK for these steps.

Then
- make modules and
- make modules_install ==> PROBLEM !

FIRST the message say that no argument -F exist for the command /sbin/depmod. So I change in the Makefile the call
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.4; fi
TO
if [ -r System.map ]; then /sbin/depmod -ae System.map
2.4.4; fi

AFTER THIS CHANGE, i have the following error:

........
.......
make[1]: Entering directory `/usr/src/linux-2.4.4/arch/i386/mm'
make[1]: Nothing to be done for modules_install'. make[1]: Leaving directory /usr/src/linux-2.4.4/arch/i386/mm'
make -C arch/i386/lib modules_install make[1]: Entering directory `/usr/src/linux-2.4.4/arch/i386/lib'
make[1]: Nothing to be done for modules_install'. make[1]: Leaving directory /usr/src/linux-2.4.4/arch/i386/lib'
cd /lib/modules/2.4.4; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae System.map
2.4.4; fi
can't open /lib/modules/System.map/modules.dep

I check, and there is no file or directory named /lib/modules/System.map or directory!

Help please !
Thanks
Joel

___________________________________________________________
Do You Yahoo!? -- Pour faire vos courses sur le Net, Yahoo! Shopping : http://fr.shopping.yahoo.com

#2 lore raw
Quoted 6 lines · Joel Cordonnier

It's the first time that i try to compile my own kernel. At the moment, I have an old RH 6.1 with a 2.2.12 kernel.
- make modules_install ==> PROBLEM !
FIRST the message say that no argument -F exist for the command /sbin/depmod.

Always read Documentation/Changes and check that *all* your utilities are up to date before working on a new kernel.