Problem recomplie kernel with grsecurity

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

Problem recomplie kernel with grsecurity

Postby cuongth1981 » Tue May 11, 2010 3:29 am

Hello everybody.
I have problem recompile kernel with grsecurity. I recomplie kernel linux-2.6.32.12 and grsecurity-2.1.14-2.6.32.12-201005012055.patch.

Code: Select all
[root@mail linux]# make oldconfig
 HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
In file included from scripts/kconfig/conf.c:17:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
  HOSTCC  scripts/kconfig/kxgettext.o
In file included from scripts/kconfig/kxgettext.c:11:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
scripts/kconfig/kxgettext.c: In function âmainâ:
scripts/kconfig/kxgettext.c:226: warning: unused parameter âacâ
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
scripts/kconfig/lxdialog/checklist.c: In function âdialog_checklistâ:
scripts/kconfig/lxdialog/checklist.c:177: warning: comparison between signed and                                                                              unsigned
scripts/kconfig/lxdialog/checklist.c:177: warning: signed and unsigned type in c                                                                             onditional expression
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
scripts/kconfig/lxdialog/textbox.c: In function âprint_lineâ:
scripts/kconfig/lxdialog/textbox.c:327: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/textbox.c:327: warning: signed and unsigned type in conditional expression
scripts/kconfig/lxdialog/textbox.c:330: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/textbox.c:330: warning: signed and unsigned type in conditional expression
  HOSTCC  scripts/kconfig/lxdialog/util.o
