LinuxQuestions.org
Help answer threads with 0 replies.
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


Reply
  Search this Thread
Old 10-02-2005, 02:54 PM   #1
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
Linux 2.4 Kernel Compiling Error: no rule to made head.o


Hey everyone, compiling 2.4.31 on a new debian sarge install. Here's what happens:
Code:
$ export CC=/usr/bin/gcc-3.3
$ make -e deps
Works fine.
$ make -e bzImage modules
Goes fine until this:
Code:
gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end - input_data) input_data = .; *(.data) input_data_end = .; }}" > $tmppiggy.lnk; \
ld -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T $tmppiggy.lnk; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
make[2]: *** No rule to make target `arch/i386/kernel/head.o', needed by `bvmlinux'.  Stop.
make[2]: Leaving directory `/home/sean/kernel/linux-2.4.31/arch/i386/boot/compressed'
make[1]: *** [compressed/bvmlinux] Error 2
make[1]: Leaving directory `/home/sean/kernel/linux-2.4.31/arch/i386/boot'
make: *** [bzImage] Error 2
$
What should I do?
 
Old 10-03-2005, 09:10 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
I hope you have configured the kernel, here is what I did other day on my home computer:

Code:
make menuconfig
or
make oldconfig
make mrproper
make
make modules
make modules_install
make install
 
Old 10-03-2005, 09:54 PM   #3
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Original Poster
Rep: Reputation: 30
Yes, I make menuconfig'd to my specifications.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Compiling Linux Kernel - VFS error. Help. sceadu Red Hat 1 03-14-2005 08:42 AM
Error while compiling Linux 2.6.5-7 Kernel Kizio Linux - Software 4 12-13-2004 08:45 PM
error compiling the kernel linux-2.6.5 shams Mandriva 9 05-25-2004 09:44 PM
Error compiling kernel 2.6.4 Jair Slackware 5 03-16-2004 01:46 PM
Error compiling Module in Linux kernel iannou Linux - Software 1 06-27-2003 07:06 PM

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

All times are GMT -5. The time now is 10:45 AM.

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