please go https://openbios.org/roundup/linuxbios/issue41
to get the patch for that..
Also I have add inine attribute((__always_inline__)) to some must inline function to make it works gcc already....
We will apply the patch into the public tree soon....
YH
On 12/2/05, Ward Vandewege ward@gnu.org wrote:
Hi there,
We have a couple of Tyan S2881 boxes that we want to run linuxbios on.
I checked out the latest SVN repository (revision 2117), but get compile errors for the S2881 tree.
This is the case on Debian testing/unstable with GCC 3.4.5 20051015 (prerelease) (Debian 3.4.4-9) and GCC 4.0.2 (Debian 4.0.2-2), as well as on Ubuntu Breezy with GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9).
There are a lot more warnings when compiling with GCC 4, but it always dies on this:
LinuxBIOSv2/src/cpu/amd/car/disable_cache_as_ram.c: At top level: LinuxBIOSv2/src/cpu/amd/car/disable_cache_as_ram.c:3: error: syntax error before 'volatile'
Am I missing a dependency, or is this a bug?
Any help would be greatly appreciated.
Thanks, Ward.
-- Ward Vandewege ward@fsf.org Free Software Foundation - Senior System Administrator
-- LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios