[root@nayaka-lnx linux-2.6.32]# make install
sh /usr/src/linux-2.6.32/arch/x86/boot/install.sh 2.6.32 arch/x86/boot/bzImage
System.map "/boot"
/sbin/new-kernel-pkg: line 277: /sbin/mkinitrd: No such file or directory
mkinitrd failed
Not sure why "mkinitrd" binary wasn't there in /sbin. I suppose system binaries should be there in /sbin. Or do I need to install that binary explicitly? (which I doubt)
-Govindraj
On Sat, 05 Dec 2009 08:15:57 +0530 wrote
>On Sat, Dec 5, 2009 at 3:03 AM, govind raj nayak
>
> Hi,
>
> I got the following error while compiling 2.6.10 kernel: (I tried compiling 2.6.11 as well, but got the same error). I am using fedora 12 distribution...
> include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for
> field of type ‘unsigned char[6]’
> {standard input}: Assembler messages:
> {standard input}:7819: Error: can't resolve `.sched.text' {.sched.text
> section} - `.Ltext0' {.text section}
> make[1]: *** [arch/i386/kernel/semaphore.o] Error 1
Hm, sounds like some kind GNU assembler glitches. It could be due to
2.6.10 is quite old whereas Fedora 12 is a shiny new distro.
OK, things to check:
1. before you do compilation, have you done "make mrproper" or "make
clean" or "make distclean" to make sure there are no stale object file
from previous compilation(s)?
2. If you do compilation on rather new kernel, say 2.6.29.x on this
Fedora 12, do you get same error?
3. In fedora 12, do you see package that represents kinda older gcc?
IIRC once in older version of Fedora/Redhat, this is named as egcs or
something like that.... If there is one, install it and use it to
compile the kernel and see it works.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