CalcProgrammer1

radeon driver build error after exa patch

Oct 11th, 2014
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.82 KB | None | 0 0
  1. adam@Adam-Desktop:~/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u$ patch -p1 < ../exa.patch
  2. (Stripping trailing CRs from patch; use --binary to disable.)
  3. patching file src/radeon_accel.c
  4. (Stripping trailing CRs from patch; use --binary to disable.)
  5. patching file src/radeon_bo_helper.c
  6. (Stripping trailing CRs from patch; use --binary to disable.)
  7. patching file src/radeon_exa.c
  8. adam@Adam-Desktop:~/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u$ debuild -us -uc -j9
  9. dpkg-buildpackage -rfakeroot -D -us -uc -j9
  10. dpkg-buildpackage: source package xserver-xorg-video-ati
  11. dpkg-buildpackage: source version 1:7.5.99+git1410021930.c854b4~gd~u
  12. dpkg-buildpackage: source distribution utopic
  13. dpkg-buildpackage: source changed by Oibaf <[email protected]>
  14. dpkg-source --before-build xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u
  15. dpkg-buildpackage: host architecture amd64
  16. fakeroot debian/rules clean
  17. dh clean --with quilt,autoreconf,xsf --builddirectory=build/ --parallel
  18. dh_testdir -O--builddirectory=build/ -O--parallel
  19. dh_auto_clean -O--builddirectory=build/ -O--parallel
  20. dh_quilt_unpatch -O--builddirectory=build/ -O--parallel
  21. No patch removed
  22. dh_autoreconf_clean -O--builddirectory=build/ -O--parallel
  23. dh_clean -O--builddirectory=build/ -O--parallel
  24. dpkg-source -b xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u
  25. dpkg-source: info: using source format `3.0 (native)'
  26. dpkg-source: info: building xserver-xorg-video-ati in xserver-xorg-video-ati_7.5.99+git1410021930.c854b4~gd~u.tar.xz
  27. dpkg-source: info: building xserver-xorg-video-ati in xserver-xorg-video-ati_7.5.99+git1410021930.c854b4~gd~u.dsc
  28. debian/rules build
  29. dh build --with quilt,autoreconf,xsf --builddirectory=build/ --parallel
  30. dh_testdir -O--builddirectory=build/ -O--parallel
  31. dh_quilt_patch -O--builddirectory=build/ -O--parallel
  32. No patches in series
  33. dh_autoreconf -O--builddirectory=build/ -O--parallel
  34. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
  35. libtoolize: copying file `./ltmain.sh'
  36. libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
  37. libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
  38. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  39. configure.ac:37: installing './compile'
  40. configure.ac:45: installing './config.guess'
  41. configure.ac:45: installing './config.sub'
  42. configure.ac:36: installing './install-sh'
  43. configure.ac:36: installing './missing'
  44. src/Makefile.am: installing './depcomp'
  45. debian/rules override_dh_auto_configure
  46. make[1]: Entering directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u'
  47. dh_auto_configure --builddirectory=build/ -- --libdir=/usr/lib
  48. checking for a BSD-compatible install... /usr/bin/install -c
  49. checking whether build environment is sane... yes
  50. checking for a thread-safe mkdir -p... /bin/mkdir -p
  51. checking for gawk... gawk
  52. checking whether make sets $(MAKE)... yes
  53. checking whether make supports nested variables... yes
  54. checking for style of include used by make... GNU
  55. checking for gcc... gcc
  56. checking whether the C compiler works... yes
  57. checking for C compiler default output file name... a.out
  58. checking for suffix of executables...
  59. checking whether we are cross compiling... no
  60. checking for suffix of object files... o
  61. checking whether we are using the GNU C compiler... yes
  62. checking whether gcc accepts -g... yes
  63. checking for gcc option to accept ISO C89... none needed
  64. checking whether gcc understands -c and -o together... yes
  65. checking dependency style of gcc... none
  66. checking for special C compiler options needed for large files... no
  67. checking for _FILE_OFFSET_BITS value needed for large files... no
  68. checking whether to enable maintainer-specific portions of Makefiles... no
  69. checking for gcc option to accept ISO C99... -std=gnu99
  70. checking how to run the C preprocessor... gcc -std=gnu99 -E
  71. checking for grep that handles long lines and -e... /bin/grep
  72. checking for egrep... /bin/grep -E
  73. checking for ANSI C header files... yes
  74. checking for sys/types.h... yes
  75. checking for sys/stat.h... yes
  76. checking for stdlib.h... yes
  77. checking for string.h... yes
  78. checking for memory.h... yes
  79. checking for strings.h... yes
  80. checking for inttypes.h... yes
  81. checking for stdint.h... yes
  82. checking for unistd.h... yes
  83. checking whether __clang__ is declared... no
  84. checking whether __INTEL_COMPILER is declared... no
  85. checking whether __SUNPRO_C is declared... no
  86. checking for pkg-config... /usr/bin/pkg-config
  87. checking pkg-config is at least version 0.9.0... yes
  88. checking build system type... x86_64-pc-linux-gnu
  89. checking host system type... x86_64-pc-linux-gnu
  90. checking for a sed that does not truncate output... /bin/sed
  91. checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
  92. checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
  93. checking if gcc -std=gnu99 supports-Wall... yes
  94. checking if gcc -std=gnu99 supports-Wpointer-arith... yes
  95. checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
  96. checking if gcc -std=gnu99 supports-Wformat=2... yes
  97. checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
  98. checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
  99. checking if gcc -std=gnu99 supports-Wnested-externs... yes
  100. checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
  101. checking if gcc -std=gnu99 supports-Wold-style-definition... yes
  102. checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
  103. checking if gcc -std=gnu99 supports-Wunused... yes
  104. checking if gcc -std=gnu99 supports-Wuninitialized... yes
  105. checking if gcc -std=gnu99 supports-Wshadow... yes
  106. checking if gcc -std=gnu99 supports-Wcast-qual... yes
  107. checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
  108. checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
  109. checking if gcc -std=gnu99 supports-Wredundant-decls... yes
  110. checking if gcc -std=gnu99 supports-Werror=implicit... yes
  111. checking if gcc -std=gnu99 supports-Werror=nonnull... yes
  112. checking if gcc -std=gnu99 supports-Werror=init-self... yes
  113. checking if gcc -std=gnu99 supports-Werror=main... yes
  114. checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
  115. checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
  116. checking if gcc -std=gnu99 supports-Werror=return-type... yes
  117. checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
  118. checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
  119. checking if gcc -std=gnu99 supports-Werror=write-strings... yes
  120. checking if gcc -std=gnu99 supports-Werror=address... yes
  121. checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
  122. checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
  123. checking if gcc -std=gnu99 supports-pedantic... yes
  124. checking if gcc -std=gnu99 supports-Werror... yes
  125. checking if gcc -std=gnu99 supports-Werror=attributes... yes
  126. checking whether make supports nested variables... (cached) yes
  127. checking how to print strings... printf
  128. checking for a sed that does not truncate output... (cached) /bin/sed
  129. checking for fgrep... /bin/grep -F
  130. checking for ld used by gcc -std=gnu99... /usr/bin/ld
  131. checking if the linker (/usr/bin/ld) is GNU ld... yes
  132. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  133. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  134. checking whether ln -s works... yes
  135. checking the maximum length of command line arguments... 1572864
  136. checking whether the shell understands some XSI constructs... yes
  137. checking whether the shell understands "+="... yes
  138. checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  139. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  140. checking for /usr/bin/ld option to reload object files... -r
  141. checking for objdump... objdump
  142. checking how to recognize dependent libraries... pass_all
  143. checking for dlltool... no
  144. checking how to associate runtime and link libraries... printf %s\n
  145. checking for ar... ar
  146. checking for archiver @FILE support... @
  147. checking for strip... strip
  148. checking for ranlib... ranlib
  149. checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
  150. checking for sysroot... no
  151. checking for mt... mt
  152. checking if mt is a manifest tool... no
  153. checking for dlfcn.h... yes
  154. checking for objdir... .libs
  155. checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
  156. checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
  157. checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
  158. checking if gcc -std=gnu99 static flag -static works... yes
  159. checking if gcc -std=gnu99 supports -c -o file.o... yes
  160. checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
  161. checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  162. checking whether -lc should be explicitly linked in... no
  163. checking dynamic linker characteristics... GNU/Linux ld.so
  164. checking how to hardcode library paths into programs... immediate
  165. checking whether stripping libraries is possible... yes
  166. checking if libtool supports shared libraries... yes
  167. checking whether to build shared libraries... yes
  168. checking whether to build static libraries... no
  169. checking if RANDR is defined... yes
  170. checking if RENDER is defined... yes
  171. checking if XV is defined... yes
  172. checking if DPMSExtension is defined... yes
  173. checking for LIBDRM... yes
  174. checking for LIBDRM_RADEON... yes
  175. checking for XORG... yes
  176. checking for XEXT... yes
  177. checking for LIBUDEV... yes
  178. checking whether to include GLAMOR support... checking for glamor.h... yes
  179. checking whether GLAMOR_NO_DRI3 is declared... yes
  180. checking for list.h... yes
  181. checking whether xorg_list_init is declared... yes
  182. checking for PCIACCESS... yes
  183. checking byteswap.h usability... yes
  184. checking byteswap.h presence... yes
  185. checking for byteswap.h... yes
  186. checking sys/endian.h usability... no
  187. checking sys/endian.h presence... no
  188. checking for sys/endian.h... no
  189. configure: The atimisc sub-driver has been split out to xf86-video-mach64:
  190. git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
  191. Please install that driver as well for mach64-based cards.
  192.  
  193. configure: The r128 sub-driver has been split out to xf86-video-r128:
  194. git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
  195. Please install that driver as well for rage128-based cards.
  196.  
  197. checking that generated files are newer than configure... done
  198. configure: creating ./config.status
  199. config.status: creating Makefile
  200. config.status: creating src/Makefile
  201. config.status: creating man/Makefile
  202. config.status: creating config.h
  203. config.status: executing depfiles commands
  204. config.status: executing libtool commands
  205.  
  206. prefix: /usr
  207. exec_prefix: ${prefix}
  208. libdir: /usr/lib
  209. includedir: ${prefix}/include
  210.  
  211. CFLAGS: -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
  212. CXXFLAGS: -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
  213. Macros:
  214.  
  215. Run 'make' to build xf86-video-ati
  216.  
  217. make[1]: Leaving directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u'
  218. dh_auto_build -O--builddirectory=build/ -O--parallel
  219. make[1]: Entering directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u/build'
  220. make all-recursive
  221. make[2]: Entering directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u/build'
  222. Making all in src
  223. make[3]: Entering directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u/build/src'
  224. CC ati.lo
  225. CC atimodule.lo
  226. CC radeon_exa.lo
  227. CC radeon_video.lo
  228. CC radeon_accel.lo
  229. CC radeon_misc.lo
  230. CC radeon_textured_video.lo
  231. CC radeon_probe.lo
  232. CC radeon_xvmc.lo
  233. In file included from /usr/include/xorg/dri3.h:30:0,
  234. from ../../src/radeon_accel.c:79:
  235. /usr/include/X11/extensions/dri3proto.h:43:5: error: unknown type name 'CARD8'
  236. CARD8 reqType;
  237. ^
  238. /usr/include/X11/extensions/dri3proto.h:44:5: error: unknown type name 'CARD8'
  239. CARD8 dri3ReqType;
  240. ^
  241. /usr/include/X11/extensions/dri3proto.h:45:5: error: unknown type name 'CARD16'
  242. CARD16 length B16;
  243. ^
  244. /usr/include/X11/extensions/dri3proto.h:45:20: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  245. CARD16 length B16;
  246. ^
  247. /usr/include/X11/extensions/dri3proto.h:52:5: error: unknown type name 'BYTE'
  248. BYTE type; /* X_Reply */
  249. ^
  250. /usr/include/X11/extensions/dri3proto.h:53:5: error: unknown type name 'BYTE'
  251. BYTE pad1;
  252. ^
  253. /usr/include/X11/extensions/dri3proto.h:54:5: error: unknown type name 'CARD16'
  254. CARD16 sequenceNumber B16;
  255. ^
  256. /usr/include/X11/extensions/dri3proto.h:54:28: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  257. CARD16 sequenceNumber B16;
  258. ^
  259. /usr/include/X11/extensions/dri3proto.h:66:5: error: unknown type name 'CARD8'
  260. CARD8 reqType;
  261. ^
  262. /usr/include/X11/extensions/dri3proto.h:67:5: error: unknown type name 'CARD8'
  263. CARD8 dri3ReqType;
  264. ^
  265. /usr/include/X11/extensions/dri3proto.h:68:5: error: unknown type name 'CARD16'
  266. CARD16 length B16;
  267. ^
  268. /usr/include/X11/extensions/dri3proto.h:68:20: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  269. CARD16 length B16;
  270. ^
  271. /usr/include/X11/extensions/dri3proto.h:75:5: error: unknown type name 'BYTE'
  272. BYTE type; /* X_Reply */
  273. ^
  274. /usr/include/X11/extensions/dri3proto.h:76:5: error: unknown type name 'CARD8'
  275. CARD8 nfd;
  276. ^
  277. /usr/include/X11/extensions/dri3proto.h:77:5: error: unknown type name 'CARD16'
  278. CARD16 sequenceNumber B16;
  279. ^
  280. /usr/include/X11/extensions/dri3proto.h:77:28: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  281. CARD16 sequenceNumber B16;
  282. ^
  283. /usr/include/X11/extensions/dri3proto.h:89:5: error: unknown type name 'CARD8'
  284. CARD8 reqType;
  285. ^
  286. /usr/include/X11/extensions/dri3proto.h:90:5: error: unknown type name 'CARD8'
  287. CARD8 dri3ReqType;
  288. ^
  289. /usr/include/X11/extensions/dri3proto.h:91:5: error: unknown type name 'CARD16'
  290. CARD16 length B16;
  291. ^
  292. /usr/include/X11/extensions/dri3proto.h:91:20: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  293. CARD16 length B16;
  294. ^
  295. /usr/include/X11/extensions/dri3proto.h:105:5: error: unknown type name 'CARD8'
  296. CARD8 reqType;
  297. ^
  298. /usr/include/X11/extensions/dri3proto.h:106:5: error: unknown type name 'CARD8'
  299. CARD8 dri3ReqType;
  300. ^
  301. /usr/include/X11/extensions/dri3proto.h:107:5: error: unknown type name 'CARD16'
  302. CARD16 length B16;
  303. ^
  304. /usr/include/X11/extensions/dri3proto.h:107:20: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  305. CARD16 length B16;
  306. ^
  307. /usr/include/X11/extensions/dri3proto.h:113:5: error: unknown type name 'BYTE'
  308. BYTE type; /* X_Reply */
  309. ^
  310. /usr/include/X11/extensions/dri3proto.h:114:5: error: unknown type name 'CARD8'
  311. CARD8 nfd; /* Number of file descriptors returned (1) */
  312. ^
  313. /usr/include/X11/extensions/dri3proto.h:115:5: error: unknown type name 'CARD16'
  314. CARD16 sequenceNumber B16;
  315. ^
  316. /usr/include/X11/extensions/dri3proto.h:115:28: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  317. CARD16 sequenceNumber B16;
  318. ^
  319. /usr/include/X11/extensions/dri3proto.h:130:5: error: unknown type name 'CARD8'
  320. CARD8 reqType;
  321. ^
  322. /usr/include/X11/extensions/dri3proto.h:131:5: error: unknown type name 'CARD8'
  323. CARD8 dri3ReqType;
  324. ^
  325. /usr/include/X11/extensions/dri3proto.h:132:5: error: unknown type name 'CARD16'
  326. CARD16 length B16;
  327. ^
  328. /usr/include/X11/extensions/dri3proto.h:132:20: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  329. CARD16 length B16;
  330. ^
  331. /usr/include/X11/extensions/dri3proto.h:143:5: error: unknown type name 'CARD8'
  332. CARD8 reqType;
  333. ^
  334. /usr/include/X11/extensions/dri3proto.h:144:5: error: unknown type name 'CARD8'
  335. CARD8 dri3ReqType;
  336. ^
  337. /usr/include/X11/extensions/dri3proto.h:145:5: error: unknown type name 'CARD16'
  338. CARD16 length B16;
  339. ^
  340. /usr/include/X11/extensions/dri3proto.h:145:20: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  341. CARD16 length B16;
  342. ^
  343. /usr/include/X11/extensions/dri3proto.h:153:5: error: unknown type name 'BYTE'
  344. BYTE type; /* X_Reply */
  345. ^
  346. /usr/include/X11/extensions/dri3proto.h:154:5: error: unknown type name 'CARD8'
  347. CARD8 nfd; /* Number of file descriptors returned (1) */
  348. ^
  349. /usr/include/X11/extensions/dri3proto.h:155:5: error: unknown type name 'CARD16'
  350. CARD16 sequenceNumber B16;
  351. ^
  352. /usr/include/X11/extensions/dri3proto.h:155:28: error: expected ':', ',', ';', '}' or '__attribute__' before 'B16'
  353. CARD16 sequenceNumber B16;
  354. ^
  355. CC r600_exa.lo
  356. CC r6xx_accel.lo
  357. CC r600_textured_videofuncs.lo
  358. CC r600_shader.lo
  359. CC radeon_exa_shared.lo
  360. ../../src/radeon_accel.c: In function 'exa_dri3_pixmap_from_fd':
  361. ../../src/radeon_accel.c:229:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  362. !screen->SetSharedPixmapBacking(pixmap, (void *)fd)) {
  363. ^
  364. ../../src/radeon_accel.c: In function 'exa_dri3_fd_from_pixmap':
  365. ../../src/radeon_accel.c:243:53: warning: passing argument 3 of 'screen->SharePixmapBacking' from incompatible pointer type
  366. if (!screen->SharePixmapBacking(pixmap, screen, &fd))
  367. ^
  368. ../../src/radeon_accel.c:243:53: note: expected 'void **' but argument is of type 'int *'
  369. Makefile:640: recipe for target 'radeon_accel.lo' failed
  370. make[3]: *** [radeon_accel.lo] Error 1
  371. make[3]: *** Waiting for unfinished jobs....
  372. make[3]: Leaving directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u/build/src'
  373. Makefile:442: recipe for target 'all-recursive' failed
  374. make[2]: *** [all-recursive] Error 1
  375. make[2]: Leaving directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u/build'
  376. Makefile:373: recipe for target 'all' failed
  377. make[1]: *** [all] Error 2
  378. make[1]: Leaving directory '/home/adam/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u/build'
  379. dh_auto_build: make -j9 returned exit code 2
  380. debian/rules:23: recipe for target 'build' failed
  381. make: *** [build] Error 2
  382. dpkg-buildpackage: error: debian/rules build gave error exit status 2
  383. debuild: fatal error at line 1364:
  384. dpkg-buildpackage -rfakeroot -D -us -uc -j9 failed
  385. adam@Adam-Desktop:~/mesa/xserver-xorg-video-ati-7.5.99+git1410021930.c854b4~gd~u$
Advertisement
Add Comment
Please, Sign In to add comment