scripts/kconfig/lxdialog/util.c: In function âprint_titleâ:
scripts/kconfig/lxdialog/util.c:315: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/util.c:315: warning: signed and unsigned type in conditional expression
scripts/kconfig/lxdialog/util.c: In function âprint_autowrapâ:
scripts/kconfig/lxdialog/util.c:368: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/util.c: In function âfirst_alphaâ:
scripts/kconfig/lxdialog/util.c:480: warning: comparison between signed and unsigned
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
In file included from scripts/kconfig/mconf.c:22:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
scripts/kconfig/mconf.c: In function âset_config_filenameâ:
scripts/kconfig/mconf.c:310: warning: comparison between signed and unsigned
scripts/kconfig/mconf.c:315: warning: comparison between signed and unsigned
scripts/kconfig/mconf.c: In function âmainâ:
scripts/kconfig/mconf.c:800: warning: unused parameter âacâ
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:92:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
In file included from scripts/kconfig/zconf.tab.c:205:
scripts/kconfig/zconf.hash.c: In function âkconf_id_lookupâ:
scripts/kconfig/zconf.hash.c:180: warning: missing initializer
scripts/kconfig/zconf.hash.c:180: warning: (near initialization for âwordlist[0].tokenâ)
scripts/kconfig/zconf.hash.c:180: warning: missing initializer
scripts/kconfig/zconf.hash.c:180: warning: (near initialization for âwordlist[1].tokenâ)
scripts/kconfig/zconf.hash.c:181: warning: missing initializer
scripts/kconfig/zconf.hash.c:181: warning: (near initialization for âwordlist[2].stypeâ)
scripts/kconfig/zconf.hash.c:182: warning: missing initializer
scripts/kconfig/zconf.hash.c:182: warning: (near initialization for âwordlist[3].stypeâ)
scripts/kconfig/zconf.hash.c:183: warning: missing initializer
scripts/kconfig/zconf.hash.c:183: warning: (near initialization for âwordlist[4].tokenâ)
scripts/kconfig/zconf.hash.c:184: warning: missing initializer
scripts/kconfig/zconf.hash.c:184: warning: (near initialization for âwordlist[5].stypeâ)
scripts/kconfig/zconf.hash.c:185: warning: missing initializer
scripts/kconfig/zconf.hash.c:185: warning: (near initialization for âwordlist[6].stypeâ)
scripts/kconfig/zconf.hash.c:186: warning: missing initializer
scripts/kconfig/zconf.hash.c:186: warning: (near initialization for âwordlist[7].stypeâ)
scripts/kconfig/zconf.hash.c:187: warning: missing initializer
scripts/kconfig/zconf.hash.c:187: warning: (near initialization for âwordlist[8].stypeâ)
scripts/kconfig/zconf.hash.c:188: warning: missing initializer
scripts/kconfig/zconf.hash.c:188: warning: (near initialization for âwordlist[9].stypeâ)
scripts/kconfig/zconf.hash.c:189: warning: missing initializer
scripts/kconfig/zconf.hash.c:189: warning: (near initialization for âwordlist[10].stypeâ)
scripts/kconfig/zconf.hash.c:190: warning: missing initializer
scripts/kconfig/zconf.hash.c:190: warning: (near initialization for âwordlist[11].stypeâ)
scripts/kconfig/zconf.hash.c:193: warning: missing initializer
scripts/kconfig/zconf.hash.c:193: warning: (near initialization for âwordlist[14].stypeâ)
scripts/kconfig/zconf.hash.c:195: warning: missing initializer
scripts/kconfig/zconf.hash.c:195: warning: (near initialization for âwordlist[16].stypeâ)
scripts/kconfig/zconf.hash.c:198: warning: missing initializer
scripts/kconfig/zconf.hash.c:198: warning: (near initialization for âwordlist[19].stypeâ)
scripts/kconfig/zconf.hash.c:199: warning: missing initializer
scripts/kconfig/zconf.hash.c:199: warning: (near initialization for âwordlist[20].tokenâ)
scripts/kconfig/zconf.hash.c:201: warning: missing initializer
scripts/kconfig/zconf.hash.c:201: warning: (near initialization for âwordlist[22].stypeâ)
scripts/kconfig/zconf.hash.c:203: warning: missing initializer
scripts/kconfig/zconf.hash.c:203: warning: (near initialization for âwordlist[24].tokenâ)
scripts/kconfig/zconf.hash.c:203: warning: missing initializer
scripts/kconfig/zconf.hash.c:203: warning: (near initialization for âwordlist[25].tokenâ)
scripts/kconfig/zconf.hash.c:204: warning: missing initializer
scripts/kconfig/zconf.hash.c:204: warning: (near initialization for âwordlist[26].stypeâ)
scripts/kconfig/zconf.hash.c:205: warning: missing initializer
scripts/kconfig/zconf.hash.c:205: warning: (near initialization for âwordlist[27].stypeâ)
scripts/kconfig/zconf.hash.c:207: warning: missing initializer
scripts/kconfig/zconf.hash.c:207: warning: (near initialization for âwordlist[29].stypeâ)
scripts/kconfig/zconf.hash.c:208: warning: missing initializer
scripts/kconfig/zconf.hash.c:208: warning: (near initialization for âwordlist[30].tokenâ)
scripts/kconfig/zconf.hash.c:209: warning: missing initializer
scripts/kconfig/zconf.hash.c:209: warning: (near initialization for âwordlist[31].stypeâ)
scripts/kconfig/zconf.hash.c:210: warning: missing initializer
scripts/kconfig/zconf.hash.c:210: warning: (near initialization for âwordlist[32].stypeâ)
scripts/kconfig/zconf.hash.c:212: warning: missing initializer
scripts/kconfig/zconf.hash.c:212: warning: (near initialization for âwordlist[34].tokenâ)
scripts/kconfig/zconf.hash.c:213: warning: missing initializer
scripts/kconfig/zconf.hash.c:213: warning: (near initialization for âwordlist[35].stypeâ)
scripts/kconfig/zconf.hash.c:214: warning: missing initializer
scripts/kconfig/zconf.hash.c:214: warning: (near initialization for âwordlist[36].stypeâ)
scripts/kconfig/zconf.hash.c:215: warning: missing initializer
scripts/kconfig/zconf.hash.c:215: warning: (near initialization for âwordlist[37].stypeâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[38].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[39].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[40].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[41].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[42].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[43].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[44].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[45].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[46].tokenâ)
scripts/kconfig/zconf.hash.c:217: warning: missing initializer
scripts/kconfig/zconf.hash.c:217: warning: (near initialization for âwordlist[47].tokenâ)
scripts/kconfig/zconf.hash.c:218: warning: missing initializer
scripts/kconfig/zconf.hash.c:218: warning: (near initialization for âwordlist[48].stypeâ)
scripts/kconfig/zconf.tab.c: In function âzconferrorâ:
scripts/kconfig/zconf.tab.c:2309: warning: unused parameter âerrâ
In file included from scripts/kconfig/zconf.tab.c:2452:
scripts/kconfig/expr.c: In function âexpr_print_file_helperâ:
scripts/kconfig/expr.c:1088: warning: unused parameter âsymâ
In file included from scripts/kconfig/zconf.tab.c:2454:
scripts/kconfig/menu.c: In function âmenu_set_typeâ:
scripts/kconfig/menu.c:114: warning: comparison between signed and unsigned
scripts/kconfig/menu.c: In function âmenu_get_root_menuâ:
scripts/kconfig/menu.c:428: warning: unused parameter âmenuâ
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf arch/x86/Kconfig



