[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: RHL 7.0 Kernel compile workaround
On Sat, 3 Mar 2001 09:46:17 +0530
"Vivek Singhal" <vvsinghal@xxxxxxxx> wrote:
> RHL 7.0 kernel 2.2.16 had troubles compiling coz of some bug in kgcc ( gcc
> in general ), but recently it compiled with a small work around. My previous
> posting on the list did not have the exact work around. well here it is .
> Errors would occur while compiling ksyms.c complaining of usage of an
> undeclared variable which has actually been declared in one of the included
> files ( bug lies here ). ksyms.c includes a huge number of headers one of
> them is kernel_stat.h which in turn includes irq.h , smp.h and tasks.h . A
> variable ( actually a macro ) declared in smp.h called smp_num_cpus was not
> visible in kernel_stat.h which had actually included it in the first place.
> When I removed the include gaurd of smp.h ..
> and the kernel compiled !! So we have some possible causes of this anomoly :
> a > bug in kgcc ( as reported by redhat )
> b > definition of __LINUX_SMP_H prior to smp.h
> c > some other bug
I complied the kernel yesterday to access NTFS file system from WIN2000.
I faced similar error msg.
What I did is as follows.
and other copy image and lilo stuff.
It worked fine for me. and I could get access to NTFS partition from WIN2000.