Bug 3049 - Radeon driver fails to build because of some definition fights with stdio.h
Summary: Radeon driver fails to build because of some definition fights with stdio.h
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) NetBSD
: high blocker
Assignee: Xorg Project Team
QA Contact:
URL: http://users.thundrix.ch/~tonnerre/ra...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 11:33 UTC by Tonnerre Lombard
Modified: 2005-06-07 00:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The failing area of the build log (16.07 KB, text/plain)
2005-04-16 11:35 UTC, Tonnerre Lombard
no flags Details
Dirty hack fixing it (339 bytes, patch)
2005-04-16 11:59 UTC, Tonnerre Lombard
no flags Details | Splinter Review

Description Tonnerre Lombard 2005-04-16 11:33:17 UTC
When enabling BuildXF86DRI on NetBSD, the Radeon driver doesn't get built
because of some conflicting declarations of two types (fpos_t and FILE) and
three functions (fscanf, fprintf and sscanf).
Comment 1 Tonnerre Lombard 2005-04-16 11:35:23 UTC
Created attachment 2437 [details]
The failing area of the build log
Comment 2 Tonnerre Lombard 2005-04-16 11:59:48 UTC
Created attachment 2438 [details] [review]
Dirty hack fixing it
Comment 3 Adam Jackson 2005-06-07 16:37:31 UTC
absolutely not.

what happens if you modify radeon_common.h to not include <inttypes.h> ?
Comment 4 Tonnerre Lombard 2005-06-07 17:11:01 UTC
Well, the bug has been fixed, it was a case of namespace pollution in NetBSD's libc.


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.