Please help me to fix problem. Thanks so much.
cuongth1981
 
Posts: 3
Joined: Tue May 11, 2010 3:19 am

Re: Problem recomplie kernel with grsecurity

Postby PaX Team » Tue May 11, 2010 3:38 am

cuongth1981 wrote:I have problem recompile kernel with grsecurity. I recomplie kernel linux-2.6.32.12 and grsecurity-2.1.14-2.6.32.12-201005012055.patch.
what is the problem exactly?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem recomplie kernel with grsecurity

Postby cuongth1981 » Tue May 11, 2010 4:03 am

Hi PaX Team
Thanks for your reply.
First, i recompile kernel without grsecurity no warning message appears.

Code: Select all
[root@mail linux]# make clean
[root@mail linux]# make mrproper
[root@mail linux]# cp /boot/config-2.6.18-164.
config-2.6.18-164.15.1.el5  config-2.6.18-164.el5
[root@mail linux]# cp /boot/config-2.6.18-164.15.1.el5 .config
[root@mail linux]# make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf

*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) []
Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n
Kernel compression mode
> 1. Gzip (KERNEL_GZIP) (NEW)
  2. Bzip2 (KERNEL_BZIP2) (NEW)
  3. LZMA (KERNEL_LZMA) (NEW)
choice[1-3?]:


Second. i recompile kernel with grsecurity appears warning message
Code: Select all
[root@mail linux]#  patch -p1 < ../grsecurity-2.1.14-2.6.32.12-201005012055.patch
[root@mail linux]# make clean && make mrproper
[root@mail linux]# cp /boot/config-2.6.18-164.
config-2.6.18-164.15.1.el5  config-2.6.18-164.el5
[root@mail linux]# cp /boot/config-2.6.18-164.15.1.el5 .config
[root@mail linux]# make oldconfig
HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
In file included from scripts/kconfig/conf.c:17:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
  HOSTCC  scripts/kconfig/kxgettext.o
In file included from scripts/kconfig/kxgettext.c:11:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
scripts/kconfig/kxgettext.c: In function âmainâ:
scripts/kconfig/kxgettext.c:226: warning: unused parameter âacâ
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
scripts/kconfig/lxdialog/checklist.c: In function âdialog_checklistâ:
scripts/kconfig/lxdialog/checklist.c:177: warning: comparison between signed and                                                                              unsigned
scripts/kconfig/lxdialog/checklist.c:177: warning: signed and unsigned type in c                                                                             onditional expression
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
scripts/kconfig/lxdialog/textbox.c: In function âprint_lineâ:
scripts/kconfig/lxdialog/textbox.c:327: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/textbox.c:327: warning: signed and unsigned type in conditional expression
scripts/kconfig/lxdialog/textbox.c:330: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/textbox.c:330: warning: signed and unsigned type in conditional expression
  HOSTCC  scripts/kconfig/lxdialog/util.o
