Bug 8257

Summary: Via driver won't build. Then again, the Via driver has no maintainer marked either.....
Product: xorg Reporter: Jim Gettys <jg>
Component: Driver/ViaAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: highest CC: libv
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 6666    

Description Jim Gettys 2006-09-13 15:23:52 UTC
make[3]: Entering directory `/home/jg/git/xorg/driver/xf86-video-via/src'
source='via_accel.c' object='via_accel.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/sh ../depcomp \
        /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -
I..    -I/home/jg/xorg/include/xorg -I/home/jg/xorg/include
-I/home/jg/xorg/include/drm   -I/home/jg/xorg/include
-I/home/jg/xorg/include/drm -I/home/jg/xorg/include/X11/dri   -g -O2 -c -o
via_accel.lo via_accel.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/jg/xorg/include/xorg
-I/home/jg/xorg/include -I/home/jg/xorg/include/drm -I/home/jg/xorg/include
-I/home/jg/xorg/include/drm -I/home/jg/xorg/include/X11/dri -g -O2 -c
via_accel.c  -fPIC -DPIC -o .libs/via_accel.o
In file included from /usr/include/inttypes.h:28,
                 from /usr/local/include/GL/glext.h:3190,
                 from /usr/local/include/GL/gl.h:2149,
                 from /home/jg/xorg/include/GL/glxint.h:28,
                 from via_driver.h:64,
                 from via_accel.c:38:
/usr/include/stdint.h:52: error: conflicting types for 'CARD32'
/home/jg/xorg/include/X11/Xmd.h:152: error: previous declaration of 'CARD32' was
here
In file included from via_driver.h:65,
                 from via_accel.c:38:
via_dri.h:39: error: redefinition of typedef 'Bool'
/home/jg/xorg/include/X11/Xdefs.h:49: error: previous declaration of 'Bool' washere
via_accel.c: In function 'viaDumpDMA':
via_accel.c:53: warning: initialization from incompatible pointer type
via_accel.c:57: error: invalid operands to binary -
via_accel.c:58: error: invalid operands to binary -
via_accel.c: In function 'viaFlushPCI':
via_accel.c:68: warning: initialization from incompatible pointer type
via_accel.c: In function 'viaSetupCBuffer':
via_accel.c:181: warning: assignment from incompatible pointer type
make[3]: *** [via_accel.lo] Error 1
make[3]: Leaving directory `/home/jg/git/xorg/driver/xf86-video-via/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jg/git/xorg/driver/xf86-video-via/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jg/git/xorg/driver/xf86-video-via'
make: *** [all] Error 2
Comment 1 Arkadiusz Miskiewicz 2006-12-04 15:24:43 UTC
via 0.2.2 builds here without any problems on linux x86_64 so I guess it's 
already fixed or git is never
Comment 2 Daniel Stone 2006-12-16 09:43:24 UTC
seems to be fixed, apparently

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.