Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# ls
- libpython2.7-dev_2.7.9-2+deb8u1_armel.deb pylzma_compressobj.h
- libpython2.7-dev_2.7.9-2_armel_extracted pylzma_decompress.c
- pylzma.c pylzma_decompress.h
- pylzma.h pylzma_decompress_compat.c
- pylzma_aes.c pylzma_decompress_compat.h
- pylzma_aes.h pylzma_decompressobj.c
- pylzma_compress.c pylzma_decompressobj.h
- pylzma_compress.h pylzma_decompressobj_compat.c
- pylzma_compressfile.c pylzma_decompressobj_compat.h
- pylzma_compressfile.h pylzma_streams.c
- pylzma_compressobj.c pylzma_streams.h
- 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
- 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
- In file included from /usr/include/python2.7/Python.h:8:0,
- from pylzma.c:26:
- /usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
- # include <arm-linux-gnueabi/python2.7/pyconfig.h>
- ^
- compilation terminated.
- 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/
- 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
- In file included from /usr/include/python2.7/Python.h:8:0,
- from pylzma.c:26:
- /usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
- # include <arm-linux-gnueabi/python2.7/pyconfig.h>
- ^
- compilation terminated.
- 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
- In file included from /usr/include/python2.7/Python.h:8:0,
- from pylzma.c:26:
- /usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
- # include <arm-linux-gnueabi/python2.7/pyconfig.h>
- ^
- compilation terminated.
- 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
- In file included from pylzma.c:29:0:
- ../7zip/C/Sha256.h:7:19: fatal error: Types.h: No such file or directory
- #include "Types.h"
- ^
- compilation terminated.
- root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# ls ../sdk
- 7zFormat.txt LzFind.h LzHash.h LzmaEnc.c Threads.c history.txt
- 7zVersion.h LzFindMt.c LzmaDec.c LzmaEnc.h Threads.h lzma.txt
- LzFind.c LzFindMt.h LzmaDec.h Methods.txt Types.h
- root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma# cp ../sdk/*.h /usr/local/include
- 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
- /root/ndkTC/bin/../sysroot/usr/lib/crtbegin_dynamic.o:crtbrand.c:function _start: error: undefined reference to 'main'
- collect2: error: ld returned 1 exit status
- root@debian:/home/zombie/Downloads/pylzma-master/src/pylzma#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement