[Bug 12733] New: xf86-video-ati-6.7.195 fails with missing header

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 8 03:24:27 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12733

           Summary: xf86-video-ati-6.7.195 fails with missing header
           Product: xorg
           Version: 7.3
          Platform: PowerPC
               URL: https://bugs.gentoo.org/show_bug.cgi?id=195035
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: pylon at gentoo.org
         QAContact: xorg-team at lists.x.org


I'm testing xf86-video-ati-6.7.195 on Gentoo Linux/PowerPC.  During compile it
fails with:
 powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xorg
-I/usr/include/drm -I/usr/include/X11/dri -O2 -mtune=G4 -mcpu=G4 -maltivec
-mabi=altivec -pipe -Wall -MT atiprint.lo -MD -MP -MF .deps/atiprint.Tpo -c
atiprint.c  -fPIC -DPIC -o .libs/atiprint.o
atiprint.c: In function 'ATIPrintRegisters':
atiprint.c:644: error: 'uint32_t' undeclared (first use in this function)
atiprint.c:644: error: (Each undeclared identifier is reported only once
atiprint.c:644: error: for each function it appears in.)
atiprint.c:644: error: expected ';' before 'data'
atiprint.c:646: error: 'data' undeclared (first use in this function)
make[2]: *** [atiprint.lo] Error 1

The fix is quite simple:

diff -Naur xf86-video-ati-6.7.195.orig/src/atiprint.c
xf86-video-ati-6.7.195/src/atiprint.c
--- xf86-video-ati-6.7.195.orig/src/atiprint.c  2007-10-08 00:20:51.000000000
+0200
+++ xf86-video-ati-6.7.195/src/atiprint.c       2007-10-08 00:22:16.000000000
+0200
@@ -26,6 +26,7 @@

 #include <string.h>
 #include <ctype.h>
+#include <stdint.h>

 #include "ati.h"
 #include "atichip.h"

There is one other Gentoo user who confirmed this bug on x86 as well.  See the
bug-report in the URL-field.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-driver-ati mailing list