Advertisement
existence_dev92

Untitled

Sep 25th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.83 KB | None | 0 0
  1. In file included from socket.cpp:4:0:
  2. socket.hpp:18:8: error: ‘uint32’ does not name a type
  3. extern uint32 min_allowed_gepard_version;
  4. ^
  5. socket.hpp:42:2: error: ‘uint32’ does not name a type
  6. uint32 unique_id;
  7. ^
  8. socket.hpp:43:2: error: ‘uint32’ does not name a type
  9. uint32 sync_tick;
  10. ^
  11. socket.hpp:44:2: error: ‘uint32’ does not name a type
  12. uint32 gepard_shield_version;
  13. ^
  14. socket.hpp:103:26: error: ‘uint16’ has not been declared
  15. void gepard_init(int fd, uint16 packet_id);
  16. ^
  17. socket.hpp:105:36: error: ‘uint8’ has not been declared
  18. bool gepard_process_packet(int fd, uint8* packet_data, uint32 packet_size, struct gepard_crypt_link* link);
  19. ^
  20. socket.hpp:105:56: error: ‘uint32’ has not been declared
  21. bool gepard_process_packet(int fd, uint8* packet_data, uint32 packet_size, struct gepard_crypt_link* link);
  22. ^
  23. socket.hpp:106:21: error: variable or field ‘gepard_enc_dec’ declared void
  24. void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
  25. ^
  26. socket.hpp:106:21: error: ‘uint8’ was not declared in this scope
  27. socket.hpp:106:28: error: ‘in_data’ was not declared in this scope
  28. void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
  29. ^
  30. socket.hpp:106:37: error: ‘uint8’ was not declared in this scope
  31. void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
  32. ^
  33. socket.hpp:106:44: error: ‘out_data’ was not declared in this scope
  34. void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
  35. ^
  36. socket.hpp:106:54: error: expected primary-expression before ‘unsigned’
  37. void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
  38. ^
  39. socket.hpp:106:78: error: expected primary-expression before ‘struct’
  40. void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
  41. ^
  42. socket.cpp: In function ‘int WFIFOSET(int, size_t)’:
  43. socket.cpp:805:74: error: cannot convert ‘uint8* {aka unsigned char*}’ to ‘int*’ for argument ‘2’ to ‘bool gepard_process_packet(int, int*, int, gepard_crypt_link*)’
  44. gepard_process_packet(fd, s->wdata + s->wdata_size, len, &s->send_crypt);
  45. ^
  46. socket.cpp: In function ‘void gepard_config_read()’:
  47. socket.cpp:1736:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  48. char* conf_name = "conf/gepard_shield.conf";
  49. ^
  50. socket.cpp:1765:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  51. conf_name = "conf/gepard_version.txt";
  52. ^
  53. socket.cpp: In function ‘bool gepard_process_packet(int, uint8*, uint32, gepard_crypt_link*)’:
  54. socket.cpp:1794:80: error: ‘gepard_enc_dec’ was not declared in this scope
  55. gepard_enc_dec(packet_data + 2, packet_data + 2, 4, &session[fd]->sync_crypt);
  56. ^
  57. socket.cpp:1800:30: error: ‘struct gepard_info_data’ has no member named ‘sync_tick’
  58. session[fd]->gepard_info.sync_tick = gettick();
  59. ^
  60. socket.cpp:1834:76: error: ‘gepard_enc_dec’ was not declared in this scope
  61. gepard_enc_dec(packet_data + 2, packet_data + 2, RFIFOREST(fd) - 2, link);
  62. ^
  63. socket.cpp:1852:76: error: ‘gepard_enc_dec’ was not declared in this scope
  64. gepard_enc_dec(packet_data + 4, packet_data + 4, RFIFOREST(fd) - 4, link);
  65. ^
  66. socket.cpp:1863:74: error: ‘gepard_enc_dec’ was not declared in this scope
  67. gepard_enc_dec(packet_data + 4, packet_data + 4, packet_size - 4, link);
  68. ^
  69. socket.cpp:1876:74: error: ‘gepard_enc_dec’ was not declared in this scope
  70. gepard_enc_dec(packet_data + 2, packet_data + 2, packet_size - 2, link);
  71. ^
  72. socket.cpp:1889:74: error: ‘gepard_enc_dec’ was not declared in this scope
  73. gepard_enc_dec(packet_data + 4, packet_data + 4, packet_size - 4, link);
  74. ^
  75. socket.cpp:1909:74: error: ‘gepard_enc_dec’ was not declared in this scope
  76. gepard_enc_dec(packet_data + 4, packet_data + 4, packet_size - 4, link);
  77. ^
  78. socket.cpp:1927:29: error: ‘struct gepard_info_data’ has no member named ‘unique_id’
  79. session[fd]->gepard_info.unique_id = unique_id;
  80. ^
  81. socket.cpp:1928:29: error: ‘struct gepard_info_data’ has no member named ‘gepard_shield_version’
  82. session[fd]->gepard_info.gepard_shield_version = shield_ver;
  83. ^
  84. socket.cpp: In function ‘void gepard_config_read()’:
  85. socket.cpp:1774:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  86. fscanf(fp, "%u", &min_allowed_gepard_version);
  87. ^
  88. make[1]: *** [obj/socket.o] Error 1
  89. make: *** [common] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement