Bug 114558 - glide-v3-3.10-r4 fails to compile with gcc-3.4.4
|
Bug#:
114558
|
Product: Gentoo Linux
|
Version: 2005.1
|
Platform: x86
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: blocker
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: x11-drivers@gentoo.org
|
Reported By: chead@telus.net
|
|
Component: Library
|
|
|
URL:
|
|
Summary: glide-v3-3.10-r4 fails to compile with gcc-3.4.4
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-12-05 12:37 0000
|
Summary says it all. There's an error in glide3x/h3/minihwc/linhwc.c about
hwcBufferLfbAddr being redefined on line 611, original definition line 356. This
is because the function is declared implicitly by usage on line 356, where there
is no prototype in scope. The problem is fixed by placing a prototype for
hwcBufferLfbAddr() before the beginning of the function which contains line 356.
There is also an error in glide3x/h3/glide3/src/xdraw2.inc.S regarding the
GR_FIFO_WRITE macro being defined multiple times on line 815 because the file
appears to be included multiple times. This is eliminated by placing a guard
block around the macro definition.
I will attach a patch file which, when applied after the "-fixes" and
"-2.6-headers-fix" patches, fixes these problems and allows compilation to finish.
I confirm that the patch works.
Fixed, thanks! Could you please submit this upstream if it isn't already?
glide.sf.net is the place. It sounds like they'll be doing a new release pretty
soon -- hopefully the build process isn't impossible as the last one was.
*** Bug 118628 has been marked as a duplicate of this bug. ***
Submitted upstream as requested.