Bug 3049

Summary: Radeon driver fails to build because of some definition fights with stdio.h
Product: xorg Reporter: Tonnerre Lombard <tonnerre>
Component: Driver/RadeonAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: blocker    
Priority: high    
Version: 6.8.2   
Hardware: x86 (IA32)   
OS: NetBSD   
URL: http://users.thundrix.ch/~tonnerre/radeon-build.log
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
The failing area of the build log
none
Dirty hack fixing it none

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.