Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1.  
  2. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# dpkg -x libpython2.7-dev_2.7.9-2+deb8u1_armel.deb libpython2.7-dev_2.7.9-2_armel_extracted
  3. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# ls
  4. libpython2.7-dev_2.7.9-2+deb8u1_armel.deb pylzma_compressobj.h
  5. libpython2.7-dev_2.7.9-2_armel_extracted pylzma_decompress.c
  6. pylzma.c pylzma_decompress.h
  7. pylzma.h pylzma_decompress_compat.c
  8. pylzma_aes.c pylzma_decompress_compat.h
  9. pylzma_aes.h pylzma_decompressobj.c
  10. pylzma_compress.c pylzma_decompressobj.h
  11. pylzma_compress.h pylzma_decompressobj_compat.c
  12. pylzma_compressfile.c pylzma_decompressobj_compat.h
  13. pylzma_compressfile.h pylzma_streams.c
  14. pylzma_compressobj.c pylzma_streams.h
  15. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# sudo cp -r libpython2.7-dev_2.7.9-2_armel_extracted/usr/include/arm-linux-gnueabi/ /home/python_arm
  16. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# $CCC pylzma.c -o py7ztest -I /usr/include/python2.7 -I /home/python_arm && $SSTRIP py7ztest
  17. In file included from /usr/include/python2.7/Python.h:8:0,
  18. from pylzma.c:26:
  19. /usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
  20. # include <arm-linux-gnueabi/python2.7/pyconfig.h>
  21. ^
  22. compilation terminated.
  23. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# sudo cp -r libpython2.7-dev_2.7.9-2_armel_extracted/usr/include/arm-linux-gnueabi/ /usr/local/include/
  24. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# $CCC pylzma.c -o py7ztest -I /usr/include/python2.7 -I /home/python_arm && $SSTRIP py7ztest
  25. In file included from /usr/include/python2.7/Python.h:8:0,
  26. from pylzma.c:26:
  27. /usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
  28. # include <arm-linux-gnueabi/python2.7/pyconfig.h>
  29. ^
  30. compilation terminated.
  31. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# $CCC pylzma.c -o py7ztest -I /usr/include/python2.7 -I /home/python_arm && $SSTRIP py7ztest
  32. In file included from /usr/include/python2.7/Python.h:8:0,
  33. from pylzma.c:26:
  34. /usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
  35. # include <arm-linux-gnueabi/python2.7/pyconfig.h>
  36. ^
  37. compilation terminated.
  38. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# $CCC pylzma.c -o py7ztest -I /usr/include/python2.7 -I /usr/local/include && $SSTRIP py7ztest
  39. In file included from pylzma.c:29:0:
  40. ../7zip/C/Sha256.h:7:19: fatal error: Types.h: No such file or directory
  41. #include "Types.h"
  42. ^
  43. compilation terminated.
  44. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# ls ../sdk
  45. 7zFormat.txt LzFind.h LzHash.h LzmaEnc.c Threads.c history.txt
  46. 7zVersion.h LzFindMt.c LzmaDec.c LzmaEnc.h Threads.h lzma.txt
  47. LzFind.c LzFindMt.h LzmaDec.h Methods.txt Types.h
  48. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# cp ../sdk/*.h /usr/local/include
  49. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# $CCC pylzma.c -o py7ztest -I /usr/include/python2.7 -I /usr/local/include && $SSTRIP py7ztest
  50. /root/ndkTC/bin/../sysroot/usr/lib/crtbegin_dynamic.o:crtbrand.c:function _start: error: undefined reference to 'main'
  51. collect2: error: ld returned 1 exit status
  52. root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement