rickyrick2000

add -no-pie

Jul 20th, 2022
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.87 KB | None | 0 0
  1. gcc -I/usr/include/python3.8 -I/usr/include/python3.8 -Wno-unused-result -Wsign-compare -g -fdebug-prefix-map=/build/python3.8-4wuY7n/python3.8-3.8.10=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector -Wformat -Werror=format-security -DNDEBUG -g -no-pie -fwrapv -O3 -Wall -o main main.c /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a -L/usr/lib/python3.8/config-3.8-x86_64-linux-gnu -L/usr/lib -lcrypt -lpthread -ldl -lutil -lm -lm
  2.  
  3.  
  4. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `PyInit_pyexpat':
  5. (.text+0x18a): undefined reference to `XML_ExpatVersion'
  6. /usr/bin/ld: (.text+0x19f): undefined reference to `XML_ExpatVersionInfo'
  7. /usr/bin/ld: (.text+0x2c0): undefined reference to `XML_GetFeatureList'
  8. /usr/bin/ld: (.text+0x366): undefined reference to `XML_ErrorString'
  9. /usr/bin/ld: (.text+0x39e): undefined reference to `XML_ErrorString'
  10. /usr/bin/ld: (.text+0x3be): undefined reference to `XML_ErrorString'
  11. /usr/bin/ld: (.text+0x40b): undefined reference to `XML_ErrorString'
  12. /usr/bin/ld: (.text+0x443): undefined reference to `XML_ErrorString'
  13. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.text+0x463): more undefined references to `XML_ErrorString' follow
  14. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `PyInit_pyexpat':
  15. (.text+0x1c80): undefined reference to `XML_GetCurrentColumnNumber'
  16. /usr/bin/ld: (.text+0x1c86): undefined reference to `XML_SetCommentHandler'
  17. /usr/bin/ld: (.text+0x1c8c): undefined reference to `XML_SetElementHandler'
  18. /usr/bin/ld: (.text+0x1c92): undefined reference to `XML_SetProcessingInstructionHandler'
  19. /usr/bin/ld: (.text+0x1c97): undefined reference to `XML_SetUserData'
  20. /usr/bin/ld: (.text+0x1c9c): undefined reference to `XML_SetEncoding'
  21. /usr/bin/ld: (.text+0x1ca2): undefined reference to `XML_Parse'
  22. /usr/bin/ld: (.text+0x1ca8): undefined reference to `XML_ParserFree'
  23. /usr/bin/ld: (.text+0x1d1b): undefined reference to `XML_SetHashSalt'
  24. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_ParserCreate':
  25. (.text+0x1f21): undefined reference to `XML_ParserCreate_MM'
  26. /usr/bin/ld: (.text+0x1f3e): undefined reference to `XML_SetHashSalt'
  27. /usr/bin/ld: (.text+0x1f4b): undefined reference to `XML_SetUserData'
  28. /usr/bin/ld: (.text+0x1f5c): undefined reference to `XML_SetUnknownEncodingHandler'
  29. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_Parse':
  30. (.text+0x2266): undefined reference to `XML_SetEncoding'
  31. /usr/bin/ld: (.text+0x2286): undefined reference to `XML_Parse'
  32. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `my_StartElementHandler':
  33. (.text+0x2415): undefined reference to `XML_GetSpecifiedAttributeCount'
  34. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `call_with_frame.isra.0':
  35. (.text+0x25f7): undefined reference to `XML_StopParser'
  36. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `xmlparse_dealloc':
  37. (.text+0x2859): undefined reference to `XML_ParserFree'
  38. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_ParseFile':
  39. (.text+0x293c): undefined reference to `XML_GetBuffer'
  40. /usr/bin/ld: (.text+0x29d7): undefined reference to `XML_ParseBuffer'
  41. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_SetParamEntityParsing':
  42. (.text+0x2d1b): undefined reference to `XML_SetParamEntityParsing'
  43. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x508): undefined reference to `XML_SetStartElementHandler'
  44. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x548): undefined reference to `XML_SetEndElementHandler'
  45. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x588): undefined reference to `XML_SetProcessingInstructionHandler'
  46. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x5c8): undefined reference to `XML_SetCharacterDataHandler'
  47. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x608): undefined reference to `XML_SetUnparsedEntityDeclHandler'
  48. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x648): undefined reference to `XML_SetNotationDeclHandler'
  49. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x688): undefined reference to `XML_SetStartNamespaceDeclHandler'
  50. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x6c8): undefined reference to `XML_SetEndNamespaceDeclHandler'
  51. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x708): undefined reference to `XML_SetCommentHandler'
  52. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x748): undefined reference to `XML_SetStartCdataSectionHandler'
  53. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x788): undefined reference to `XML_SetEndCdataSectionHandler'
  54. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x7c8): undefined reference to `XML_SetDefaultHandler'
  55. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x808): undefined reference to `XML_SetDefaultHandlerExpand'
  56. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x848): undefined reference to `XML_SetNotStandaloneHandler'
  57. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x888): undefined reference to `XML_SetExternalEntityRefHandler'
  58. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x8c8): undefined reference to `XML_SetStartDoctypeDeclHandler'
  59. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x908): undefined reference to `XML_SetEndDoctypeDeclHandler'
  60. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x948): undefined reference to `XML_SetEntityDeclHandler'
  61. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x988): undefined reference to `XML_SetXmlDeclHandler'
  62. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0x9c8): undefined reference to `XML_SetElementDeclHandler'
  63. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0xa08): undefined reference to `XML_SetAttlistDeclHandler'
  64. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o):(.data+0xa48): undefined reference to `XML_SetSkippedEntityHandler'
  65. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_Parse.cold':
  66. (.text.unlikely+0x896): undefined reference to `XML_Parse'
  67. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `call_character_handler.cold':
  68. (.text.unlikely+0xa6d): undefined reference to `XML_SetCharacterDataHandler'
  69. /usr/bin/ld: (.text.unlikely+0xa9a): undefined reference to `XML_SetCharacterDataHandler'
  70. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `get_parse_result.cold':
  71. (.text.unlikely+0xada): undefined reference to `XML_GetErrorCode'
  72. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_ParseFile.cold':
  73. (.text.unlikely+0xbad): undefined reference to `XML_ParseBuffer'
  74. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `xmlparse_ErrorLineNumber_getter':
  75. (.text.unlikely+0xd63): undefined reference to `XML_GetCurrentLineNumber'
  76. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `xmlparse_namespace_prefixes_setter':
  77. (.text.unlikely+0xf8b): undefined reference to `XML_SetReturnNSTriplet'
  78. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `set_error.isra.0':
  79. (.text.unlikely+0x1040): undefined reference to `XML_GetCurrentLineNumber'
  80. /usr/bin/ld: (.text.unlikely+0x104b): undefined reference to `XML_GetCurrentColumnNumber'
  81. /usr/bin/ld: (.text.unlikely+0x1056): undefined reference to `XML_ErrorString'
  82. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_UseForeignDTD':
  83. (.text.unlikely+0x11c8): undefined reference to `XML_UseForeignDTD'
  84. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_ExternalEntityParserCreate':
  85. (.text.unlikely+0x1994): undefined reference to `XML_ExternalEntityParserCreate'
  86. /usr/bin/ld: (.text.unlikely+0x19e5): undefined reference to `XML_SetUserData'
  87. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_ErrorString':
  88. (.text.unlikely+0x1e55): undefined reference to `XML_ErrorString'
  89. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `xmlparse_ErrorColumnNumber_getter':
  90. (.text.unlikely+0x1f0a): undefined reference to `XML_GetCurrentColumnNumber'
  91. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_SetBase':
  92. (.text.unlikely+0x2547): undefined reference to `XML_SetBase'
  93. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `xmlparse_ErrorCode_getter':
  94. (.text.unlikely+0x25f1): undefined reference to `XML_GetErrorCode'
  95. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `xmlparse_ErrorByteIndex_getter':
  96. (.text.unlikely+0x2607): undefined reference to `XML_GetCurrentByteIndex'
  97. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_GetBase':
  98. (.text.unlikely+0x261e): undefined reference to `XML_GetBase'
  99. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `pyexpat_xmlparser_GetInputContext':
  100. (.text.unlikely+0x264f): undefined reference to `XML_GetInputContext'
  101. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `flag_error':
  102. (.text.unlikely+0xf4b): undefined reference to `XML_SetExternalEntityRefHandler'
  103. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `my_ElementDeclHandler':
  104. (.text.unlikely+0x1dfd): undefined reference to `XML_FreeContentModel'
  105. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC75':
  106. (.rodata.cst8+0x8): undefined reference to `XML_GetErrorCode'
  107. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC76':
  108. (.rodata.cst8+0x10): undefined reference to `XML_GetCurrentLineNumber'
  109. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC77':
  110. (.rodata.cst8+0x18): undefined reference to `XML_ParserCreate_MM'
  111. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC78':
  112. (.rodata.cst8+0x20): undefined reference to `XML_SetCharacterDataHandler'
  113. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC79':
  114. (.rodata.cst8+0x28): undefined reference to `XML_SetDefaultHandlerExpand'
  115. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC80':
  116. (.rodata.cst8+0x30): undefined reference to `XML_SetNamespaceDeclHandler'
  117. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC81':
  118. (.rodata.cst8+0x38): undefined reference to `XML_SetUnknownEncodingHandler'
  119. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): in function `.LC82':
  120. (.rodata.cst8+0x40): undefined reference to `XML_SetStartDoctypeDeclHandler'
  121. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `PyInit_zlib':
  122. (.text+0x1f1): undefined reference to `zlibVersion'
  123. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_crc32':
  124. (.text+0x2e8): undefined reference to `crc32'
  125. /usr/bin/ld: (.text+0x358): undefined reference to `crc32'
  126. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_compressobj':
  127. (.text+0x5e3): undefined reference to `deflateInit2_'
  128. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_decompressobj':
  129. (.text+0x832): undefined reference to `inflateInit2_'
  130. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_Compress_compress':
  131. (.text+0xa77): undefined reference to `deflate'
  132. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_Decompress_decompress':
  133. (.text+0xd64): undefined reference to `inflate'
  134. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `Decomp_dealloc':
  135. (.text+0xed6): undefined reference to `inflateEnd'
  136. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_Compress_flush':
  137. (.text+0x10ba): undefined reference to `deflate'
  138. /usr/bin/ld: (.text+0x10e6): undefined reference to `deflateEnd'
  139. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_Decompress_flush':
  140. (.text+0x137b): undefined reference to `inflate'
  141. /usr/bin/ld: (.text+0x13e1): undefined reference to `inflateEnd'
  142. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_decompress':
  143. (.text+0x15a7): undefined reference to `inflateInit2_'
  144. /usr/bin/ld: (.text+0x1611): undefined reference to `inflate'
  145. /usr/bin/ld: (.text+0x164d): undefined reference to `inflateEnd'
  146. /usr/bin/ld: (.text+0x16b7): undefined reference to `inflateEnd'
  147. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_crc32.cold':
  148. (.text.unlikely+0xf): undefined reference to `crc32'
  149. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_compressobj.cold':
  150. (.text.unlikely+0x170): undefined reference to `deflateSetDictionary'
  151. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `Comp_dealloc.cold':
  152. (.text.unlikely+0x874): undefined reference to `deflateEnd'
  153. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_adler32':
  154. (.text.unlikely+0x9a3): undefined reference to `adler32'
  155. /usr/bin/ld: (.text.unlikely+0x9b8): undefined reference to `adler32'
  156. /usr/bin/ld: (.text.unlikely+0x9d0): undefined reference to `adler32'
  157. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_Compress_copy_impl':
  158. (.text.unlikely+0xb6b): undefined reference to `deflateCopy'
  159. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_compress':
  160. (.text.unlikely+0xe23): undefined reference to `deflateInit_'
  161. /usr/bin/ld: (.text.unlikely+0xe6f): undefined reference to `deflateEnd'
  162. /usr/bin/ld: (.text.unlikely+0xee4): undefined reference to `deflateEnd'
  163. /usr/bin/ld: (.text.unlikely+0xf00): undefined reference to `deflate'
  164. /usr/bin/ld: (.text.unlikely+0xf24): undefined reference to `deflateEnd'
  165. /usr/bin/ld: (.text.unlikely+0xf4a): undefined reference to `deflateEnd'
  166. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_Decompress_copy_impl':
  167. (.text.unlikely+0x101e): undefined reference to `inflateCopy'
  168. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `zlib_decompress.cold':
  169. (.text.unlikely+0x1172): undefined reference to `inflateEnd'
  170. /usr/bin/ld: (.text.unlikely+0x11a3): undefined reference to `inflateEnd'
  171. /usr/bin/ld: (.text.unlikely+0x123c): undefined reference to `inflateEnd'
  172. /usr/bin/ld: (.text.unlikely+0x1264): undefined reference to `inflateEnd'
  173. /usr/bin/ld: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(zlibmodule.o): in function `set_inflate_zdict':
  174. (.text.unlikely+0x138a): undefined reference to `inflateSetDictionary'
  175. collect2: error: ld returned 1 exit status
  176. make: *** [makefile:2: test1] Error 1
Advertisement
Add Comment
Please, Sign In to add comment