scripts/kconfig/lxdialog/util.c: In function âprint_titleâ:
scripts/kconfig/lxdialog/util.c:315: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/util.c:315: warning: signed and unsigned type in conditional expression
scripts/kconfig/lxdialog/util.c: In function âprint_autowrapâ:
scripts/kconfig/lxdialog/util.c:368: warning: comparison between signed and unsigned
scripts/kconfig/lxdialog/util.c: In function âfirst_alphaâ:
scripts/kconfig/lxdialog/util.c:480: warning: comparison between signed and unsigned
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
In file included from scripts/kconfig/mconf.c:22:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
scripts/kconfig/mconf.c: In function âset_config_filenameâ:
scripts/kconfig/mconf.c:310: warning: comparison between signed and unsigned
scripts/kconfig/mconf.c:315: warning: comparison between signed and unsigned
scripts/kconfig/mconf.c: In function âmainâ:
scripts/kconfig/mconf.c:800: warning: unused parameter âacâ
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:92:
scripts/kconfig/lkc.h: In function âsym_set_choice_valueâ:
scripts/kconfig/lkc.h:140: warning: unused parameter âchâ
In file included from scripts/kconfig/zconf.tab.c:205:
scripts/kconfig/zconf.hash.c: In function âkconf_id_lookupâ:
scripts/kconfig/zconf.hash.c:180: warning: missing initializer
scripts/kconfig/zconf.hash.c:180: warning: (near initialization for âwordlist[0].tokenâ)
scripts/kconfig/zconf.hash.c:180: warning: missing initializer
scripts/kconfig/zconf.hash.c:180: warning: (near initialization for âwordlist[1].tokenâ)
scripts/kconfig/zconf.hash.c:181: warning: missing initializer
scripts/kconfig/zconf.hash.c:181: warning: (near initialization for âwordlist[2].stypeâ)
scripts/kconfig/zconf.hash.c:182: warning: missing initializer
scripts/kconfig/zconf.hash.c:182: warning: (near initialization for âwordlist[3].stypeâ)
scripts/kconfig/zconf.hash.c:183: warning: missing initializer
scripts/kconfig/zconf.hash.c:183: warning: (near initialization for âwordlist[4].tokenâ)
scripts/kconfig/zconf.hash.c:184: warning: missing initializer
scripts/kconfig/zconf.hash.c:184: warning: (near initialization for âwordlist[5].stypeâ)
scripts/kconfig/zconf.hash.c:185: warning: missing initializer
scripts/kconfig/zconf.hash.c:185: warning: (near initialization for âwordlist[6].stypeâ)
scripts/kconfig/zconf.hash.c:186: warning: missing initializer
scripts/kconfig/zconf.hash.c:186: warning: (near initialization for âwordlist[7].stypeâ)
scripts/kconfig/zconf.hash.c:187: warning: missing initializer
scripts/kconfig/zconf.hash.c:187: warning: (near initialization for âwordlist[8].stypeâ)
scripts/kconfig/zconf.hash.c:188: warning: missing initializer
scripts/kconfig/zconf.hash.c:188: warning: (near initialization for âwordlist[9].stypeâ)
scripts/kconfig/zconf.hash.c:189: warning: missing initializer
scripts/kconfig/zconf.hash.c:189: warning: (near initialization for âwordlist[10].stypeâ)
scripts/kconfig/zconf.hash.c:190: warning: missing initializer
scripts/kconfig/zconf.hash.c:190: warning: (near initialization for âwordlist[11].stypeâ)
scripts/kconfig/zconf.hash.c:193: warning: missing initializer
scripts/kconfig/zconf.hash.c:193: warning: (near initialization for âwordlist[14].stypeâ)
scripts/kconfig/zconf.hash.c:195: warning: missing initializer
scripts/kconfig/zconf.hash.c:195: warning: (near initialization for âwordlist[16].stypeâ)
scripts/kconfig/zconf.hash.c:198: warning: missing initializer
scripts/kconfig/zconf.hash.c:198: warning: (near initialization for âwordlist[19].stypeâ)
scripts/kconfig/zconf.hash.c:199: warning: missing initializer
scripts/kconfig/zconf.hash.c:199: warning: (near initialization for âwordlist[20].tokenâ)
scripts/kconfig/zconf.hash.c:201: warning: missing initializer
scripts/kconfig/zconf.hash.c:201: warning: (near initialization for âwordlist[22].stypeâ)
scripts/kconfig/zconf.hash.c:203: warning: missing initializer
scripts/kconfig/zconf.hash.c:203: warning: (near initialization for âwordlist[24].tokenâ)
scripts/kconfig/zconf.hash.c:203: warning: missing initializer
scripts/kconfig/zconf.hash.c:203: warning: (near initialization for âwordlist[25].tokenâ)
scripts/kconfig/zconf.hash.c:204: warning: missing initializer
scripts/kconfig/zconf.hash.c:204: warning: (near initialization for âwordlist[26].stypeâ)
scripts/kconfig/zconf.hash.c:205: warning: missing initializer
scripts/kconfig/zconf.hash.c:205: warning: (near initialization for âwordlist[27].stypeâ)
scripts/kconfig/zconf.hash.c:207: warning: missing initializer
scripts/kconfig/zconf.hash.c:207: warning: (near initialization for âwordlist[29].stypeâ)
scripts/kconfig/zconf.hash.c:208: warning: missing initializer
scripts/kconfig/zconf.hash.c:208: warning: (near initialization for âwordlist[30].tokenâ)
scripts/kconfig/zconf.hash.c:209: warning: missing initializer
scripts/kconfig/zconf.hash.c:209: warning: (near initialization for âwordlist[31].stypeâ)
scripts/kconfig/zconf.hash.c:210: warning: missing initializer
scripts/kconfig/zconf.hash.c:210: warning: (near initialization for âwordlist[32].stypeâ)
scripts/kconfig/zconf.hash.c:212: warning: missing initializer
scripts/kconfig/zconf.hash.c:212: warning: (near initialization for âwordlist[34].tokenâ)
scripts/kconfig/zconf.hash.c:213: warning: missing initializer
scripts/kconfig/zconf.hash.c:213: warning: (near initialization for âwordlist[35].stypeâ)
scripts/kconfig/zconf.hash.c:214: warning: missing initializer
scripts/kconfig/zconf.hash.c:214: warning: (near initialization for âwordlist[36].stypeâ)
scripts/kconfig/zconf.hash.c:215: warning: missing initializer
scripts/kconfig/zconf.hash.c:215: warning: (near initialization for âwordlist[37].stypeâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[38].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[39].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[40].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[41].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[42].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[43].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[44].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[45].tokenâ)
scripts/kconfig/zconf.hash.c:216: warning: missing initializer
scripts/kconfig/zconf.hash.c:216: warning: (near initialization for âwordlist[46].tokenâ)
scripts/kconfig/zconf.hash.c:217: warning: missing initializer
scripts/kconfig/zconf.hash.c:217: warning: (near initialization for âwordlist[47].tokenâ)
scripts/kconfig/zconf.hash.c:218: warning: missing initializer
scripts/kconfig/zconf.hash.c:218: warning: (near initialization for âwordlist[48].stypeâ)
scripts/kconfig/zconf.tab.c: In function âzconferrorâ:
scripts/kconfig/zconf.tab.c:2309: warning: unused parameter âerrâ
In file included from scripts/kconfig/zconf.tab.c:2452:
scripts/kconfig/expr.c: In function âexpr_print_file_helperâ:
scripts/kconfig/expr.c:1088: warning: unused parameter âsymâ
In file included from scripts/kconfig/zconf.tab.c:2454:
scripts/kconfig/menu.c: In function âmenu_set_typeâ:
scripts/kconfig/menu.c:114: warning: comparison between signed and unsigned
scripts/kconfig/menu.c: In function âmenu_get_root_menuâ:
scripts/kconfig/menu.c:428: warning: unused parameter âmenuâ
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf arch/x86/Kconfig


So, I do not know what warnings have any impact when recompile kernel.
Thanks so much.
cuongth1981
 
Posts: 3
Joined: Tue May 11, 2010 3:19 am

Re: Problem recomplie kernel with grsecurity

Postby PaX Team » Tue May 11, 2010 5:49 am

cuongth1981 wrote:So, I do not know what warnings have any impact when recompile kernel.
those warnings are caused by PaX enabling extra gcc warning options and are 'normal' (well, as far as sloppy code can be called normal), they won't cause any problems otherwise (or at least i fixed up the worst offenders).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem recomplie kernel with grsecurity

Postby cuongth1981 » Tue May 11, 2010 7:24 am

Hi PaX Team,
Thanks for your kind support.
cuongth1981
 
Posts: 3
Joined: Tue May 11, 2010 3:19 am


Return to grsecurity support

cron