You are not logged in.

#1 2007-08-12 10:34:19

freax
Member
Registered: 2007-08-12
Posts: 3

cant compile kernel

hi,and i'm sorry for my bad english tongue
i'm trying compile my kernel . but i have a error

[root@archlinux linux-2.6.22-ck]# make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
make[1]: *** No rule to make target `missing-syscalls'.  Stop.
make: *** [prepare0] Error 2

i'm only change the High Memory support for 64GB

can you hellp me??
tks
big_smile

Offline

#2 2007-08-12 14:48:56

XazZ
Member
From: Munich, Germany
Registered: 2006-12-30
Posts: 72

Re: cant compile kernel

Hi...

Just comment make prepare in your PKGBUILD
see PKGBUILD of kernel26:

  # for binary modules make prepare, not needed anymore in .22 kernels
  # make prepare

XazZ

Offline

#3 2007-08-13 16:25:06

freax
Member
Registered: 2007-08-12
Posts: 3

Re: cant compile kernel

i continue without success :S

Offline

#4 2007-08-14 02:14:44

XazZ
Member
From: Munich, Germany
Registered: 2006-12-30
Posts: 72

Re: cant compile kernel

Could you please post your PKGBUILD? (I think this could help smile)

Offline

#5 2007-08-14 12:08:31

steven
Member
Registered: 2007-07-17
Posts: 56

Re: cant compile kernel

I think he's trying to compile the kernel the standard way.

freax, the full kernel source isn't available by default. You will need to download the kernel sources of your choice. I downloaded the vanilla kernel from http://www.kernel.org/. You can apply any patchset that you want.

If you only want to make a simple change to your existing kernel, perhaps it would be more simple to simply alter the ABS kernel package and configure that. Look up the Arch Build System (ABS) in the wiki.

Offline

#6 2007-08-14 13:07:20

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: cant compile kernel

This is how I compile my kernels:

1) Update abs ("sudo abs" or run "abs" as root)
2) Copy the kernel26 directory from /var/abs/kernels to my home dir ("~/Sources" actually)
3) I use the script from this thread (http://bbs.archlinux.org/viewtopic.php?id=34815).  Make sure you configure it appropriately, choose appendname etc., and make it executable.  Then just run it from the directory where you copied your kernel to (in my case ~/Sources).  It should make a new directory called kernel26-"appendname".  Enter that directory.
4) If you want to add custom patches you'll have to edit PKGBUILD file manually, otherwise just run makepkg.  The script changes the PKGBUILD so that you'll enter kernel configuration menu before compiling starts.  Make your changes and make sure you save your configuration when choosing exit.
5) While the kernel compiles you can edit your /boot/grub/menu.lst to add entries for your new kernel.  The relevant filenames will be vmlinuz26-"appendname", kernel26-"appendname", and kernel26-"appendname"-fallback.
6) run sudo pacman -A kernel_package_name

You're done wink  It's really difficult to go wrong with this method.

Offline

#7 2007-08-20 10:43:53

freax
Member
Registered: 2007-08-12
Posts: 3

Re: cant compile kernel

ok tks steven
i download full kernel source from http://www.kernel.org/.
it work fine smile

tks for the help guys smile

Offline

#8 2010-09-04 15:25:08

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,368

Re: cant compile kernel

Hmm...this gives me a good idea.  I can just go to kernel.org and compile a kernel and use the kernel to then make my own distribution.  But then where do I get all the packages I would need?  Most of the floppy linux and such are nice, but it's hard to get something when it's an old machine competing with out dated windows.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#9 2010-09-04 15:58:22

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: cant compile kernel

nomorewindows, whether or not that is a good idea, a 3 year old thread about kernel compilation is not the right place to pose it.

Closed.


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB