Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm running fedora core 2 and i'm trying to compile kernel 2.6.8.1 from source. everything is fine up until i type 'make bzImage' when after a minute it gives me this error;
ld: BFD 2.15.90.0.3 20040415 assertion fail ../../bfd/linker.c:619
arch/x86_64/ia32/built-in. o (.data+0x3a8) : In function 'ia32_sys_call_table' :
: undefined reference to 'sys32_ipc'
make: *** [.tmp_vmlinux1] Error 1
When you propose to recompile the kernel, you need to have the kernel source code installed, not just the binary. Check your install cd's for the kernel source and install it, then try again to compile a new kernel.
As it now stands, you don't have the source installed for the kernel which is currently installed (header files, etc). Therefore, the necessary info to guide the re-compiile is not available (compile is not smart enough to get that info from the package you are trying to recompile).
That's the best advice I can give you based on past experience with trying to compile kernels.
Sometimes the .config dependencies are not correctly sorted out on Kconfig.
So you may need to enable CONFIG_IPC or something like that to make the kernel build, although the xconfig or menuconfig configurators don't notice this because there are no rules to tell them that. This is actually a bug in Kconfig, but a very subtle one with a easy workaround.
You should try to first do a "make defconfig" to make all the default options (or get the ones used by Red Hat), and build the kernel with those options.
After that set the options you want and build after setting a few options. If setting (or unsetting) option X makes an unbuildable kernel, just toggle it back.
Just a Thought...
To build a 2.6. kernel you just need to 'make && make modules_install'....
The command 'make bzImage' comes from the 2.4 kernels, and I am not sure waht it does in 2.6 kernel
Apart from this, do a pmasques said...
you could also copy the config from an old 2.6-kernel
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.