Advertisement
Gallefray

Untitled

Dec 1st, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1. [1] finn@FinnAndTheThreeFurys> sudo pacman -Q lua51 ~/Documents/git/pwnfps
  2. [sudo] password for finn:
  3. lua51 5.1.5-4
  4. finn@FinnAndTheThreeFurys> gcc -g -fopenmp -ffast-math -funroll-loops -O3 -o pwnfps main.c `sdl-config --cflags --libs` `pkg-config lua51 --cflags --libs` -lm -Wall -Wextra -Wno-unused-parameter
  5. Package lua51 was not found in the pkg-config search path.
  6. Perhaps you should add the directory containing `lua51.pc'
  7. to the PKG_CONFIG_PATH environment variable
  8. No package 'lua51' found
  9. main.c: In function ‘mainloop’:
  10. main.c:222:7: warning: unused variable ‘bcy’ [-Wunused-variable]
  11. int bcy = (int)by1;
  12. ^
  13. main.c:78:8: warning: unused variable ‘cangy’ [-Wunused-variable]
  14. float cangy = 0.0f;
  15. ^
  16. main.c:77:8: warning: unused variable ‘cangx’ [-Wunused-variable]
  17. float cangx = 0.0f;
  18. ^
  19. main.c:71:6: warning: variable ‘k_turndown’ set but not used [-Wunused-but-set-variable]
  20. int k_turndown = 0;
  21. ^
  22. main.c:70:6: warning: variable ‘k_turnup’ set but not used [-Wunused-but-set-variable]
  23. int k_turnup = 0;
  24. ^
  25. /tmp/ccAyNhsl.o: In function `lf_obj_free':
  26. /home/finn/Documents/git/pwnfps/script.h:45: undefined reference to `lua_touserdata'
  27. /tmp/ccAyNhsl.o: In function `lf_obj_set':
  28. /home/finn/Documents/git/pwnfps/script.h:12: undefined reference to `lua_touserdata'
  29. /home/finn/Documents/git/pwnfps/script.h:15: undefined reference to `lua_tolstring'
  30. /home/finn/Documents/git/pwnfps/script.h:22: undefined reference to `lua_tonumberx'
  31. /home/finn/Documents/git/pwnfps/script.h:23: undefined reference to `lua_tonumberx'
  32. /home/finn/Documents/git/pwnfps/script.h:25: undefined reference to `lua_tonumberx'
  33. /home/finn/Documents/git/pwnfps/script.h:26: undefined reference to `lua_tonumberx'
  34. /home/finn/Documents/git/pwnfps/script.h:27: undefined reference to `lua_tonumberx'
  35. /tmp/ccAyNhsl.o:/home/finn/Documents/git/pwnfps/script.h:30: more undefined references to `lua_tonumberx' follow
  36. /tmp/ccAyNhsl.o: In function `lf_obj_set':
  37. /home/finn/Documents/git/pwnfps/script.h:38: undefined reference to `lua_pushlightuserdata'
  38. /tmp/ccAyNhsl.o: In function `lf_level_get':
  39. /home/finn/Documents/git/pwnfps/script.h:56: undefined reference to `lua_tointegerx'
  40. /home/finn/Documents/git/pwnfps/script.h:57: undefined reference to `lua_tointegerx'
  41. /home/finn/Documents/git/pwnfps/script.h:60: undefined reference to `lua_pushlstring'
  42. /tmp/ccAyNhsl.o: In function `lf_obj_new':
  43. /home/finn/Documents/git/pwnfps/script.h:6: undefined reference to `lua_pushlightuserdata'
  44. /tmp/ccAyNhsl.o: In function `script_newvm':
  45. /home/finn/Documents/git/pwnfps/script.h:73: undefined reference to `luaL_newstate'
  46. /home/finn/Documents/git/pwnfps/script.h:77: undefined reference to `luaL_openlibs'
  47. /home/finn/Documents/git/pwnfps/script.h:79: undefined reference to `lua_pushcclosure'
  48. /home/finn/Documents/git/pwnfps/script.h:79: undefined reference to `lua_setglobal'
  49. /home/finn/Documents/git/pwnfps/script.h:80: undefined reference to `lua_pushcclosure'
  50. /home/finn/Documents/git/pwnfps/script.h:80: undefined reference to `lua_setglobal'
  51. /home/finn/Documents/git/pwnfps/script.h:81: undefined reference to `lua_pushcclosure'
  52. /home/finn/Documents/git/pwnfps/script.h:81: undefined reference to `lua_setglobal'
  53. /home/finn/Documents/git/pwnfps/script.h:82: undefined reference to `lua_pushcclosure'
  54. /home/finn/Documents/git/pwnfps/script.h:82: undefined reference to `lua_setglobal'
  55. /home/finn/Documents/git/pwnfps/script.h:83: undefined reference to `lua_pushcclosure'
  56. /home/finn/Documents/git/pwnfps/script.h:83: undefined reference to `lua_setglobal'
  57. /home/finn/Documents/git/pwnfps/script.h:86: undefined reference to `luaL_loadfilex'
  58. /home/finn/Documents/git/pwnfps/script.h:93: undefined reference to `lua_pcallk'
  59. /home/finn/Documents/git/pwnfps/script.h:88: undefined reference to `lua_tolstring'
  60. /home/finn/Documents/git/pwnfps/script.h:95: undefined reference to `lua_tolstring'
  61. /tmp/ccAyNhsl.o: In function `mainloop':
  62. /home/finn/Documents/git/pwnfps/main.c:125: undefined reference to `lua_getglobal'
  63. /home/finn/Documents/git/pwnfps/main.c:126: undefined reference to `lua_type'
  64. /home/finn/Documents/git/pwnfps/main.c:132: undefined reference to `lua_pushnumber'
  65. /home/finn/Documents/git/pwnfps/main.c:133: undefined reference to `lua_pushnumber'
  66. /home/finn/Documents/git/pwnfps/main.c:134: undefined reference to `lua_pcallk'
  67. /home/finn/Documents/git/pwnfps/main.c:136: undefined reference to `lua_tolstring'
  68. /tmp/ccAyNhsl.o: In function `lf_obj_free':
  69. /home/finn/Documents/git/pwnfps/script.h:46: undefined reference to `luaL_error'
  70. /tmp/ccAyNhsl.o: In function `lf_obj_set':
  71. /home/finn/Documents/git/pwnfps/script.h:35: undefined reference to `luaL_error'
  72. /home/finn/Documents/git/pwnfps/script.h:16: undefined reference to `luaL_error'
  73. /tmp/ccAyNhsl.o: In function `lf_obj_new':
  74. /home/finn/Documents/git/pwnfps/script.h:4: undefined reference to `luaL_error'
  75. collect2: error: ld returned 1 exit status
  76. [1] finn@FinnAndTheThreeFurys> ~/Documents/git/pwnfps
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement