Re: Kernel Build Problem - Redhat 9.0 - 2.4.20-20.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, make clean does not delete the image, I just tried it.

Have not gotten far enough to make modules since I cant get past bzImage.

Thanks
----- Original Message ----- 
From: "shane c branch" <scbranch@xxxxxxxxxx>
To: <shrike-list@xxxxxxxxxx>
Sent: Sunday, September 07, 2003 5:01 PM
Subject: Re: Kernel Build Problem - Redhat 9.0 - 2.4.20-20.9


>
>
> Gary Gies wrote:
> > I installed 9.0 on a new machine.
> >
> > Then upgraded the kernel to 2.4.20-20.9 by installing the following rpms
(from RHN).
> >
> > kernel-2.4.20-20.9.i386.rpm
> > kernel-source-2.4.20-20.9.i386.rpm
> >
> > I then deleted the old kernel (cant remember which one) using rpm -e.
> >
> > Then rebooted off the new kernel. (I only have one kernel on my machine
now which is the 2.4.20-10.9 one).
> >
> > I have only one set of kernel source as well which is 2.4.20-10.9 as
well.
> >
> > I then wanted to practice building a new kernel so I decided to build
the kernel using the config that I found in /boot/config-2.4.20-20.9 which i
assumed (probably incorrectly) that this is the .config file which was used
to build the 2.4.20-20.9 kernel supplied by RHN.
> >
> > So I copied this file to /usr/src/linux-2.4.20-20.9/.config.
> >
> > Then did
> >
> > make clean
> > make dep
> > make bzImage
> >
> > And ... my build fails with the following
> >
> >
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-20.9/include -Wall -Wstrict-prototy
pes\
>
>  -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
-pipe\
> >  -mpreferred-stack-boundary=2 -march=i386   -nostdinc -iwithprefix
include -DKB\
> > UILD_BASENAME=io_apic  -c -o io_apic.o io_apic.c
> > io_apic.c:45: `dest_LowestPrio' undeclared here (not in a function)
> > io_apic.c: In function `__mask_IO_APIC_irq':
> > io_apic.c:140: warning: implicit declaration of function `io_apic_read'
> > io_apic.c:140: warning: implicit declaration of function
`io_apic_modify'
> > io_apic.c:140: warning: implicit declaration of function `io_apic_sync'
> > io_apic.c: In function `clear_IO_APIC_pin':
> > io_apic.c:169: storage size of `entry' isn't known
> > ...
> >
> > I am confused because I thought that the kernel I am currently running
would have been built using the sources in the kernel-source rpm that i
installed and thus a make bzImage (without any mods to the config) would
build a kernal that is identical.
> >
> > Perhaps I need to install patches to this kernel from somewhere?
> >
> > I did not change anything in the kernel .config file, since I am just
practicing kernel builds to prep for my next project that does involve a
custom kernel.
> >
> > Any help would be appreciated.
> >
> > Thanks
> >
> >
> >
> wouldn't you run make dep before make clean? also, what about modules?
> i do it this way, all on the same line:
> # make dep clean;make bzImage modules modules_install
> -- 
>
> regards,
>
> shane
>
>
> -- 
> Shrike-list mailing list
> Shrike-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/shrike-list
>


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux