[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compile problems



Jay Kelly wrote:
> 
> Can someone tell me the steps needed to compile a kernel. I am having
> problems with Unresolved symbols. I first run 'make config' and select the
> option I want. Then I use'make dep' 'make clean; after that I compile the
> kernel with 'make bzImage' then I use 'make bzlilo; The 'make modules;make
> modules_install'  and reboot. Evertime I get some kind of Unresolved symbol.
> And help would be great..
> Thanks

Hi Jay....

You simply do too much things in the wrong order...

make config    (or menuconfig)
make dep
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.x.y
cp System.map /boot/System.map-2.x.y

modify /etc/lilo.conf to apply to new kernel image and run lilo

note: x.y indicate the kernel version. i use this system since i use to
change
them frequently and maybe you don't need.

it also can appear ex: /boot/vmlinuz-custom or whatever you want.
it's just important you remember than to put the same name in lilo.conf

-- 
 _____  ___  _    ___  ___  ___  _  _    _  _____  _____  _    _  _____
|_   _||  _|| |  |  _||  _|| _ || \/ |  | ||_   _||  _  || |  | ||  _  |
  | |  |  _|| |_ |  _|| |_ | _ || \/ |  | |  | |  |  _  || |_ | ||  _  |
  |_|  |___||___||___||___||___||_||_|  |_|  |_|  |_| |_||___||_||_| |_|
                SE@BONE - South European @ccess Back Bone
     ------------------ http://www.seabone.net/ -------------------
      Fabio Massimo Di Nitto       | Debian GNU/Linux Woody 2.2.15
      mailto:f.dinitto@seabone.net |         running on
      mailto:f.dinitto@tin.it      |  Laptop AMD K6-2 400Mhz 64Mb



Reply to: