=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for xf86-video-ati6-6.14.6nb7 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6' Making all in src gmake[2]: Entering directory '/data/scratch/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6/src' CC ati.lo CC radeon_video.lo CC radeon_bios.lo CC atimodule.lo CC radeon_xvmc.lo CC radeon_mm_i2c.lo CC legacy_crtc.lo CC radeon_cursor.lo CC radeon_accel.lo CC radeon_vip.lo CC radeon_textured_video.lo CC legacy_output.lo CC radeon_probe.lo CC radeon_misc.lo CC radeon_legacy_memory.lo CC radeon_driver.lo In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from radeon_video.c:11: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from radeon_xvmc.c:32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ In file included from legacy_crtc.c:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from :322:15:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h :44: error: In file included from use of undeclared identifier 'x'/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h :37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10 ((x & 0x00FF0000) >> 8) |: ^ warning: type specifier missing, defaults to 'int' [-Wimplicit-int] /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ bswap_64(uint64_t x) ^ /usr/include/sys/stdint.h:75:18: note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: :expanded from macro 'uint64_t'324: 15: error: #define uint64_t __uint64_tuse of undeclared identifier 'x' ^ ((x & 0x000000FF) << 24)); ^ In file included from legacy_crtc.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/stdint.h:55:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t In file included from ^legacy_crtc.c :In file included from 37radeon_xvmc.c:32: : In file included from In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h::4444: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: :In file included from 37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::137:: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :bswap_16(uint16_t x) ^ 300../config.h::1150::18: errornote: : expanded from macro 'bswap_16'expected ')' #define bswap_16 bswap16 ^ ../config.h/usr/include/sys/bswap.h::15672:19:: note: 18expanded from macro 'bswap16' : note: expanded from macro 'bswap_64' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ #define bswap_64 bswap64In file included from radeon_xvmc.c:32: ^ In file included from /usr/include/sys/bswap.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:64::44: In file included from 45/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:: 37: note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:: 1:expanded from macro 'bswap64' error: expected ')' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ../config.h: ^150: 18:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :note300:1: : expanded from macro 'bswap_16' note: #define bswap_16 bswap16to match this '(' ^ ../config.h/usr/include/sys/bswap.h::72156:18:45:: note: noteexpanded from macro 'bswap_64': expanded from macro 'bswap16'#define bswap_64 bswap64 ^ /usr/include/sys/bswap.h __CAST(uint16_t, __builtin_constant_p((x)) ? \: ^64 :2: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hnote: :363expanded from macro 'bswap64':1: note : to match this '(' ../config.h:150 __CAST(uint64_t, __builtin_constant_p((x)) ? \: 18 ^: note/usr/include/sys/cdefs.h: :expanded from macro 'bswap_16' 610:#define bswap_16 bswap16 35 ^ :/usr/include/sys/bswap.h :note: 72expanded from macro '__CAST':2: note: #define __CAST(__dt, __st) ((__dt)(__st))expanded from macro 'bswap16' ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_xvmc.cIn file included from :legacy_crtc.c32:: 37In file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.hIn file included from :44: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.hIn file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::3744: : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::36337: :1/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:: 300error: :redefinition of '__uint16_t' as different kind of symbol1 :bswap_16(uint16_t x) ^ ../config.herror:150: :18: note: redefinition of '__uint64_t' as different kind of symbolexpanded from macro 'bswap_16' bswap_64(uint64_t x) ^ #define bswap_16 bswap16 ../config.h ^: 156/usr/include/sys/bswap.h::7218:9:: note: note: expanded from macro 'bswap16' expanded from macro 'bswap_64' #define bswap_64 bswap64 __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ ^ /usr/include/sys/stdint.h/usr/include/sys/bswap.h::5564:18:: 9note:: expanded from macro 'uint16_t'note: expanded from macro 'bswap64' #define uint16_t __uint16_t ^ __CAST(uint64_t, __builtin_constant_p((x)) ? \ /usr/include/sys/common_int_types.h:48 ^: 27/usr/include/sys/stdint.h: note: :previous definition is here75 :18: notetypedef __UINT16_TYPE__ __uint16_t; : ^expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here In file included from radeon_xvmc.c:typedef __UINT64_TYPE__ __uint64_t; ^ 32: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from atimodule.c:27: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] In file included from legacy_crtc.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:bswap_64(uint64_t x)15: ^error : use of undeclared identifier 'x'/usr/include/sys/types.h :90:18 return (((x & 0xFF00000000000000ull) >> 56) |: ^ note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from atimodule.c:27: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h::107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h303::15300:: error: 1: warninguse of undeclared identifier 'x': type specifier missing, defaults to 'int' [-Wimplicit-int] ((x & 0x00FF000000000000ull) >> 40) | ^ bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^:304: 15/usr/include/sys/bswap.h:: error64:: use of undeclared identifier 'x'19 : note ((x & 0x0000FF0000000000ull) >> 24) | : ^expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from atimodule.c:27: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::305300::115:: error: erroruse of undeclared identifier 'x' : expected ')' ../config.h ((x & 0x000000FF00000000ull) >> 8) | :156 ^:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306: note: 15expanded from macro 'bswap64' : error: __CAST(uint64_t, __builtin_constant_p((x)) ? \use of undeclared identifier 'x' ^ ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::307 note: :15expanded from macro 'bswap_64' : error: #define bswap_64 bswap64 ^ use of undeclared identifier 'x' /usr/include/sys/bswap.h: ((x & 0x0000000000FF0000ull) << 24) | ^64 :In file included from 2radeon_accel.c::80: note: In file included from ./radeon.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:expanded from macro 'bswap64'46 : :In file included from 308:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h15 __CAST(uint64_t, __builtin_constant_p((x)) ? \: 37:: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: ^ 300:error10/usr/include/sys/cdefs.h: :: warninguse of undeclared identifier 'x'610: :type specifier missing, defaults to 'int' [-Wimplicit-int] ((x & 0x000000000000FF00ull) << 40) |35 : note : expanded from macro '__CAST' ^ #define __CAST(__dt, __st) ((__dt)(__st)) ^bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: :expanded from macro 'uint64_t'309 :#define uint64_t __uint64_t15 In file included from : ^ atimodule.cerror:27: use of undeclared identifier 'x': In file included from ./ati.h:28In file included from : In file included from ((x & 0x00000000000000FFull) << 56));/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h : ^radeon_accel.c 107: :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:80: 300/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::1In file included from :./radeon.h 319error: ::redefinition of '__uint64_t' as different kind of symbol 46: bswap_64(uint64_t x)In file included from 10 :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:^ 37../config.h:: warning156:18/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: :: 300type specifier missing, defaults to 'int' [-Wimplicit-int]:1: warningnote: : expanded from macro 'bswap_64'bswap_32(uint32_t x)type specifier missing, defaults to 'int' [-Wimplicit-int] ^ #define bswap_64 bswap64/usr/include/sys/stdint.h :bswap_64(uint64_t x) ^65 :^ /usr/include/sys/bswap.h18:../config.h64::9:: 156 :note18: expanded from macro 'bswap64'note: :expanded from macro 'uint32_t' note#define uint32_t __uint32_t: __CAST(uint64_t, __builtin_constant_p((x)) ? \expanded from macro 'bswap_64' ^ /usr/include/sys/types.h ^ :#define bswap_64 bswap6490 ^: In file included from 18legacy_crtc.c/usr/include/sys/bswap.h:: note:: 37: expanded from macro 'uint64_t'In file included from 64 :19: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h#define uint64_t __uint64_tnote:: expanded from macro 'bswap64'44 ^: In file included from /usr/include/sys/common_int_types.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: __CAST(uint64_t, __builtin_constant_p((x)) ? \:52 : ^37 : 27In file included from radeon_accel.c::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h80: note: In file included from :previous definition is here./radeon.h :46319typedef __UINT64_TYPE__ __uint64_t;: In file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: ^1 : warning: 37type specifier missing, defaults to 'int' [-Wimplicit-int]: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:bswap_32(uint32_t x)1: error: expected ')'^ ../config.h../config.h::153:18156: :18: notenote: expanded from macro 'bswap_64' : expanded from macro 'bswap_32' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:#define bswap_32 bswap3245 : note: expanded from macro 'bswap64' ^ /usr/include/sys/bswap.h:68:19 __CAST(uint64_t, __builtin_constant_p((x)) ? \: ^ note: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300expanded from macro 'bswap32':1 : note: to match this '(' ../config.h:156 __CAST(uint32_t, __builtin_constant_p((x)) ? \: 18 ^ : note: expanded from macro 'bswap_64'In file included from legacy_crtc.c:37#define bswap_64 bswap64: ^In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44/usr/include/sys/bswap.h:64:2: In file included from : note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:: expanded from macro 'bswap64' 37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: __CAST(uint64_t, __builtin_constant_p((x)) ? \ error ^: expected ')' ../config.h/usr/include/sys/cdefs.h:610::15335:18: : notenote: expanded from macro '__CAST' : expanded from macro 'bswap_32' #define __CAST(__dt, __st) ((__dt)(__st)) ^#define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hradeon_accel.c:80: :In file included from 319:1./radeon.h:: 46: In file included from note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:to match this '(' 300:../config.h1::153 :error18: redefinition of '__uint64_t' as different kind of symbol: note: expanded from macro 'bswap_32'bswap_64(uint64_t x) ^ ../config.h:156:18#define bswap_32 bswap32 : ^ note/usr/include/sys/bswap.h: :expanded from macro 'bswap_64'68 :2: #define bswap_64 bswap64 note ^ : /usr/include/sys/bswap.h:64:9: expanded from macro 'bswap32' note: expanded from macro 'bswap64' __CAST(uint32_t, __builtin_constant_p((x)) ? \ __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ ^/usr/include/sys/types.h:90 :/usr/include/sys/cdefs.h18:610: note: expanded from macro 'uint64_t' :35: #define uint64_t __uint64_t note ^ : expanded from macro '__CAST'/usr/include/sys/common_int_types.h :52:27: note: previous definition is here #define __CAST(__dt, __st) ((__dt)(__st)) In file included from atimodule.c:typedef __UINT64_TYPE__ __uint64_t; ^ ^ 27: In file included from ./ati.h:28: In file included from In file included from legacy_crtc.c/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:37:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:: In file included from 15/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h: error:44: : In file included from use of undeclared identifier 'x' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: return (((x & 0xFF00000000000000ull) >> 56) | error: ^redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:65:18: note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: expanded from macro 'uint32_t' :303:15: error#define uint32_t __uint32_t ^ : /usr/include/sys/common_int_types.huse of undeclared identifier 'x':50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15:In file included from legacy_crtc.c:37: error: In file included from use of undeclared identifier 'x' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ((x & 0x0000FF0000000000ull) >> 24) |:321:15 ^ : error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) |/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^ :322:15:In file included from radeon_accel.c:80: In file included from error./radeon.h:46: : In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: use of undeclared identifier 'x'/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :302:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: ((x & 0x0000FF00) << 8) |303:15: ^error: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x': 307:15: ((x & 0x00FF000000000000ull) >> 40) |error: use of undeclared identifier 'x' ^ ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ ((x & 0x000000FF) << 24));/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: ^error: use of undeclared identifier 'x' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ((x & 0x000000000000FF00ull) << 40) |: 305:15 ^ : error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: errorerror: use of undeclared identifier 'x' : use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h363::10: :307:warning15: : errortype specifier missing, defaults to 'int' [-Wimplicit-int]10: use of undeclared identifier 'x' : warningbswap_32(uint32_t x): ((x & 0x0000000000FF0000ull) << 24) |type specifier missing, defaults to 'int' [-Wimplicit-int] ^ ^/usr/include/sys/types.hbswap_16(uint16_t x): 80: ^18: note: /usr/include/sys/stdint.hexpanded from macro 'uint32_t': /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h55::#define uint32_t __uint32_t 308 ^:15: 18 error: use of undeclared identifier 'x' :In file included from atimodule.cnote: : ((x & 0x000000000000FF00ull) << 40) | 27 ^ : expanded from macro 'uint16_t'In file included from ./ati.h: 28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: #define uint16_t __uint16_t/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h : ^319:1 : warning: type specifier missing, defaults to 'int' [-Wimplicit-int] In file included from legacy_crtc.c/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::bswap_32(uint32_t x)309 :37^15: : error: use of undeclared identifier 'x' ../config.h:153: ((x & 0x00000000000000FFull) << 56)); ^ 18In file included from : note: expanded from macro 'bswap_32'/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h :44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: #define bswap_32 bswap32 /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: ^319: 10/usr/include/sys/bswap.h::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h68:: 19warning363: :: 1note:type specifier missing, defaults to 'int' [-Wimplicit-int] warning: bswap_32(uint32_t x): type specifier missing, defaults to 'int' [-Wimplicit-int]expanded from macro 'bswap32' ^ bswap_16(uint16_t x)/usr/include/sys/types.h:80: __CAST(uint32_t, __builtin_constant_p((x)) ? \18: note : ^ ^expanded from macro 'uint32_t' ../config.h :In file included from atimodule.c:27150#define uint32_t __uint32_t: : ^ 18In file included from :./ati.h:In file included from 28radeon_accel.cnote:: : 80In file included from expanded from macro 'bswap_16'/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h: :In file included from ./radeon.h107:#define bswap_16 bswap1646 : ^: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h/usr/include/sys/bswap.h::37:72: :319/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::3191::1:19 warning: :type specifier missing, defaults to 'int' [-Wimplicit-int] errorbswap_32(uint32_t x)note: expected ')'^ ../config.h../config.h::: 153153::18:18 note: expanded from macro 'bswap16': expanded from macro 'bswap_32' note: #define bswap_32 bswap32expanded from macro 'bswap_32' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h ^: 68:19In file included from : notelegacy_crtc.c/usr/include/sys/bswap.h:: expanded from macro 'bswap32'37: : In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:6844:: 45 __CAST(uint32_t, __builtin_constant_p((x)) ? \ In file included from ^ :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h :37: In file included from note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: expanded from macro 'bswap32' radeon_accel.c:: __CAST(uint32_t, __builtin_constant_p((x)) ? \80 363 ^: : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from 1./radeon.h:46: :: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:error37319: : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:expected ')'319 :1:: 1note: to match this '(': ../config.h../config.h: 150:error:: 18153expected ')' :18:: notenote: ../config.h:expanded from macro 'bswap_32' 153:: expanded from macro 'bswap_16'18: note#define bswap_32 bswap32 : ^expanded from macro 'bswap_32' #define bswap_16 bswap16 /usr/include/sys/bswap.h: 68 ^ #define bswap_32 bswap32/usr/include/sys/bswap.h : ^2 : /usr/include/sys/bswap.h::72note: 68::expanded from macro 'bswap32' 45: 45: note: __CAST(uint32_t, __builtin_constant_p((x)) ? \expanded from macro 'bswap32' note ^ : /usr/include/sys/cdefs.h:610 __CAST(uint32_t, __builtin_constant_p((x)) ? \:expanded from macro 'bswap16' ^ 35/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: __CAST(uint16_t, __builtin_constant_p((x)) ? \note:: expanded from macro '__CAST' 319 ^: 1/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h#define __CAST(__dt, __st) ((__dt)(__st)):: 363note:: ^ 1:to match this '(' note : to match this '('In file included from atimodule.c:../config.h../config.h27:: :153In file included from :18./ati.h:150::18 28note: In file included from : :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h :107expanded from macro 'bswap_32'note : : expanded from macro 'bswap_16'/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h#define bswap_32 bswap32 ^ #define bswap_16 bswap16:/usr/include/sys/bswap.h : ^68319::2 : 1/usr/include/sys/bswap.hnote:: : error72expanded from macro 'bswap32' : :2:redefinition of '__uint32_t' as different kind of symbol note: __CAST(uint32_t, __builtin_constant_p((x)) ? \bswap_32(uint32_t x) ^ expanded from macro 'bswap16' ../config.h : ^ 153/usr/include/sys/cdefs.h:: __CAST(uint16_t, __builtin_constant_p((x)) ? \18 ^610 :/usr/include/sys/cdefs.h ::note35: :expanded from macro 'bswap_32' 610: 35:note: #define bswap_32 bswap32 expanded from macro '__CAST' note: expanded from macro '__CAST' ^#define __CAST(__dt, __st) ((__dt)(__st)) /usr/include/sys/bswap.h#define __CAST(__dt, __st) ((__dt)(__st)) ^ : ^ 68:9: In file included from radeon_accel.c:80: In file included from ./radeon.h:note: In file included from 46expanded from macro 'bswap32'legacy_crtc.c :: In file included from 37/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: __CAST(uint32_t, __builtin_constant_p((x)) ? \: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h: ^ 4437: In file included from /usr/include/sys/types.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: ::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:80319:37:: 1/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h18::363: :note : expanded from macro 'uint32_t'1error:: error : redefinition of '__uint32_t' as different kind of symbol redefinition of '__uint16_t' as different kind of symbol#define uint32_t __uint32_t ^ bswap_32(uint32_t x)/usr/include/sys/common_int_types.h :50^ :../config.h27:153:bswap_16(uint16_t x): 18:note: ^previous definition is here ../config.hnote:typedef __UINT32_TYPE__ __uint32_t; ^: 150expanded from macro 'bswap_32' : 18: note#define bswap_32 bswap32 : ^ expanded from macro 'bswap_16'/usr/include/sys/bswap.h:68 :9: note: #define bswap_16 bswap16 expanded from macro 'bswap32' ^ /usr/include/sys/bswap.h:72: __CAST(uint32_t, __builtin_constant_p((x)) ? \ 9 ^ : note: /usr/include/sys/types.h:80:expanded from macro 'bswap16'18 :In file included from atimodule.cnote: __CAST(uint16_t, __builtin_constant_p((x)) ? \expanded from macro 'uint32_t':27 ^: In file included from ./ati.h :/usr/include/sys/stdint.h:#define uint32_t __uint32_t55 28:18:: In file included from ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.hnote:: expanded from macro 'uint16_t'/usr/include/sys/common_int_types.h 107: :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h50#define uint16_t __uint16_t: 27::321 ^ : 15/usr/include/sys/common_int_types.hnote: ::previous definition is here48 error:27:: noteuse of undeclared identifier 'x': previous definition is heretypedef __UINT32_TYPE__ __uint32_t; return (((x & 0xFF000000) >> 24) | ^ ^typedef __UINT16_TYPE__ __uint16_t; ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' In file included from radeon_accel.c:80: In file included from ./radeon.h:46 ((x & 0x00FF0000) >> 8) | : ^In file included from legacy_crtc.c:37In file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:In file included from 37/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:: 321In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::3715: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:: 365error: :use of undeclared identifier 'x' 15: error: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x': 323 return (((x & 0xFF000000) >> 24) | :15 ^: return (((x & 0xFF00) >> 8) | ^error : use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15:fatal error error: : use of undeclared identifier 'x'too many errors emitted, stopping now [-ferror-limit=] /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ((x & 0x00FF0000) >> 8) |: ^324 :15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from atimodule.c:27: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hbswap_16(uint16_t x): 363^: 10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]../config.h :150:bswap_16(uint16_t x)18 : ^ note: expanded from macro 'bswap_16'/usr/include/sys/types.h :70:18#define bswap_16 bswap16: ^ /usr/include/sys/bswap.h:72:note: expanded from macro 'uint16_t' 19: note: expanded from macro 'bswap16' #define uint16_t __uint16_t ^ In file included from __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^radeon_accel.c: 80: In file included from ./radeon.h:46: In file included from In file included from atimodule.c/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:27: :37In file included from ./ati.h:28: : In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h::107363:: 1/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::363 :warning1: :type specifier missing, defaults to 'int' [-Wimplicit-int] error: bswap_16(uint16_t x)expected ')' ^../config.h:150 :18: ../config.hnote:150:: 18expanded from macro 'bswap_16': note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ #define bswap_16 bswap16/usr/include/sys/bswap.h : ^ 72/usr/include/sys/bswap.h::45: note: 72:expanded from macro 'bswap16' 19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: __CAST(uint16_t, __builtin_constant_p((x)) ? \363: 1: ^ note: to match this '(' In file included from radeon_accel.c../config.h:80: In file included from ./radeon.h:46:150: :In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:18: 363note: :1expanded from macro 'bswap_16' : error: expected ')'#define bswap_16 bswap16 ^ ../config.h/usr/include/sys/bswap.h:72::150:2: 18:note note: expanded from macro 'bswap16': expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ /usr/include/sys/bswap.h:72:45: note ^ : /usr/include/sys/cdefs.h:expanded from macro 'bswap16' 610:35: note: expanded from macro '__CAST' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1#define __CAST(__dt, __st) ((__dt)(__st)) : ^ note: to match this '(' ../config.hIn file included from :150atimodule.c::18: note27: : In file included from expanded from macro 'bswap_16'./ati.h :28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:#define bswap_16 bswap16107 ^ : /usr/include/sys/bswap.h:72/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363::1: 2error: redefinition of '__uint16_t' as different kind of symbol: note: expanded from macro 'bswap16' bswap_16(uint16_t x) ^ ../config.h __CAST(uint16_t, __builtin_constant_p((x)) ? \ :150 ^:18 :/usr/include/sys/cdefs.h: 610:35: note: expanded from macro '__CAST' note: expanded from macro 'bswap_16' #define __CAST(__dt, __st) ((__dt)(__st)) ^#define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:In file included from 72:radeon_accel.c:9:80 : note: expanded from macro 'bswap16'In file included from ./radeon.h: 46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1 __CAST(uint16_t, __builtin_constant_p((x)) ? \ : error ^: redefinition of '__uint16_t' as different kind of symbol /usr/include/sys/types.h:70:bswap_16(uint16_t x)18 ^: note: expanded from macro 'uint16_t' ../config.h:150:18: #define uint16_t __uint16_t ^ note: /usr/include/sys/common_int_types.h:expanded from macro 'bswap_16'48:27 : note: previous definition is here #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72typedef __UINT16_TYPE__ __uint16_t; ^ :9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^In file included from atimodule.c:27: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ In file included from radeon_accel.c:80: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from radeon_probe.c:43: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/stdint.h:55:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:55:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from legacy_output.c:37: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: atimodule.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_xvmc.lo] Error 1 In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from radeon_vip.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from ati.c:65: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from ati.c:65: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from ati.c:65: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from ati.c:65: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol In file included from bswap_64(uint64_t x)radeon_misc.c: 27: ^In file included from ./radeon_probe.h:40../config.h: :In file included from 156:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: 18/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300::10: note warning: : expanded from macro 'bswap_64' type specifier missing, defaults to 'int' [-Wimplicit-int] #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: bswap_64(uint64_t x) note ^: expanded from macro 'bswap64' /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/stdint.h:#define uint64_t __uint64_t75 : ^18 : note: expanded from macro 'uint64_t' In file included from radeon_misc.c:27: #define uint64_t __uint64_tIn file included from ./radeon_probe.h ^ :40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /usr/include/sys/common_int_types.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:52::27300:: 1note: : warningprevious definition is here: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x)typedef __UINT64_TYPE__ __uint64_t; ^ ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_misc.c:27: In file included from ./radeon_probe.h:40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_bios.c:34/usr/include/sys/cdefs.h:: In file included from 610:35: note: expanded from macro '__CAST' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h#define __CAST(__dt, __st) ((__dt)(__st)):300:10 : ^ warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/stdint.h:75:18: noteIn file included from radeon_misc.c:: 27: expanded from macro 'uint64_t' In file included from ./radeon_probe.h:40In file included from : ati.c#define uint64_t __uint64_t In file included from ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::6537: : In file included from In file included from radeon_bios.c/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:./ati.h34:300:: 28:1In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:: :In file included from 44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.herror/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h: :redefinition of '__uint64_t' as different kind of symbol107 : :In file included from 37: bswap_64(uint64_t x)radeon_textured_video.c /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h^: 37:: ../config.h302:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from :./radeon.h:15:156300:46 error: :: 18In file included from ::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h 1note: use of undeclared identifier 'x'expanded from macro 'bswap_64' :: 37warning: : #define bswap_64 bswap64/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h return (((x & 0xFF00000000000000ull) >> 56) |type specifier missing, defaults to 'int' [-Wimplicit-int]:300: 10: ^ ^ bswap_64(uint64_t x) /usr/include/sys/bswap.hwarning:: 64 type specifier missing, defaults to 'int' [-Wimplicit-int]:^9: note: expanded from macro 'bswap64' ../config.h:156:18: note: expanded from macro 'bswap_64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ bswap_64(uint64_t x) ^#define bswap_64 bswap64 ^ /usr/include/sys/stdint.h ^ :75:/usr/include/sys/bswap.h:/usr/include/sys/types.h6418::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:: note303: :1990expanded from macro 'uint64_t': 1815:: #define uint64_t __uint64_t:error : use of undeclared identifier 'x' ^ note/usr/include/sys/common_int_types.h note:: : 52:expanded from macro 'bswap64'expanded from macro 'uint64_t' 27 ((x & 0x00FF000000000000ull) >> 40) | : ^ note: #define uint64_t __uint64_t __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^previous definition is here ^ typedef __UINT64_TYPE__ __uint64_t; ^In file included from radeon_bios.c: In file included from 34radeon_textured_video.c: In file included from :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:37: 44In file included from ./radeon.h: :46In file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.hIn file included from :37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h37: :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:300::151:: warning300:: errortype specifier missing, defaults to 'int' [-Wimplicit-int] 1: :use of undeclared identifier 'x' bswap_64(uint64_t x)error : ^ expected ')' ../config.h../config.h::156 ((x & 0x0000FF0000000000ull) >> 24) |: 18:156 ^:note : 18:expanded from macro 'bswap_64' note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ #define bswap_64 bswap64/usr/include/sys/bswap.h : ^ 64:45/usr/include/sys/bswap.h::64:19 : note: noteexpanded from macro 'bswap64' : expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ __CAST(uint64_t, __builtin_constant_p((x)) ? \ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^:In file included from 305radeon_textured_video.c:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h15:::300: 137: errorIn file included from : : use of undeclared identifier 'x'./radeon.hnote:: 46 to match this '(' : In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h../config.h:156:: ((x & 0x000000FF00000000ull) >> 8) | 18 ^:37 : note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: :300expanded from macro 'bswap_64' :1: error#define bswap_64 bswap64 : ^ expected ')'/usr/include/sys/bswap.h :64../config.h:2: note:: 156:18expanded from macro 'bswap64' : In file included from noteradeon_misc.c: expanded from macro 'bswap_64' __CAST(uint64_t, __builtin_constant_p((x)) ? \: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h27:#define bswap_64 bswap64306 : 15: ^ ^: /usr/include/sys/bswap.herror: 64In file included from :45./radeon_probe.h: /usr/include/sys/cdefs.huse of undeclared identifier 'x': note: :expanded from macro 'bswap64': 61040: :35In file included from : note __CAST(uint64_t, __builtin_constant_p((x)) ? \ ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: ^:expanded from macro '__CAST'37 : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::300302:1:#define __CAST(__dt, __st) ((__dt)(__st)) : ^note 15: : to match this '(' error: ../config.huse of undeclared identifier 'x': 156:18: note: return (((x & 0xFF00000000000000ull) >> 56) |expanded from macro 'bswap_64' In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^ #define bswap_64 bswap64:radeon_bios.c :34 ^307: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h::44: 15/usr/include/sys/bswap.hIn file included from :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h :error64: :use of undeclared identifier 'x'2: : note: expanded from macro 'bswap64' 37 ((x & 0x0000000000FF0000ull) << 24) | : ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :300: __CAST(uint64_t, __builtin_constant_p((x)) ? \1: ^ error/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: redefinition of '__uint64_t' as different kind of symbol :/usr/include/sys/cdefs.h303::610:3515bswap_64(uint64_t x): : ^error : use of undeclared identifier 'x'note : ../config.hexpanded from macro '__CAST' :156:18: note: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h#define __CAST(__dt, __st) ((__dt)(__st))expanded from macro 'bswap_64': ((x & 0x00FF000000000000ull) >> 40) | ^ ^308 : 15#define bswap_64 bswap64: error : ^use of undeclared identifier 'x' In file included from radeon_textured_video.c/usr/include/sys/bswap.h ::64:937: :In file included from ((x & 0x000000000000FF00ull) << 40) | ./radeon.hnote:: expanded from macro 'bswap64'46 : In file included from ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h37:: 304 __CAST(uint64_t, __builtin_constant_p((x)) ? \/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ::30015::1 : ^error error: /usr/include/sys/stdint.hredefinition of '__uint64_t' as different kind of symbol: 75: :use of undeclared identifier 'x'bswap_64(uint64_t x)18 : ^ note: expanded from macro 'uint64_t'../config.h :156: ((x & 0x0000FF0000000000ull) >> 24) |18 :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h#define uint64_t __uint64_t ^ : note309: ^ expanded from macro 'bswap_64':/usr/include/sys/common_int_types.h15: :52 :27error:#define bswap_64 bswap64 : note use of undeclared identifier 'x': previous definition is here ^ /usr/include/sys/bswap.h:64:9 ((x & 0x00000000000000FFull) << 56));typedef __UINT64_TYPE__ __uint64_t; : ^ note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^: : expanded from macro 'bswap64'305 :15: error: use of undeclared identifier 'x' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90 ((x & 0x000000FF00000000ull) >> 8) |:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h 18 ^ :319:: note: 10expanded from macro 'uint64_t': warning: type specifier missing, defaults to 'int' [-Wimplicit-int]#define uint64_t __uint64_t ^ bswap_32(uint32_t x)/usr/include/sys/common_int_types.h ^ :52:/usr/include/stdint.h:27: 65note: :previous definition is here18 : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hnote: :expanded from macro 'uint32_t'typedef __UINT64_TYPE__ __uint64_t; 306: 15 ^#define uint32_t __uint32_t : ^ error: use of undeclared identifier 'x' In file included from ati.c:65: In file included from ./ati.h:28: ((x & 0x00000000FF000000ull) << 8) |In file included from ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h :107: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/usr/include/sys/bswap.h::307:1568:19In file included from :: radeon_bios.c note:error: : 34expanded from macro 'bswap32'use of undeclared identifier 'x': In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37 ((x & 0x0000000000FF0000ull) << 24) |: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: ^302 __CAST(uint32_t, __builtin_constant_p((x)) ? \: ^ 15: error: use of undeclared identifier 'x'In file included from ati.c:65: In file included from ./ati.h:28: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107: return (((x & 0xFF00000000000000ull) >> 56) | ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319 :1: error: expected ')' ../config.h:153:18: note: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hexpanded from macro 'bswap_32' :308:15:#define bswap_32 bswap32 error: ^In file included from use of undeclared identifier 'x' radeon_textured_video.c /usr/include/sys/bswap.h::3768:45: : ((x & 0x000000000000FF00ull) << 40) |In file included from ^./radeon.h /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hnote::30346: : :In file included from 15/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:expanded from macro 'bswap32' :error37: : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x' :302 __CAST(uint32_t, __builtin_constant_p((x)) ? \ :15 ^: error/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: :use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) |319 : ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :3091:: 15 return (((x & 0xFF00000000000000ull) >> 56) |note: :to match this '(' error ^ : ../config.huse of undeclared identifier 'x' :153:18: note: expanded from macro 'bswap_32' ((x & 0x00000000000000FFull) << 56)); ^ #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h2:304: note: :expanded from macro 'bswap32'15 : error: use of undeclared identifier 'x' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h __CAST(uint32_t, __builtin_constant_p((x)) ? \: 303 ((x & 0x0000FF0000000000ull) >> 24) |/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:15: : ^319 ^ error: /usr/include/sys/cdefs.huse of undeclared identifier 'x':: 10: 610warning: :35type specifier missing, defaults to 'int' [-Wimplicit-int] : ((x & 0x00FF000000000000ull) >> 40) | note : bswap_32(uint32_t x)expanded from macro '__CAST' ^ ^ /usr/include/sys/stdint.h:65:18:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :305:note15: #define __CAST(__dt, __st) ((__dt)(__st)):expanded from macro 'uint32_t' error: ^use of undeclared identifier 'x'#define uint32_t __uint32_t ^ In file included from ((x & 0x000000FF00000000ull) >> 8) |radeon_misc.cIn file included from : ati.c27 ^: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:In file included from :./radeon_probe.h304::4015: :65 : errorIn file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:use of undeclared identifier 'x'In file included from 37./ati.h: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::31928: ((x & 0x0000FF0000000000ull) >> 24) |: 1 ^:In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h107warning:: type specifier missing, defaults to 'int' [-Wimplicit-int]306 :15: bswap_32(uint32_t x):/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^ error:: 319use of undeclared identifier 'x'../config.h: 1: :error153:: 18 ((x & 0x00000000FF000000ull) << 8) |:redefinition of '__uint32_t' as different kind of symbol /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h note: : 305expanded from macro 'bswap_32' ^: 15: error: bswap_32(uint32_t x)use of undeclared identifier 'x' #define bswap_32 bswap32^ ^ ../config.h ((x & 0x000000FF00000000ull) >> 8) |: 153 ^:/usr/include/sys/bswap.h18::68 :19 : notenote: : expanded from macro 'bswap32'expanded from macro 'bswap_32' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:#define bswap_32 bswap3215 __CAST(uint32_t, __builtin_constant_p((x)) ? \ : In file included from ^error : use of undeclared identifier 'x' ^/usr/include/sys/bswap.h radeon_cursor.c ::6854/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from ((x & 0x0000000000FF0000ull) << 24) |:: 306:: ^15: error 9radeon_misc.c: :In file included from 27:use of undeclared identifier 'x': noteIn file included from : ./radeon_probe.hexpanded from macro 'bswap32'./radeon.h:40: ((x & 0x00000000FF000000ull) << 8) |: In file included from 46 ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: In file included from __CAST(uint32_t, __builtin_constant_p((x)) ? \/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: : ^3737 : /usr/include/stdint.h: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h300::319308:10::::11565: :error : warning/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x' ::error18307: : :type specifier missing, defaults to 'int' [-Wimplicit-int] ((x & 0x000000000000FF00ull) << 40) |:15 note ^ : : errorexpanded from macro 'uint32_t'expected ')': use of undeclared identifier 'x' bswap_64(uint64_t x) ^ ../config.h :153:18: ((x & 0x0000000000FF0000ull) << 24) |note : #define uint32_t __uint32_t/usr/include/sys/types.h ^ :expanded from macro 'bswap_32'90 : ^ #define bswap_32 bswap3218/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h : ^note : :expanded from macro 'uint64_t'/usr/include/sys/bswap.h 309/usr/include/sys/common_int_types.h:::1550:#define uint64_t __uint64_t error: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x': 27 ::30868:45 ^ :note: : ((x & 0x00000000000000FFull) << 56)); previous definition is here15note: : In file included from expanded from macro 'bswap32' error: use of undeclared identifier 'x'typedef __UINT32_TYPE__ __uint32_t;radeon_cursor.c: 54 ^ : In file included from ./radeon.h ^: ((x & 0x000000000000FF00ull) << 40) |46 : In file included from __CAST(uint32_t, __builtin_constant_p((x)) ? \/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h ^ : 37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^:300: 1/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:: 319/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:warning1: :type specifier missing, defaults to 'int' [-Wimplicit-int]: 319note: bswap_64(uint64_t x)to match this '(' : ../config.h10/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::^153309: 18:In file included from :ati.c15::../config.h ::156 error: warninguse of undeclared identifier 'x' 65note:: 18: :In file included from ((x & 0x00000000000000FFull) << 56));: expanded from macro 'bswap_32' ^ notetype specifier missing, defaults to 'int' [-Wimplicit-int]: ./ati.h#define bswap_32 bswap32: expanded from macro 'bswap_64'28 : In file included from #define bswap_64 bswap64 /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h ^: ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h107: bswap_32(uint32_t x)/usr/include/sys/bswap.h :/usr/include/sys/bswap.h ^:319 : 64/usr/include/sys/stdint.h::681910/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: warning::: :type specifier missing, defaults to 'int' [-Wimplicit-int]65321::18 15::: 2 error:note: note: bswap_32(uint32_t x): ^expanded from macro 'uint32_t' use of undeclared identifier 'x'note /usr/include/sys/types.h: : 80expanded from macro 'bswap32'expanded from macro 'bswap64': return (((x & 0xFF000000) >> 24) | 18 : ^note: __CAST(uint64_t, __builtin_constant_p((x)) ? \ #define uint32_t __uint32_texpanded from macro 'uint32_t' ^ ^ __CAST(uint32_t, __builtin_constant_p((x)) ? \ #define uint32_t __uint32_t In file included from ^In file included from ^ radeon_bios.c/usr/include/sys/cdefs.hradeon_cursor.c:In file included from :radeon_textured_video.c54:34: : :In file included from 37: 610In file included from ./radeon.h:46/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h: :In file included from In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h44/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:: :In file included from 37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h322::35/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h37::: 319:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h./radeon.h ::note115: :: :error46expanded from macro '__CAST' : 319In file included from :warning: #define __CAST(__dt, __st) ((__dt)(__st))/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h use of undeclared identifier 'x' ^ 1: :: type specifier missing, defaults to 'int' [-Wimplicit-int] ((x & 0x00FF0000) >> 8) | 37warning: : bswap_32(uint32_t x)type specifier missing, defaults to 'int' [-Wimplicit-int] /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from ^radeon_misc.c: :27^ : 300:1../config.hbswap_32(uint32_t x):In file included from 153 ::18 ./radeon_probe.h:^ :errornote40../config.h: : expanded from macro 'bswap_32':expected ')' : In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h../config.h:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h323153:#define bswap_32 bswap32 :: ^18::156 37/usr/include/sys/bswap.h : note: 15::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hexpanded from macro 'bswap_32':18: 68319:#define bswap_32 bswap32: 19error: ^ : :note: 1noteuse of undeclared identifier 'x'expanded from macro 'bswap_64':: /usr/include/sys/bswap.h expanded from macro 'bswap32' :error 68: ((x & 0x0000FF00) << 8) | __CAST(uint32_t, __builtin_constant_p((x)) ? \: ^ ^redefinition of '__uint32_t' as different kind of symbol 19#define bswap_64 bswap64: In file included from noteradeon_textured_video.c: : ^37expanded from macro 'bswap32': In file included from bswap_32(uint32_t x)./radeon.h/usr/include/sys/bswap.h : ^ :46: In file included from ../config.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h64: __CAST(uint32_t, __builtin_constant_p((x)) ? \37 ^: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1::In file included from :45153/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hradeon_bios.c ::::32434error: :In file included from 18/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:15: : 44expected ')' note:: note: : In file included from expanded from macro 'bswap_32'/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h ../config.herrorexpanded from macro 'bswap64': #define bswap_32 bswap32: use of undeclared identifier 'x' ^37 :/usr/include/sys/bswap.h: :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h __CAST(uint64_t, __builtin_constant_p((x)) ? \:15368 :3199:1 ^::: 18 /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.herror: ((x & 0x000000FF) << 24));:note ^:expected ')' : 300 note:: expanded from macro 'bswap_32'1expanded from macro 'bswap32' :../config.h note#define bswap_32 bswap32 : ^153 :18: __CAST(uint32_t, __builtin_constant_p((x)) ? \to match this '('/usr/include/sys/bswap.h: 68:../config.h :15645:: ^ :/usr/include/sys/stdint.h18 :notenote: : expanded from macro 'bswap32'note : expanded from macro 'bswap_64':expanded from macro 'bswap_32'65 : __CAST(uint32_t, __builtin_constant_p((x)) ? \18#define bswap_64 bswap64 : ^ #define bswap_32 bswap32/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hnote: expanded from macro 'uint32_t' :319 ^ ^ : 1/usr/include/sys/bswap.h/usr/include/sys/bswap.h:64#define uint32_t __uint32_t: :note ^ : /usr/include/sys/common_int_types.hto match this '(': :250:../config.h68:153:: note45/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h18:: ::: 363:notenote27: expanded from macro 'bswap64': expanded from macro 'bswap32'note: 10 : :expanded from macro 'bswap_32' previous definition is herewarning #define bswap_32 bswap32 __CAST(uint32_t, __builtin_constant_p((x)) ? \: typedef __UINT32_TYPE__ __uint32_t; __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ ^ type specifier missing, defaults to 'int' [-Wimplicit-int]/usr/include/sys/bswap.h: ^ ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :319 :68/usr/include/sys/cdefs.hbswap_16(uint16_t x)::61021 : :: ^35note : : note/usr/include/stdint.h: :expanded from macro 'bswap32'55expanded from macro '__CAST' : 18:note : to match this '(' note: ../config.hexpanded from macro 'uint16_t' #define __CAST(__dt, __st) ((__dt)(__st)) __CAST(uint32_t, __builtin_constant_p((x)) ? \#define uint16_t __uint16_t: 153 ^ ^ ^ In file included from /usr/include/sys/cdefs.hIn file included from radeon_misc.cati.c:::65:1827:610: :35: In file included from In file included from : In file included from note./ati.h:: 28./radeon_probe.hexpanded from macro 'bswap_32': : radeon_cursor.cnoteIn file included from :4054: #define bswap_32 bswap32: In file included from In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h:107 expanded from macro '__CAST': ^: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h37./radeon.h:363: :1#define __CAST(__dt, __st) ((__dt)(__st))/usr/include/sys/bswap.h: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^:46 : :321:In file included from 68warningIn file included from : radeon_textured_video.ctype specifier missing, defaults to 'int' [-Wimplicit-int]: :37:2: bswap_16(uint16_t x):/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h15 In file included from :37: ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h./radeon.h::note: 46: 300expanded from macro 'bswap32': ../config.h:In file included from 1error/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:: 150 __CAST(uint32_t, __builtin_constant_p((x)) ? \::18 use of undeclared identifier 'x': ^: 37 /usr/include/sys/cdefs.herror :: 610note:: return (((x & 0xFF000000) >> 24) |/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: 35:expanded from macro 'bswap_16'redefinition of '__uint64_t' as different kind of symbol ^319 :#define bswap_16 bswap16 1 ::bswap_64(uint64_t x) error^note : ^expanded from macro '__CAST' : /usr/include/sys/bswap.hredefinition of '__uint32_t' as different kind of symbol../config.h : 156:72:bswap_32(uint32_t x)18:#define __CAST(__dt, __st) ((__dt)(__st)) 19 : ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h^ : 322../config.hnote:In file included from : :radeon_bios.c153 ::18note:: 34expanded from macro 'bswap_64': 15expanded from macro 'bswap16' : noteIn file included from :: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h __CAST(uint16_t, __builtin_constant_p((x)) ? \#define bswap_64 bswap64 : 44expanded from macro 'bswap_32' ^: error : use of undeclared identifier 'x' ^ In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h/usr/include/sys/bswap.h: ((x & 0x00FF0000) >> 8) |In file included from 37:: 64:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hati.c : ^9: #define bswap_32 bswap3265 : In file included from : 319./ati.h::1 ^: note28: /usr/include/sys/bswap.hexpanded from macro 'bswap64' :error: 68In file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.hredefinition of '__uint32_t' as different kind of symbol:107:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: __CAST(uint64_t, __builtin_constant_p((x)) ? \9 : 323/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hbswap_32(uint32_t x):15 : ^: :error^ 363 :note../config.h: /usr/include/sys/types.h: expanded from macro 'bswap32'use of undeclared identifier 'x'1 ::: 90 ((x & 0x0000FF00) << 8) |error153: __CAST(uint32_t, __builtin_constant_p((x)) ? \ : ^ ^ :/usr/include/sys/types.h1818:: :expected ')'note80: note: : expanded from macro 'bswap_32'../config.hexpanded from macro 'uint64_t' :18150#define bswap_32 bswap32:#define uint64_t __uint64_t : 18 ^: notenote/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: ^: 324: expanded from macro 'uint32_t'/usr/include/sys/common_int_types.hexpanded from macro 'bswap_16' ::15/usr/include/sys/bswap.h #define uint32_t __uint32_t:: 52error#define bswap_16 bswap1668 ::927: :use of undeclared identifier 'x' ^ ^ note:: /usr/include/sys/common_int_types.h previous definition is herenote : /usr/include/sys/bswap.h:expanded from macro 'bswap32': ((x & 0x000000FF) << 24)); 72 ^typedef __UINT64_TYPE__ __uint64_t;: ^5045 __CAST(uint32_t, __builtin_constant_p((x)) ? \:: 27note :: ^expanded from macro 'bswap16' note: /usr/include/sys/stdint.hprevious definition is here :65:18: note: __CAST(uint16_t, __builtin_constant_p((x)) ? \expanded from macro 'uint32_t' ^ typedef __UINT32_TYPE__ __uint32_t;/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363: 1 ^: note: #define uint32_t __uint32_tto match this '(' ../config.h: ^ 150:/usr/include/sys/common_int_types.h:50:1827: note: : expanded from macro 'bswap_16'note : previous definition is here #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:typedef __UINT32_TYPE__ __uint32_t;72:2: note : ^ expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from :ati.c363:In file included from :10radeon_textured_video.c:65: : 37In file included from ./ati.hwarning: :28: : In file included from type specifier missing, defaults to 'int' [-Wimplicit-int]./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:In file included from 37: bswap_16(uint16_t x) ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h :107/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/usr/include/sys/stdint.h: ::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h55:32118:: 363note: :expanded from macro 'uint16_t'1: In file included from :15error: #define uint16_t __uint16_tredefinition of '__uint16_t' as different kind of symbol :radeon_bios.c bswap_16(uint16_t x) error^ ^: :../config.h:150 :34: 18In file included from :In file included from radeon_misc.cuse of undeclared identifier 'x'note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:27: : :In file included from 44expanded from macro 'bswap_16' ./radeon_probe.h: In file included from : return (((x & 0xFF000000) >> 24) |In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h40radeon_cursor.c #define bswap_16 bswap16 ^:: 54In file included from : : ^In file included from 37 ./radeon.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: ::/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/usr/include/sys/bswap.h37::: 321/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h46:: 363:15: 72error: :use of undeclared identifier 'x'9In file included from :1 /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:: :warning37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hnote: :: return (((x & 0xFF000000) >> 24) |302 :type specifier missing, defaults to 'int' [-Wimplicit-int] ^expanded from macro 'bswap16' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h :32215:bswap_16(uint16_t x): __CAST(uint16_t, __builtin_constant_p((x)) ? \15:error error: ^^use of undeclared identifier 'x': use of undeclared identifier 'x' /usr/include/stdint.h../config.h: ((x & 0x00FF0000) >> 8) |:150 55: ^18: return (((x & 0xFF00000000000000ull) >> 56) |18 :: ^note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hnote : : :expanded from macro 'uint16_t' 322:expanded from macro 'bswap_16' 15#define uint16_t __uint16_t : ^#define bswap_16 bswap16error : ^ use of undeclared identifier 'x' /usr/include/sys/common_int_types.h: 48:27: ((x & 0x00FF0000) >> 8) |note /usr/include/sys/bswap.h ^: previous definition is here: 72:19: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.htypedef __UINT16_TYPE__ __uint16_t; note ^/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: :303: :15: errorexpanded from macro 'bswap16'323: use of undeclared identifier 'x': 15: error: use of undeclared identifier 'x' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ ((x & 0x00FF000000000000ull) >> 40) | ^ ((x & 0x0000FF00) << 8) | In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hradeon_misc.c ^: 323:27:15: : errorIn file included from ./radeon_probe.h: :use of undeclared identifier 'x'40: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1 ((x & 0x0000FF00) << 8) | : ^ error: expected ')' ../config.h:In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h150::ati.c:3041865:: 15:: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from ./ati.herror:note: :: use of undeclared identifier 'x' expanded from macro 'bswap_16'32428 : :In file included from 15:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86Pci.h /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h#define bswap_16 bswap16:error: 324::107: 15use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) |/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h : ^ : ^365: 15: ((x & 0x000000FF) << 24));/usr/include/sys/bswap.h :error72: ^45 : : erroruse of undeclared identifier 'x': note use of undeclared identifier 'x': expanded from macro 'bswap16' ((x & 0x000000FF) << 24)); ^ return (((x & 0xFF00) >> 8) | ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:: note305: to match this '(': 15: ../config.h:error150:18:: noteuse of undeclared identifier 'x' : expanded from macro 'bswap_16' #define bswap_16 bswap16 ((x & 0x000000FF00000000ull) >> 8) | ^ ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16'fatal error : too many errors emitted, stopping now [-ferror-limit=] __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15In file included from radeon_misc.c::27: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hIn file included from error./radeon_probe.h::: 363:1040use of undeclared identifier 'x' : :In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ((x & 0x00000000FF000000ull) << 8) |: 363/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h ^::363:warning101:: : type specifier missing, defaults to 'int' [-Wimplicit-int] errorwarning: : redefinition of '__uint16_t' as different kind of symboltype specifier missing, defaults to 'int' [-Wimplicit-int]bswap_16(uint16_t x) ^ bswap_16(uint16_t x) bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70^/usr/include/sys/stdint.h ::18../config.h55:::15018 :note:: 18 :note/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: :expanded from macro 'uint16_t'expanded from macro 'uint16_t' 307note: expanded from macro 'bswap_16': #define uint16_t __uint16_t#define uint16_t __uint16_t15 #define bswap_16 bswap16: error ^ ^ : use of undeclared identifier 'x' ^ /usr/include/sys/bswap.h:72In file included from :In file included from 9 ((x & 0x0000000000FF0000ull) << 24) | ^: radeon_bios.cradeon_textured_video.c:note: 34:expanded from macro 'bswap16'37: : In file included from In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h./radeon.h::44: __CAST(uint16_t, __builtin_constant_p((x)) ? \46 In file included from : ^In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: 37/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h: :37/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/usr/include/sys/stdint.h:363: :/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:55::36318:11::: warning/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: type specifier missing, defaults to 'int' [-Wimplicit-int] warning: notetype specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) :^bswap_16(uint16_t x) : 308 expanded from macro 'uint16_t'^../config.h: 150 :15::../config.h18 :#define uint16_t __uint16_t: 150 ^ error:: 18 use of undeclared identifier 'x'/usr/include/sys/common_int_types.h :note note: : expanded from macro 'bswap_16'expanded from macro 'bswap_16' ((x & 0x000000000000FF00ull) << 40) | : ^48 #define bswap_16 bswap16 #define bswap_16 bswap16 ^:27 : /usr/include/sys/bswap.h: ^72 :19/usr/include/sys/bswap.h::note : note72:: previous definition is hereexpanded from macro 'bswap16'19 : note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.htypedef __UINT16_TYPE__ __uint16_t;: __CAST(uint16_t, __builtin_constant_p((x)) ? \ In file included from radeon_textured_video.c:309 ^37 : ^In file included from ./radeon.hIn file included from : :4615: : In file included from errorradeon_bios.c/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37:: 34: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: use of undeclared identifier 'x':In file included from 363/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h::441: : errorIn file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:expected ')'37 ((x & 0x00000000000000FFull) << 56)); ^../config.h :: 150:18: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:note: expanded from macro 'bswap_16'363 :In file included from radeon_misc.c1:#define bswap_16 bswap16: 27 error: ^In file included from : ./radeon_probe.h:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/usr/include/sys/bswap.h:72:40expected ')'45 : ::In file included from 319../config.h::10 150:note18: expanded from macro 'bswap16': /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: warning __CAST(uint16_t, __builtin_constant_p((x)) ? \note : ^type specifier missing, defaults to 'int' [-Wimplicit-int]: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.hbswap_32(uint32_t x):: 365expanded from macro 'bswap_16':363:1 15 ^: : note: /usr/include/sys/types.herror#define bswap_16 bswap16: : 80 ^to match this '(': use of undeclared identifier 'x'18../config.h:150:18 : : /usr/include/sys/bswap.hnote:note: 72: return (((x & 0xFF00) >> 8) |expanded from macro 'bswap_16': expanded from macro 'uint32_t'45:#define bswap_16 bswap16 ^ ^ /usr/include/sys/bswap.h:72note :2:: #define uint32_t __uint32_tnote: expanded from macro 'bswap16'expanded from macro 'bswap16' ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: __CAST(uint16_t, __builtin_constant_p((x)) ? \ note In file included from ^ radeon_cursor.c: :expanded from macro '__CAST' /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h54: In file included from #define __CAST(__dt, __st) ((__dt)(__st))./radeon.h:: 363 ^ :fatal error461: In file included from : In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.htoo many errors emitted, stopping now [-ferror-limit=]radeon_textured_video.c::37: 37: In file included from ./radeon.h: :46: noteIn file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:: :to match this '('31937: : 1:../config.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::363150 :warning:18: 1: error: type specifier missing, defaults to 'int' [-Wimplicit-int]redefinition of '__uint16_t' as different kind of symbol : bswap_16(uint16_t x)bswap_32(uint32_t x) ^^ note : ../config.h../config.h:expanded from macro 'bswap_16':150: 18: note: expanded from macro 'bswap_16' 153#define bswap_16 bswap16#define bswap_16 bswap16: 18 ^ : ^ note /usr/include/sys/bswap.h/usr/include/sys/bswap.h: :72:9: expanded from macro 'bswap_32': note72: expanded from macro 'bswap16' #define bswap_32 bswap32: 2 __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^: ^ /usr/include/sys/types.hnote:70:/usr/include/sys/bswap.h: 18::68expanded from macro 'bswap16' :note 19: :expanded from macro 'uint16_t' note : expanded from macro 'bswap32' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^#define uint16_t __uint16_t ^ /usr/include/sys/cdefs.h:610 __CAST(uint32_t, __builtin_constant_p((x)) ? \/usr/include/sys/common_int_types.h :35:: ^note48:27:: noteexpanded from macro '__CAST': previous definition is here #define __CAST(__dt, __st) ((__dt)(__st))typedef __UINT16_TYPE__ __uint16_t; ^ In file included from ^ radeon_cursor.c:54: In file included from ./radeon.h:In file included from 46: radeon_bios.cIn file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:34319: :1In file included from : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.herror:: In file included from radeon_textured_video.c:37: In file included from expected ')'44./radeon.h:46: In file included from : In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h../config.h:/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::3737: 153:18: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h::365 ::note15: error: 363use of undeclared identifier 'x':: 1 : expanded from macro 'bswap_32' error: return (((x & 0xFF00) >> 8) |redefinition of '__uint16_t' as different kind of symbol #define bswap_32 bswap32 ^ ^bswap_16(uint16_t x) /usr/include/sys/bswap.h^: 68:../config.h:45150::18: notenote: : expanded from macro 'bswap32'expanded from macro 'bswap_16' #define bswap_16 bswap16 __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/bswap.h:72 ^:9:fatal error : /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.htoo many errors emitted, stopping now [-ferror-limit=]:note : 319:expanded from macro 'bswap16'1 : note: to match this '(' __CAST(uint16_t, __builtin_constant_p((x)) ? \../config.h:153: 18 ^: note : /usr/include/sys/stdint.hexpanded from macro 'bswap_32' :55:18#define bswap_32 bswap32: note: expanded from macro 'uint16_t' ^ /usr/include/sys/bswap.h:68#define uint16_t __uint16_t : ^ 2/usr/include/sys/common_int_types.h:: 48:27: note: note: expanded from macro 'bswap32'previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_cursor.c:54: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' In file included from #define bswap_32 bswap32radeon_bios.c : ^ 34/usr/include/sys/bswap.h: :In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h68::449: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h::37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:note365:: 15expanded from macro 'bswap32': error: use of undeclared identifier 'x' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ return (((x & 0xFF00) >> 8) |/usr/include/sys/types.h: 80 ^:18 : note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from radeon_cursor.c:54: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from radeon_cursor.c:54: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] 6bswap_16(uint16_t x) warning ^s and 20 error../config.hs:150:18: generated . note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_cursor.c:54: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_cursor.c:54: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from radeon_cursor.c:54: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from radeon_mm_i2c.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] gmake[2]: *** [Makefile:900: radeon_probe.lo] Error 1 In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from radeon_legacy_memory.c:7: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_video.lo] Error 1 gmake[2]: *** [Makefile:900: ati.lo] Error 1 6 warnings and 20 errors generated. In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) gmake[2]: *** [Makefile:900: legacy_crtc.lo] Error 1 ^ ../config.h:156:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:153:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:610:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:150:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from radeon_driver.c:72: In file included from ./radeon.h:46: In file included from /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: legacy_output.lo] Error 1 gmake[2]: *** [Makefile:900: radeon_misc.lo] Error 1 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_vip.lo] Error 1 6 warnings and 20 errors generated. 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_cursor.lo] Error 1 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_mm_i2c.lo] Error 1 gmake[2]: *** [Makefile:900: radeon_legacy_memory.lo] Error 1 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_accel.lo] Error 1 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_bios.lo] Error 1 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_driver.lo] Error 1 6 warnings and 20 errors generated. gmake[2]: *** [Makefile:900: radeon_textured_video.lo] Error 1 gmake[2]: Leaving directory '/data/scratch/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6/src' gmake[1]: *** [Makefile:448: all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6' gmake: *** [Makefile:380: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/x11/xf86-video-ati6 *** Error code 1 Stop. make: stopped in /data/pkgsrc/x11/xf86-video-ati6