I'm trying to compile Grub 0.95 from source. After the configuration with ./configure I try make check and it returns the following errors:
builtins.c: In function ‘blocklist_func’:
builtins.c:145: error: invalid storage class for function ‘disk_read_blocklist_func’
builtins.c:145: warning: no previous prototype for ‘disk_read_blocklist_func’
builtins.c: In function ‘color_func’:
builtins.c:592: error: invalid storage class for function ‘color_number’
builtins.c:592: warning: no previous prototype for ‘color_number’
builtins.c: In function ‘install_func’:
builtins.c:1751: error: invalid storage class for function ‘disk_read_savesect_func’
builtins.c:1751: warning: no previous prototype for ‘disk_read_savesect_func’
builtins.c:1767: error: invalid storage class for function ‘disk_read_blocklist_func’
builtins.c:1767: warning: no previous prototype for ‘disk_read_blocklist_func’
builtins.c: In function ‘setkey_func’:
builtins.c:3499: error: invalid storage class for function ‘find_key_code’
etc.
Any idea?
builtins.c: In function ‘blocklist_func’:
builtins.c:145: error: invalid storage class for function ‘disk_read_blocklist_func’
builtins.c:145: warning: no previous prototype for ‘disk_read_blocklist_func’
builtins.c: In function ‘color_func’:
builtins.c:592: error: invalid storage class for function ‘color_number’
builtins.c:592: warning: no previous prototype for ‘color_number’
builtins.c: In function ‘install_func’:
builtins.c:1751: error: invalid storage class for function ‘disk_read_savesect_func’
builtins.c:1751: warning: no previous prototype for ‘disk_read_savesect_func’
builtins.c:1767: error: invalid storage class for function ‘disk_read_blocklist_func’
builtins.c:1767: warning: no previous prototype for ‘disk_read_blocklist_func’
builtins.c: In function ‘setkey_func’:
builtins.c:3499: error: invalid storage class for function ‘find_key_code’
etc.
Any idea?