Re: [Cooker] Re: kernel-source bug in 9.2
Re-posting this sorry. Having email problems. On Fri, 31 Oct 2003 00:05, Juan Quintela wrote: > 22mdk compiles ok with gcc-2.96. > > It is still compiling on cluster (will be in mirrors at the end of > today). > > Only module that don't compiles in cx88*. You need to disable it. > > 23mdk/24mdk will have a --with gcc296 option that will do it > automagically. > > Later, Juan. > > PS. Yes, my memory is bad, if you don' tsee it working there, send me > report again :p Hi Juan Firstly, thanks very much for looking at this issue. Sorry its taken so long to get back to you. My email has been down for a week and I just go your email from 31/10/03! Still can't compile a kernel from source. I downloaded & installed kernel-source-2.4.22-24mdk.i586.rpm. (Note: Athlon 1 GHz CPU, 1024 MB SDRAM, Soltek SL-75KAV mobo) Using the .config file that I copied before doing make mrproper - with the following parameters (can't remember whether I changed any of the APIC, MTRR or MATH_EMULATION options so I include them here): # CONFIG_M586 is not set CONFIG_M686=y # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_HIGHMEM=y CONFIG_HIGHIO=y CONFIG_MATH_EMULATION=y CONFIG_MTRR=y # CONFIG_SMP is not set CONFIG_X86_UP_APIC=y CONFIG_X86_UP_IOAPIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y # CONFIG_X86_TSC_DISABLE is not set CONFIG_X86_TSC=y #CONFIG_CX2388X is not set I get the same error as follows: init.c:463: parse error before `_Bool' init.c:464: warning: function declaration isn't a prototype init.c: In function `one_highpage_init': init.c:465: `bad' undeclared (first use in this function) init.c:465: (Each undeclared identifier is reported only once init.c:465: for each function it appears in.) init.c:466: `pfn' undeclared (first use in this function) init.c:467: `page' undeclared (first use in this function) init.c:471: `bad_ppro' undeclared (first use in this function) init.c: In function `free_pages_init': init.c:529: `_Bool' undeclared (first use in this function) init.c:529: parse error before `bad' init.c:530: `bad' undeclared (first use in this function) make[2]: *** [init.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.22-24mdk/arch/i386/mm' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-24mdk/arch/i386/mm' make: *** [_dir_arch/i386/mm] Error 2 [root]linux# gcc --version 2.96 Any advice? TIA Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today
Re: [Cooker] Re: kernel-source bug in 9.2
On Fri, 31 Oct 2003 00:05, Juan Quintela wrote: > 22mdk compiles ok with gcc-2.96. > > It is still compiling on cluster (will be in mirrors at the end of > today). > > Only module that don't compiles in cx88*. You need to disable it. > > 23mdk/24mdk will have a --with gcc296 option that will do it > automagically. > > Later, Juan. > > PS. Yes, my memory is bad, if you don' tsee it working there, send me > report again :p Hi Juan Firstly, thanks very much for looking at this issue. Sorry its taken so long to get back to you. My email has been down for a week and I just go your email from 31/10/03! Still can't compile a kernel from source. I downloaded & installed kernel-source-2.4.22-24mdk.i586.rpm. (Note: Athlon 1 GHz CPU, 1024 MB SDRAM, Soltek SL-75KAV mobo) Using the .config file that I copied before doing make mrproper - with the following parameters (can't remember whether I changed any of the APIC, MTRR or MATH_EMULATION options so I include them here): # CONFIG_M586 is not set CONFIG_M686=y # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_HIGHMEM=y CONFIG_HIGHIO=y CONFIG_MATH_EMULATION=y CONFIG_MTRR=y # CONFIG_SMP is not set CONFIG_X86_UP_APIC=y CONFIG_X86_UP_IOAPIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y # CONFIG_X86_TSC_DISABLE is not set CONFIG_X86_TSC=y #CONFIG_CX2388X is not set I get the same error as follows: init.c:463: parse error before `_Bool' init.c:464: warning: function declaration isn't a prototype init.c: In function `one_highpage_init': init.c:465: `bad' undeclared (first use in this function) init.c:465: (Each undeclared identifier is reported only once init.c:465: for each function it appears in.) init.c:466: `pfn' undeclared (first use in this function) init.c:467: `page' undeclared (first use in this function) init.c:471: `bad_ppro' undeclared (first use in this function) init.c: In function `free_pages_init': init.c:529: `_Bool' undeclared (first use in this function) init.c:529: parse error before `bad' init.c:530: `bad' undeclared (first use in this function) make[2]: *** [init.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.22-24mdk/arch/i386/mm' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-24mdk/arch/i386/mm' make: *** [_dir_arch/i386/mm] Error 2 [root]linux# gcc --version 2.96 Any advice? TIA Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today
[Cooker] Re: kernel-source bug in 9.2
> "juan" == Juan Quintela <[EMAIL PROTECTED]> writes: > "sharrea" == Sharrea Day <[EMAIL PROTECTED]> writes: sharrea> Hi sharrea> Not sure if this is the right place to ask/report ?? Is this a bug? 22mdk compiles ok with gcc-2.96. It is still compiling on cluster (will be in mirrors at the end of today). Only module that don't compiles in cx88*. You need to disable it. 23mdk/24mdk will have a --with gcc296 option that will do it automagically. Later, Juan. PS. Yes, my memory is bad, if you don' tsee it working there, send me report again :p -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy
[Cooker] Re: kernel-source bug in 9.2
> "sharrea" == Sharrea Day <[EMAIL PROTECTED]> writes: sharrea> Hi sharrea> Not sure if this is the right place to ask/report ?? Is this a bug? sharrea> Trying to compile a kernel with gcc-2.96 using: sharrea> kernel-source-2.4.22-18mdk sharrea> config from current install of kernel-i686-up-4GB-2.4.22.18mdk-1-1mdk sharrea> Soltek SL-75KAV motherboard sharrea> AMD Athlon 1GHz sharrea> 1024 MB SDRAM sharrea> nVidia 64MB GTS Pro graphics sharrea> I get the following error: sharrea> make[1]: Entering directory `/usr/src/linux-2.4.22-18mdk/arch/i386/mm' sharrea> make all_targets sharrea> make[2]: Entering directory `/usr/src/linux-2.4.22-18mdk/arch/i386/mm' sharrea> gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-18mdk/include -Wstrict-prototypes sharrea> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe sharrea> -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include sharrea> -DKBUILD_BASENAME=init -c init.c -o init.o sharrea> init.c:463: parse error before `_Bool' sharrea> init.c:464: warning: function declaration isn't a prototype sharrea> init.c: In function `one_highpage_init': sharrea> init.c:465: `bad' undeclared (first use in this function) sharrea> init.c:465: (Each undeclared identifier is reported only once sharrea> init.c:465: for each function it appears in.) sharrea> init.c:466: `pfn' undeclared (first use in this function) sharrea> init.c:467: `page' undeclared (first use in this function) sharrea> init.c:471: `bad_ppro' undeclared (first use in this function) sharrea> init.c: In function `free_pages_init': sharrea> init.c:529: `_Bool' undeclared (first use in this function) sharrea> init.c:529: parse error before `bad' sharrea> init.c:530: `bad' undeclared (first use in this function) sharrea> make[2]: *** [init.o] Error 1 sharrea> make[2]: Leaving directory `/usr/src/linux-2.4.22-18mdk/arch/i386/mm' sharrea> make[1]: *** [first_rule] Error 2 sharrea> make[1]: Leaving directory `/usr/src/linux-2.4.22-18mdk/arch/i386/mm' sharrea> make: *** [_dir_arch/i386/mm] Error 2 sharrea> Do I need to report this as a bug to MandrakeSoft Bugzilla? sharrea> I need this kernel compiled with gcc-2.96 for my satellite internet sharrea> connection card driver. Tried the newbie list but nobody seems to know. g, BadRAM patch again. 22mdk should fix it. Sorry about it, I didn't test kernel with 2.96. later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy