CalcProgrammer1

Freedreno build errors, Ubuntu 13.10

Nov 10th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.32 KB | None | 0 0
  1. ubuntu@localhost:~/xf86-video-freedreno$ git checkout master
  2. Previous HEAD position was bab2d84... split out fbdev parts to prepare for drm/kms
  3. Switched to branch 'master'
  4. ubuntu@localhost:~/xf86-video-freedreno$ ./autogen.sh
  5. autoreconf: Entering directory `.'
  6. autoreconf: configure.ac: not using Gettext
  7. autoreconf: running: aclocal
  8. autoreconf: configure.ac: tracing
  9. autoreconf: running: libtoolize --copy
  10. libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
  11. libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
  12. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  13. autoreconf: running: /usr/bin/autoconf
  14. autoreconf: running: /usr/bin/autoheader
  15. autoreconf: running: automake --add-missing --copy --no-force
  16. src/Makefile.am:7: warning: freedreno_drv_la_LIBADD multiply defined in condition TRUE ...
  17. src/Makefile.am:1: ... 'freedreno_drv_la_LIBADD' previously defined here
  18. autoreconf: Leaving directory `.'
  19. checking for a BSD-compatible install... /usr/bin/install -c
  20. checking whether build environment is sane... yes
  21. checking for a thread-safe mkdir -p... /bin/mkdir -p
  22. checking for gawk... no
  23. checking for mawk... mawk
  24. checking whether make sets $(MAKE)... yes
  25. checking whether make supports nested variables... yes
  26. checking whether to enable maintainer-specific portions of Makefiles... yes
  27. checking for style of include used by make... GNU
  28. checking for gcc... gcc
  29. checking whether the C compiler works... yes
  30. checking for C compiler default output file name... a.out
  31. checking for suffix of executables...
  32. checking whether we are cross compiling... no
  33. checking for suffix of object files... o
  34. checking whether we are using the GNU C compiler... yes
  35. checking whether gcc accepts -g... yes
  36. checking for gcc option to accept ISO C89... none needed
  37. checking dependency style of gcc... gcc3
  38. checking for gcc option to accept ISO C99... -std=gnu99
  39. checking how to run the C preprocessor... gcc -std=gnu99 -E
  40. checking for grep that handles long lines and -e... /bin/grep
  41. checking for egrep... /bin/grep -E
  42. checking for ANSI C header files... yes
  43. checking for sys/types.h... yes
  44. checking for sys/stat.h... yes
  45. checking for stdlib.h... yes
  46. checking for string.h... yes
  47. checking for memory.h... yes
  48. checking for strings.h... yes
  49. checking for inttypes.h... yes
  50. checking for stdint.h... yes
  51. checking for unistd.h... yes
  52. checking whether __clang__ is declared... no
  53. checking whether __INTEL_COMPILER is declared... no
  54. checking whether __SUNPRO_C is declared... no
  55. checking for pkg-config... /usr/bin/pkg-config
  56. checking pkg-config is at least version 0.9.0... yes
  57. checking build system type... armv7l-unknown-linux-gnueabihf
  58. checking host system type... armv7l-unknown-linux-gnueabihf
  59. checking for a sed that does not truncate output... /bin/sed
  60. checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
  61. checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
  62. checking if gcc -std=gnu99 supports-Wall... yes
  63. checking if gcc -std=gnu99 supports-Wpointer-arith... yes
  64. checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
  65. checking if gcc -std=gnu99 supports-Wformat=2... yes
  66. checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
  67. checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
  68. checking if gcc -std=gnu99 supports-Wnested-externs... yes
  69. checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
  70. checking if gcc -std=gnu99 supports-Wold-style-definition... yes
  71. checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
  72. checking if gcc -std=gnu99 supports-Wunused... yes
  73. checking if gcc -std=gnu99 supports-Wuninitialized... yes
  74. checking if gcc -std=gnu99 supports-Wshadow... yes
  75. checking if gcc -std=gnu99 supports-Wcast-qual... yes
  76. checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
  77. checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
  78. checking if gcc -std=gnu99 supports-Wredundant-decls... yes
  79. checking if gcc -std=gnu99 supports-Werror=implicit... yes
  80. checking if gcc -std=gnu99 supports-Werror=nonnull... yes
  81. checking if gcc -std=gnu99 supports-Werror=init-self... yes
  82. checking if gcc -std=gnu99 supports-Werror=main... yes
  83. checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
  84. checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
  85. checking if gcc -std=gnu99 supports-Werror=return-type... yes
  86. checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
  87. checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
  88. checking if gcc -std=gnu99 supports-Werror=write-strings... yes
  89. checking if gcc -std=gnu99 supports-Werror=address... yes
  90. checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
  91. checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
  92. checking if gcc -std=gnu99 supports-pedantic... yes
  93. checking if gcc -std=gnu99 supports-Werror... yes
  94. checking if gcc -std=gnu99 supports-Werror=attributes... yes
  95. checking whether make supports nested variables... (cached) yes
  96. checking how to print strings... printf
  97. checking for a sed that does not truncate output... (cached) /bin/sed
  98. checking for fgrep... /bin/grep -F
  99. checking for ld used by gcc -std=gnu99... /usr/bin/ld
  100. checking if the linker (/usr/bin/ld) is GNU ld... yes
  101. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  102. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  103. checking whether ln -s works... yes
  104. checking the maximum length of command line arguments... 1572864
  105. checking whether the shell understands some XSI constructs... yes
  106. checking whether the shell understands "+="... yes
  107. checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
  108. checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
  109. checking for /usr/bin/ld option to reload object files... -r
  110. checking for objdump... objdump
  111. checking how to recognize dependent libraries... pass_all
  112. checking for dlltool... no
  113. checking how to associate runtime and link libraries... printf %s\n
  114. checking for ar... ar
  115. checking for archiver @FILE support... @
  116. checking for strip... strip
  117. checking for ranlib... ranlib
  118. checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
  119. checking for sysroot... no
  120. checking for mt... mt
  121. checking if mt is a manifest tool... no
  122. checking for dlfcn.h... yes
  123. checking for objdir... .libs
  124. checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
  125. checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
  126. checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
  127. checking if gcc -std=gnu99 static flag -static works... yes
  128. checking if gcc -std=gnu99 supports -c -o file.o... yes
  129. checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
  130. checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
  131. checking whether -lc should be explicitly linked in... no
  132. checking dynamic linker characteristics... GNU/Linux ld.so
  133. checking how to hardcode library paths into programs... immediate
  134. checking whether stripping libraries is possible... yes
  135. checking if libtool supports shared libraries... yes
  136. checking whether to build shared libraries... yes
  137. checking whether to build static libraries... no
  138. checking for gcc... (cached) gcc
  139. checking whether we are using the GNU C compiler... (cached) yes
  140. checking whether gcc accepts -g... (cached) yes
  141. checking for gcc option to accept ISO C89... (cached) none needed
  142. checking dependency style of gcc... (cached) gcc3
  143. checking dependency style of gcc... gcc3
  144. checking if RANDR is defined... yes
  145. checking if RENDER is defined... yes
  146. checking for XORG... yes
  147. checking for XEXT... yes
  148. checking for ANSI C header files... (cached) yes
  149. checking that generated files are newer than configure... done
  150. configure: creating ./config.status
  151. config.status: creating Makefile
  152. config.status: creating src/Makefile
  153. config.status: creating config.h
  154. config.status: config.h is unchanged
  155. config.status: executing depfiles commands
  156. config.status: executing libtool commands
  157. ubuntu@localhost:~/xf86-video-freedreno$ make -j2
  158. (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/ubuntu/xf86-video-freedreno/missing autoheader)
  159. rm -f stamp-h1
  160. touch config.h.in
  161. cd . && /bin/bash ./config.status config.h
  162. config.status: creating config.h
  163. config.status: config.h is unchanged
  164. make all-recursive
  165. make[1]: Entering directory `/home/ubuntu/xf86-video-freedreno'
  166. Making all in src
  167. make[2]: Entering directory `/home/ubuntu/xf86-video-freedreno/src'
  168. CC drmmode_display.lo
  169. CC fbmode_display.lo
  170. CC msm-driver.lo
  171. In file included from msm-driver.c:53:0:
  172. msm-accel.h: In function 'OUT_RELOC':
  173. msm-accel.h:56:2: error: implicit declaration of function 'fd_ringbuffer_reloc' [-Werror=implicit-function-declaration]
  174. fd_ringbuffer_reloc(ring, &(struct fd_reloc){
  175. ^
  176. msm-accel.h:57:3: error: unknown field 'bo' specified in initializer
  177. .bo = bo,
  178. ^
  179. msm-accel.h:57:3: error: excess elements in struct initializer [-Werror]
  180. msm-accel.h:57:3: error: (near initialization for '(anonymous)') [-Werror]
  181. msm-accel.h:58:3: error: unknown field 'flags' specified in initializer
  182. .flags = FD_RELOC_READ | (write ? FD_RELOC_WRITE : 0),
  183. ^
  184. msm-accel.h:58:12: error: 'FD_RELOC_READ' undeclared (first use in this function)
  185. .flags = FD_RELOC_READ | (write ? FD_RELOC_WRITE : 0),
  186. ^
  187. msm-accel.h:58:12: note: each undeclared identifier is reported only once for each function it appears in
  188. msm-accel.h:58:37: error: 'FD_RELOC_WRITE' undeclared (first use in this function)
  189. .flags = FD_RELOC_READ | (write ? FD_RELOC_WRITE : 0),
  190. ^
  191. msm-accel.h:58:3: error: excess elements in struct initializer [-Werror]
  192. .flags = FD_RELOC_READ | (write ? FD_RELOC_WRITE : 0),
  193. ^
  194. msm-accel.h:58:3: error: (near initialization for '(anonymous)') [-Werror]
  195. msm-accel.h:59:2: error: invalid use of undefined type 'struct fd_reloc'
  196. });
  197. ^
  198. cc1: all warnings being treated as errors
  199. make[2]: *** [msm-driver.lo] Error 1
  200. make[2]: *** Waiting for unfinished jobs....
  201. make[2]: Leaving directory `/home/ubuntu/xf86-video-freedreno/src'
  202. make[1]: *** [all-recursive] Error 1
  203. make[1]: Leaving directory `/home/ubuntu/xf86-video-freedreno'
  204. make: *** [all] Error 2
  205. ubuntu@localhost:~/xf86-video-freedreno$
Add Comment
Please, Sign In to add comment