Advertisement
Guest User

Untitled

a guest
Jan 7th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.52 KB | None | 0 0
  1. [ 98%] Building C object CMakeFiles/cutorch.dir/Tensor.c.o
  2. In file included from /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.c:1:
  3. /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:33:26: error: static declaration of ‘luaL_setfuncs’ follows non-static declaration
  4. 33 | TORCH_UNUSED static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
  5. | ^~~~~~~~~~~~~
  6. In file included from /build/torch7-cutorch-git/src/torch7-cutorch-git/init.c:1:
  7. /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:33:26: error: static declaration of ‘luaL_setfuncs’ follows non-static declaration
  8. 33 | TORCH_UNUSED static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
  9. | ^~~~~~~~~~~~~
  10. In file included from /usr/include/luajit-2.1/luaT.h:8,
  11. from /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:4:
  12. /usr/include/luajit-2.1/lauxlib.h:88:18: note: previous declaration of ‘luaL_setfuncs’ with type ‘void(lua_State *, const luaL_Reg *, int)’
  13. 88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
  14. | ^~~~~~~~~~~~~
  15. In file included from /usr/include/luajit-2.1/luaT.h:8,
  16. from /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:4:
  17. /usr/include/luajit-2.1/lauxlib.h:88:18: note: previous declaration of ‘luaL_setfuncs’ with type ‘void(lua_State *, const luaL_Reg *, int)’
  18. 88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
  19. | ^~~~~~~~~~~~~
  20. In file included from /build/torch7-cutorch-git/src/torch7-cutorch-git/Storage.c:1:
  21. /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:33:26: error: static declaration of ‘luaL_setfuncs’ follows non-static declaration
  22. 33 | TORCH_UNUSED static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
  23. | ^~~~~~~~~~~~~
  24. In file included from /usr/include/luajit-2.1/luaT.h:8,
  25. from /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:4:
  26. /usr/include/luajit-2.1/lauxlib.h:88:18: note: previous declaration of ‘luaL_setfuncs’ with type ‘void(lua_State *, const luaL_Reg *, int)’
  27. 88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
  28. | ^~~~~~~~~~~~~
  29. In file included from /build/torch7-cutorch-git/src/torch7-cutorch-git/TensorOperator.c:1:
  30. /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:33:26: error: static declaration of ‘luaL_setfuncs’ follows non-static declaration
  31. 33 | TORCH_UNUSED static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
  32. | ^~~~~~~~~~~~~
  33. In file included from /usr/include/luajit-2.1/luaT.h:8,
  34. from /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:4:
  35. /usr/include/luajit-2.1/lauxlib.h:88:18: note: previous declaration of ‘luaL_setfuncs’ with type ‘void(lua_State *, const luaL_Reg *, int)’
  36. 88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
  37. | ^~~~~~~~~~~~~
  38. make[2]: *** [CMakeFiles/cutorch.dir/build.make:150: CMakeFiles/cutorch.dir/torch/utils.c.o] Error 1
  39. make[2]: *** Waiting for unfinished jobs....
  40. In file included from /build/torch7-cutorch-git/src/torch7-cutorch-git/Tensor.c:1:
  41. /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:33:26: error: static declaration of ‘luaL_setfuncs’ follows non-static declaration
  42. 33 | TORCH_UNUSED static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
  43. | ^~~~~~~~~~~~~
  44. In file included from /usr/include/luajit-2.1/luaT.h:8,
  45. from /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:4:
  46. /usr/include/luajit-2.1/lauxlib.h:88:18: note: previous declaration of ‘luaL_setfuncs’ with type ‘void(lua_State *, const luaL_Reg *, int)’
  47. 88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
  48. | ^~~~~~~~~~~~~
  49. make[2]: *** [CMakeFiles/cutorch.dir/build.make:94: CMakeFiles/cutorch.dir/init.c.o] Error 1
  50. In file included from /build/torch7-cutorch-git/src/torch7-cutorch-git/TensorMath.c:5:
  51. /build/torch7-cutorch-git/src/torch7-cutorch-git/torch/utils.h:33:26: error: static declaration of ‘luaL_setfuncs’ follows non-static declaration
  52. 33 | TORCH_UNUSED static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
  53. | ^~~~~~~~~~~~~
  54. In file included from /usr/include/luajit-2.1/luaT.h:8,
  55. from /build/torch7-cutorch-git/src/torch7-cutorch-git/TensorMath.c:4:
  56. /usr/include/luajit-2.1/lauxlib.h:88:18: note: previous declaration of ‘luaL_setfuncs’ with type ‘void(lua_State *, const luaL_Reg *, int)’
  57. 88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
  58. | ^~~~~~~~~~~~~
  59. make[2]: *** [CMakeFiles/cutorch.dir/build.make:136: CMakeFiles/cutorch.dir/TensorOperator.c.o] Error 1
  60. make[2]: *** [CMakeFiles/cutorch.dir/build.make:80: CMakeFiles/cutorch.dir/Storage.c.o] Error 1
  61. make[2]: *** [CMakeFiles/cutorch.dir/build.make:108: CMakeFiles/cutorch.dir/Tensor.c.o] Error 1
  62. make[2]: *** [CMakeFiles/cutorch.dir/build.make:122: CMakeFiles/cutorch.dir/TensorMath.c.o] Error 1
  63. make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/cutorch.dir/all] Error 2
  64. make: *** [Makefile:136: all] Error 2
  65. ==> ERROR: A failure occurred in build().
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement