You are not logged in.
Pages: 1
Topic closed
hi,and i'm sorry for my bad english
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
Offline
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
i continue without success :S
Offline
Could you please post your PKGBUILD? (I think this could help )
Offline
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
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 It's really difficult to go wrong with this method.
Offline
ok tks steven
i download full kernel source from http://www.kernel.org/.
it work fine
tks for the help guys
Offline
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
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
Pages: 1
Topic closed