Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    32

    Compiling GRUB source

    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?

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    8
    Have you made sure to install all the required libs? Looks to me like some objects are missing thier declairations because one of your installed libs/headers is the wrong version, or the wrong lib for GRUB. I'd start by check versions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...