LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   error compiling kernel (https://www.linuxquestions.org/questions/linux-general-1/error-compiling-kernel-44166/)

GJoz 02-05-2003 06:59 AM

error compiling kernel
 
hello
i had to compile my kernel for my modem
i have done the following(kernel source is install):

cd /usr/src/linux-2.4.18-19.8.0
make mrproper
cp /usr/src/linux-2.4.18-19.8.0/configs/kernel-2.4.i686.config /usr/src/linux-2.4.18-19.8.0/.config
make oldconfig
make dep
make modules_install

and at make modules_install it gives me error 2 at drivers
and this way its not working correctly,cause its not finished
any ideeas?

whansard 02-05-2003 07:05 AM

you have to compile the kernel and install it
if you want to install a new set of modules.

GJoz 02-05-2003 07:08 AM

how to install it?
ps: the error is: it doesnt recognize vfat either now,and gives many errors on startup

whansard 02-05-2003 07:31 AM

generally, it's
make dep
make bzImage
make modules
make install
make modules_install

if your kernel has some missing stuff, though,
you may not be able to boot, after.

GJoz 02-05-2003 07:35 AM

ok
thanks
let me try

lopoetve 02-05-2003 01:30 PM

you can't install the modules without compiling them first.

And I for one dont use make install. Just copy the kernel (bzImage) from /usr/src/linux/arch/i386/boot (might have that wrong) and add to lilo.conf by hand.


All times are GMT -5. The time now is 12:13 AM.