From: Luke <sec...@gm...> - 2007-02-12 15:10:50
|
Marcel Selhorst wrote: > > Hi Luke, > > >> >> I can't seem to build trusted-grub on an ubuntu system, using gcc-3.4 >> >> builtins.c:5566: error: invalid storage class for function �process_var� >> >> builtins.c:5566: warning: no previous prototype for �process_var� >> >> builtins.c:5626: error: invalid storage class for function �process_block� >> >> builtins.c:5626: warning: no previous prototype for �process_block� > > > > these error messages look exactly like mine, when I compile TrustedGRUB with gcc-4. > > Can you check again, whether you really are using gcc-3.4.? > > >> >> The build script seems to be broken in a number of places, so I'm just >> >> stepping through, and running the build commands individually. > > > > Can you describe what is broken on the build-script? Did you try to run it with the > > option "-v" for more verbosity? > > > > Enabling verbose output ./build_tgrub.sh: 157: [[: not found [: 158: ==: unexpected operator Wrong gcc-version, please use GCC 3.x exit: 158: Illegal number: -1 gcc --version: gcc (GCC) 3.4.6 (Ubuntu 3.4.6-3ubuntu1) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It looks like there's a problem with the brackets somewhere... I'll debug it later if I get the time. I was able to compile, however. |