On 21 Feb 2001, John Summerfield wrote:

> > 
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of John Summerfield
> > > Sent: Monday, February 19, 2001 6:00 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Missing kernel-headers in latest 2.2.17 update?
> > >
> > > The correct kernel headers to have in place are those used to
> > > compile your glibc. You do not want other kernel headers. Ever.
> > > Not even if you run a 2.5 kernel on RHL 6.0.
> > >
> > > Additionally, you should not put the kernel source in
> > > /usr/src/linux because (prior to RHL 7.x) that stuffs up the
> > > kernel headers.
> > 
> > Umm... when you are compiling a kernel module, it DEFINITELY needs to be
> > compiled with the kernel headers
> > of the kernel it will run under.  Kernel modules have no knowledge of glibc
> > and are completely unaffected
> 
> but they should not be using anything from the kernel-headers package. They 
> want the headers from the source tree.
> 
> > by it.  RHL7 at least lets you have a separate /usr/src/linux so that, if
> > done right, products like
> > VMware can find the headers of the running kernel.....
> 
> I don't know about VMWare, but if it expects to find the headers for the 
> active kernel in /usr/include it's broken.
> 
> 
> -- 
> Cheers
> John Summerfield
> http://www2.ami.com.au/ for OS/2 & linux information.
> Configuration, networking, combined IBM ftpsites index.
> 
> Microsoft's most solid OS: http://www.geocities.com/rcwoolley/
> 
> Note: mail delivered to me is deemed to be intended for me, for my disposition.
> 
> 
> 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
> 
> 


Dear John,

Sorry I am not an expert in linux. All what you write sounds reasonable
and should be correct. But I do not understand why then I get error
messages when trying to compile kernel in the _freshly installed_ RH70?
Any suggestion would be appreciated.

Thanks,
Oleg

# rpm -qa | grep kernel
kernelcfg-0.6-9
kernel-BOOT-2.2.16-22
kernel-utils-2.2.16-22
kernel-2.2.16-22
kernel-ibcs-2.2.16-22
kernel-source-2.2.16-22
kernel-headers-2.4.0-0.26
kernel-pcmcia-cs-2.2.16-22

make config
make dep
make bzdisk 2> log
cat log

In file included from
/usr/src/linux-2.2.16/include/linux/modversions.h:49,
                 from /usr/src/linux-2.2.16/include/linux/module.h:19,
                 from ksyms.c:14:
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:6: warning:
`cpu_data' redefined
/usr/src/linux-2.2.16/include/asm/processor.h:96: warning: this is the
location of the previous definition
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:28: warning:
`smp_num_cpus' redefined
/usr/src/linux-2.2.16/include/linux/smp.h:77: warning: this is the
location of the previous definition
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:118: warning:
`smp_call_function' redefined
/usr/src/linux-2.2.16/include/linux/smp.h:83: warning: this is the
location of the previous definition
In file included from /usr/src/linux-2.2.16/include/linux/interrupt.h:51,
                 from ksyms.c:21:
/usr/src/linux-2.2.16/include/asm/hardirq.h:23: warning: `synchronize_irq'
redefined
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:138: warning:
this is the location of the previous definition
In file included from /usr/src/linux-2.2.16/include/linux/interrupt.h:52,
                 from ksyms.c:21:
/usr/src/linux-2.2.16/include/asm/softirq.h:75: warning: `synchronize_bh'
redefined
/usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:142: warning:
this is the location of the previous definition
/usr/src/linux-2.2.16/include/linux/kernel_stat.h: In function
`kstat_irqs':
In file included from ksyms.c:17:
/usr/src/linux-2.2.16/include/linux/kernel_stat.h:47: `smp_num_cpus'
undeclared (first use in this function)
/usr/src/linux-2.2.16/include/linux/kernel_stat.h:47: (Each undeclared
identifier is reported only once
/usr/src/linux-2.2.16/include/linux/kernel_stat.h:47: for each function it
appears in.)
make[2]: *** [ksyms.o] Error 1
make[1]: *** [first_rule] Error 2
make: *** [_dir_kernel] Error 2




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to