Advertisement
espmartin

Untitled

Jun 17th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 4.15 KB | None | 0 0
  1. hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int getPmemTotalSize(int, size_t*)':
  2. hardware/qcom/display/libgralloc/pmemalloc.cpp:50:32: error: expected primary-expression before 'unsigned'
  3.      if (ioctl(fd, PMEM_GET_TOTAL_SIZE, &region)) {
  4.                                 ^
  5. hardware/qcom/display/libgralloc/pmemalloc.cpp:50:44: error: '_IOW' was not declared in this scope
  6.      if (ioctl(fd, PMEM_GET_TOTAL_SIZE, &region)) {
  7.                                             ^
  8. hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int connectPmem(int, int)':
  9. hardware/qcom/display/libgralloc/pmemalloc.cpp:67:32: error: expected primary-expression before 'unsigned'
  10.      if (ioctl(fd, PMEM_CONNECT, master_fd))
  11.                                 ^
  12. hardware/qcom/display/libgralloc/pmemalloc.cpp:67:44: error: '_IOW' was not declared in this scope
  13.      if (ioctl(fd, PMEM_CONNECT, master_fd))
  14.                                             ^
  15. hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int mapSubRegion(int, int, size_t)':
  16. hardware/qcom/display/libgralloc/pmemalloc.cpp:73:45: warning: narrowing conversion of 'offset' from 'int' to 'long unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
  17.      struct pmem_region sub = { offset, size };
  18.                                              ^
  19. hardware/qcom/display/libgralloc/pmemalloc.cpp:74:32: error: expected primary-expression before 'unsigned'
  20.      if (ioctl(fd, PMEM_MAP, &sub))
  21.                                 ^
  22. hardware/qcom/display/libgralloc/pmemalloc.cpp:74:44: error: '_IOW' was not declared in this scope
  23.      if (ioctl(fd, PMEM_MAP, &sub))
  24.                                             ^
  25. hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int unmapSubRegion(int, int, size_t)':
  26. hardware/qcom/display/libgralloc/pmemalloc.cpp:80:45: warning: narrowing conversion of 'offset' from 'int' to 'long unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
  27.      struct pmem_region sub = { offset, size };
  28.                                              ^
  29. hardware/qcom/display/libgralloc/pmemalloc.cpp:81:32: error: expected primary-expression before 'unsigned'
  30.      if (ioctl(fd, PMEM_UNMAP, &sub))
  31.                                 ^
  32. hardware/qcom/display/libgralloc/pmemalloc.cpp:81:44: error: '_IOW' was not declared in this scope
  33.      if (ioctl(fd, PMEM_UNMAP, &sub))
  34.                                             ^
  35. hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int alignPmem(int, size_t, int)':
  36. hardware/qcom/display/libgralloc/pmemalloc.cpp:90:33: error: expected primary-expression before 'unsigned'
  37.      if (ioctl(fd, PMEM_ALLOCATE_ALIGNED, &allocation))
  38.                                  ^
  39. hardware/qcom/display/libgralloc/pmemalloc.cpp:90:45: error: '_IOW' was not declared in this scope
  40.      if (ioctl(fd, PMEM_ALLOCATE_ALIGNED, &allocation))
  41.                                              ^
  42. hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int cleanPmem(void*, size_t, int, int)':
  43. hardware/qcom/display/libgralloc/pmemalloc.cpp:100:33: error: expected primary-expression before 'unsigned'
  44.      if (ioctl(fd, PMEM_CLEAN_INV_CACHES, &pmem_addr))
  45.                                  ^
  46. hardware/qcom/display/libgralloc/pmemalloc.cpp:100:45: error: '_IOW' was not declared in this scope
  47.      if (ioctl(fd, PMEM_CLEAN_INV_CACHES, &pmem_addr))
  48.                                              ^
  49. hardware/qcom/display/libgralloc/pmemalloc.cpp: At global scope:
  50. hardware/qcom/display/libgralloc/pmemalloc.cpp:230:5: warning: unused parameter 'base' [-Wunused-parameter]
  51.  int PmemUserspaceAlloc::free_buffer(void* base, size_t size, int offset, int fd)
  52.      ^
  53. hardware/qcom/display/libgralloc/pmemalloc.cpp:354:5: warning: unused parameter 'offset' [-Wunused-parameter]
  54.  int PmemKernelAlloc::map_buffer(void **pBase, size_t size, int offset, int fd)
  55.      ^
  56. hardware/qcom/display/libgralloc/pmemalloc.cpp:372:5: warning: unused parameter 'offset' [-Wunused-parameter]
  57.  int PmemKernelAlloc::unmap_buffer(void *base, size_t size, int offset)
  58.      ^
  59. make: *** [/home/martin/SchutzhundAOKP/out/target/product/ace/obj/SHARED_LIBRARIES/libmemalloc_intermediates/pmemalloc.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement