Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198316 - [PATCH] x11-drivers/xf86-video-ati-6.7.195 compilation error
Summary: [PATCH] x11-drivers/xf86-video-ati-6.7.195 compilation error
Status: VERIFIED DUPLICATE of bug 195035
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 00:00 UTC by Kir Kolyshkin
Modified: 2007-11-07 00:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix for compilation (xf86-video-ati-6.7.195-fix-compilation.patch,1.70 KB, patch)
2007-11-07 00:01 UTC, Kir Kolyshkin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kir Kolyshkin 2007-11-07 00:00:24 UTC
While trying to compile latest xf86-video-ati drivers (6.7.195) I came across the following errors:

 atiprint.c: In function 'ATIPrintRegisters':
 atiprint.c:644: error: 'uint32_t' undeclared (first use in this function)

and 

 atiprobe.c: In function 'ATIMach64ProbeIO':
 atiprobe.c:385: error: 'uint32_t' undeclared (first use in this function)

This is easily fixable by adding #include <stdint.h> into appropriate files. I will attach the patch shortly.

Reproducible: Always

Steps to Reproduce:




glibc-2.6.1, gcc-4.1.2
Comment 1 Kir Kolyshkin 2007-11-07 00:01:19 UTC
Created attachment 135402 [details, diff]
fix for compilation
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-07 00:02:32 UTC

*** This bug has been marked as a duplicate of bug 195035 ***

*** This bug has been marked as a duplicate of bug 195035 ***
Comment 3 Kir Kolyshkin 2007-11-07 00:07:33 UTC
I just found the similar upstream patch you can use instead of mine:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commitdiff;h=547fef4c6382f8a4951c086ee531b804cba31075

... and the following upstream bug:
http://bugs.freedesktop.org/show_bug.cgi?id=12733

... and the Gentoo bug #195035 which makes mine a duplicate:
https://bugs.gentoo.org/show_bug.cgi?id=195035

Sorry for bothering you.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-07 00:09:25 UTC
Well, hopefully they'll just release a new version soon.