grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invalid storage class for some functions in grub_ls_list_files


From: pjones
Subject: Re: invalid storage class for some functions in grub_ls_list_files
Date: Wed, 27 Apr 2005 07:59:48 -0400

On Tue, 2005-04-26 at 23:40 +0200, Thorsten Hirsch wrote:
> Hi,
> 
> I couldn't find much in the archive about that one, so here's a
> compilation error of grub2 (gcc (GCC) 4.0.0 (Gentoo Linux 4.0.0)):
> 
> gcc -Icommands -I./commands -I. -Iinclude -I./include -Wall -W
> -DGRUB_DATADIR=\"/opt/grub2/share/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1
> -c -o grub_emu-commands_ls.o commands/ls.c
> commands/ls.c: In function 'grub_ls_list_files':
> commands/ls.c:107: error: invalid storage class for function
> 'print_files'
> commands/ls.c:115: error: invalid storage class for function
> 'print_files_long'
> commands/ls.c: In function 'grub_cmd_ls':
> commands/ls.c:223: error: invalid storage class for function
> 'grub_ls_print_files'
> make: *** [grub_emu-commands_ls.o] Error 1

This means you've got nested functions declared "static".

-- 
        Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]