public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* newbie problem: compiling kernel 2.4.4, make modules_install , Help please !
       [not found] <20010517183832Z261485-1105+1620@vger.kernel.org>
@ 2001-05-17 18:50 ` Joel Cordonnier
  2001-05-18  2:15   ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Cordonnier @ 2001-05-17 18:50 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: newbie problem: compiling kernel 2.4.4, make modules_install , Help please !
  2001-05-17 18:50 ` newbie problem: compiling kernel 2.4.4, make modules_install , Help please ! Joel Cordonnier
@ 2001-05-18  2:15   ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2001-05-18  2:15 UTC (permalink / raw)
  To: Joel Cordonnier; +Cc: linux-kernel

On Thu, 17 May 2001 20:50:46 +0200 (CEST), 
Joel Cordonnier <jocordonnier@yahoo.fr> wrote:
>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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-18  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20010517183832Z261485-1105+1620@vger.kernel.org>
2001-05-17 18:50 ` newbie problem: compiling kernel 2.4.4, make modules_install , Help please ! Joel Cordonnier
2001-05-18  2:15   ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox