2.6.18 kernel and grsec 2.1.9-2.6.18-200610021833 problems

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

2.6.18 kernel and grsec 2.1.9-2.6.18-200610021833 problems

Postby buca » Tue Oct 17, 2006 4:30 pm

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’)
buca
 
Posts: 3
Joined: Tue Oct 17, 2006 6:46 am

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

Postby PaX Team » Tue Oct 17, 2006 7:07 pm

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
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Postby buca » Wed Oct 18, 2006 11:42 am

I do not have sparc64
buca
 
Posts: 3
Joined: Tue Oct 17, 2006 6:46 am

Postby PaX Team » Wed Oct 18, 2006 4:24 pm

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.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Postby buca » Wed Oct 18, 2006 4:35 pm

OK i just need to remove -Wextra and i will not see that notices and my kernel will work ok ?
buca
 
Posts: 3
Joined: Tue Oct 17, 2006 6:46 am


Return to grsecurity support

cron