nareshkamboju

libhugetlb build failed

Nov 18th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. CC64 obj64/noresv-regarded-as-resv.o
  2. LD64 (lib test) obj64/noresv-regarded-as-resv
  3. CC64 obj64/fallocate_basic.o
  4. fallocate_basic.c: In function 'main':
  5. fallocate_basic.c:78:22: error: 'FALLOC_FL_PUNCH_HOLE' undeclared (first use in this function)
  6. err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
  7. ^
  8. fallocate_basic.c:78:22: note: each undeclared identifier is reported only once for each function it appears in
  9. fallocate_basic.c:78:45: error: 'FALLOC_FL_KEEP_SIZE' undeclared (first use in this function)
  10. err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
  11. ^
  12. make[1]: *** [obj64/fallocate_basic.o] Error 1
  13. make: *** [tests/all] Error 2
  14. /bin/sh: ../obj/hugeadm: No such file or directory
  15. Unable to find available page sizes, are you sure hugetlbfs
  16. is mounted and there are available huge pages?
Add Comment
Please, Sign In to add comment