Page 1 of 1

2.6.18 kernel and grsec 2.1.9-2.6.18-200610021833 problems

PostPosted: Tue Oct 17, 2006 4:30 pm
by buca
I get i lot of there errors : "warning: missing initializer".

Kernel 2.6.18 FC 5.

Any idea why i get these strange errors ?

In file included from init/main.c:42:
include/linux/cpuset.h:33: warning: ‘inline’ is not at beginning of declaration
arch/i386/mach-generic/bigsmp.c:37: warning: missing initializer
arch/i386/mach-generic/bigsmp.c:37: warning: (near initialization for ‘bigsmp_dmi_table[0].driver_data’)
arch/i386/mach-generic/bigsmp.c:42: warning: missing initializer
arch/i386/mach-generic/bigsmp.c:42: warning: (near initialization for ‘bigsmp_dmi_table[1].driver_data’)
arch/i386/mach-generic/bigsmp.c:43: warning: missing initializer
arch/i386/mach-generic/bigsmp.c:43: warning: (near initialization for ‘bigsmp_dmi_table[2].callback’)
arch/i386/mach-generic/../mach-es7000/es7000plat.c: In function ‘find_unisys_acpi_oem_table’:
arch/i386/mach-generic/../mach-es7000/es7000plat.c:167: warning: ‘sdt.count’ may be used uninitialized in this function
arch/i386/kernel/setup.c:85: warning: missing initializer
arch/i386/kernel/setup.c:85: warning: (near initialization for ‘new_cpu_data.x86_capability’)
arch/i386/kernel/setup.c:87: warning: missing initializer
arch/i386/kernel/setup.c:87: warning: (near initialization for ‘boot_cpu_data.x86_capability’)
CC arch/i386/kernel/i8259.o
arch/i386/kernel/i8259.c:368: warning: missing initializer
arch/i386/kernel/i8259.c:368: warning: (near initialization for ‘fpu_irq.irq’)
arch/i386/kernel/tsc.c:387: warning: missing initializer
arch/i386/kernel/tsc.c:387: warning: (near initialization for ‘bad_tsc_dmi_table[1].callback’)
CC arch/i386/kernel/acpi/boot.o
arch/i386/kernel/acpi/boot.c:1070: warning: missing initializer
arch/i386/kernel/acpi/boot.c:1070: warning: (near initialization for ‘acpi_dmi_table[16].callback’)
CC arch/i386/kernel/acpi/earlyquirk.o
CC arch/i386/kernel/acpi/sleep.o
arch/i386/kernel/acpi/sleep.c:97: warning: missing initializer
arch/i386/kernel/acpi/sleep.c:97: warning: (near initialization for ‘acpisleep_dmi_table[1].callback’)

Re: 2.6.18 kernel and grsec 2.1.9-2.6.18-200610021833 proble

PostPosted: Tue Oct 17, 2006 7:07 pm
by PaX Team
buca wrote:I get i lot of there errors : "warning: missing initializer".

Kernel 2.6.18 FC 5.

Any idea why i get these strange errors ?
http://forums.grsecurity.net./viewtopic.php?t=1586

PostPosted: Wed Oct 18, 2006 11:42 am
by buca
I do not have sparc64

PostPosted: Wed Oct 18, 2006 4:24 pm
by PaX Team
buca wrote:I do not have sparc64
no kidding ;-). but you probably have eyes and can read the part where i explain why i added -Wextra.

PostPosted: Wed Oct 18, 2006 4:35 pm
by buca
OK i just need to remove -Wextra and i will not see that notices and my kernel will work ok ?