LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Closed Thread
  Search this Thread
Old 09-14-2004, 10:19 PM   #1
BattleAxe_19
LQ Newbie
 
Registered: Dec 2003
Posts: 14

Rep: Reputation: 0
make bzImage


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


does anyone know how to go about fixing it?
 
Old 09-15-2004, 01:56 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 09-15-2004, 05:42 AM   #3
pmarques
LQ Newbie
 
Registered: Jul 2003
Posts: 28

Rep: Reputation: 15
I see you're compiling for a x86-64 target.

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.
 
Old 09-15-2004, 11:16 AM   #4
Geronimo
Member
 
Registered: Aug 2004
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
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

Greets
Geronimo
 
Old 09-15-2004, 03:15 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between make bzImage and make vmlinuz? veritas Linux - Newbie 3 11-23-2011 04:45 AM
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 08:41 PM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM
make: **** No rule to make target 'bzImage' qingjuan Linux - General 5 04-02-2002 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration