You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run epk2extract on my Raspberry Pi running Raspbian 64-bits.
I followed the steps for Ubunty/Devian to install build dependencies, and when executing the build I am getting this error:
pi@raspberrypi:~/scripts/epk2extract/epk2extract-master $ ./build.sh
Building epk2extract
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libcrypto.so (found version "1.1.1d")
-- Found LZO: /usr/lib/arm-linux-gnueabihf/liblzo2.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.11")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/scripts/epk2extract/epk2extract-master/build_linux/obj
Scanning dependencies of target mfile
[ 1%] Building C object src/CMakeFiles/mfile.dir/mfile.c.o
[ 3%] Linking C static library libmfile.a
[ 3%] Built target mfile
Scanning dependencies of target utils
[ 4%] Building C object src/CMakeFiles/utils.dir/util.c.o
[ 6%] Building C object src/CMakeFiles/utils.dir/util_crypto.c.o
[ 7%] Building C object src/CMakeFiles/utils.dir/thpool.c.o
[ 9%] Linking C static library libutils.a
[ 9%] Built target utils
Scanning dependencies of target stream
[ 10%] Building C object src/stream/CMakeFiles/stream.dir/crc32.c.o
[ 12%] Building C object src/stream/CMakeFiles/stream.dir/tsfile.c.o
[ 13%] Linking C static library libstream.a
[ 13%] Built target stream
Scanning dependencies of target cramfs
[ 15%] Building C object src/cramfs/CMakeFiles/cramfs.dir/cramfsswap.c.o
[ 16%] Building C object src/cramfs/CMakeFiles/cramfs.dir/uncramfs.c.o
[ 18%] Linking C static library libcramfs.a
[ 18%] Built target cramfs
Scanning dependencies of target squashfs
[ 20%] Building C object src/squashfs/CMakeFiles/squashfs.dir/compressor.c.o
[ 21%] Building C object src/squashfs/CMakeFiles/squashfs.dir/gzip_wrapper.c.o
[ 23%] Building C object src/squashfs/CMakeFiles/squashfs.dir/lzo_wrapper.c.o
[ 24%] Building C object src/squashfs/CMakeFiles/squashfs.dir/swap.c.o
[ 26%] Building C object src/squashfs/CMakeFiles/squashfs.dir/read_xattrs.c.o
[ 27%] Building C object src/squashfs/CMakeFiles/squashfs.dir/unsquash-1.c.o
[ 29%] Building C object src/squashfs/CMakeFiles/squashfs.dir/unsquash-2.c.o
[ 30%] Building C object src/squashfs/CMakeFiles/squashfs.dir/unsquash-3.c.o
[ 32%] Building C object src/squashfs/CMakeFiles/squashfs.dir/unsquash-4.c.o
[ 33%] Building C object src/squashfs/CMakeFiles/squashfs.dir/unsquashfs.c.o
[ 35%] Building C object src/squashfs/CMakeFiles/squashfs.dir/unsquashfs_info.c.o
[ 36%] Building C object src/squashfs/CMakeFiles/squashfs.dir/unsquashfs_xattr.c.o
[ 38%] Linking C static library libsquashfs.a
[ 38%] Built target squashfs
Scanning dependencies of target lz4
[ 40%] Building C object src/lz4/CMakeFiles/lz4.dir/lz4.c.o
[ 41%] Building C object src/lz4/CMakeFiles/lz4.dir/lz4hc.c.o
[ 43%] Building C object src/lz4/CMakeFiles/lz4.dir/lz4demo.c.o
[ 44%] Linking C static library liblz4.a
[ 44%] Built target lz4
Scanning dependencies of target lzma
[ 46%] Building C object src/lzma/CMakeFiles/lzma.dir/LzFind.c.o
[ 47%] Building C object src/lzma/CMakeFiles/lzma.dir/LzmaDec.c.o
[ 49%] Building C object src/lzma/CMakeFiles/lzma.dir/LzmaEnc.c.o
/home/pi/scripts/epk2extract/epk2extract-master/src/lzma/LzmaEnc.c: In function ‘LzmaEnc_Alloc’:
/home/pi/scripts/epk2extract/epk2extract-master/src/lzma/LzmaEnc.c:1903:8: warning: variable ‘btMode’ set but not used [-Wunused-but-set-variable]
Bool btMode;
^~~~~~
[ 50%] Linking C static library liblzma.a
[ 50%] Built target lzma
Scanning dependencies of target jffs2
[ 52%] Building CXX object src/jffs2/CMakeFiles/jffs2.dir/crc32.cpp.o
[ 53%] Building CXX object src/jffs2/CMakeFiles/jffs2.dir/jffs2extract.cpp.o
/home/pi/scripts/epk2extract/epk2extract-master/src/jffs2/jffs2extract.cpp: In function ‘long int lzo_decompress(unsigned char*, unsigned char*, uint32_t, uint32_t)’:
/home/pi/scripts/epk2extract/epk2extract-master/src/jffs2/jffs2extract.cpp:257:58: error: invalid conversion from ‘size_t*’ {aka ‘unsigned int*’} to ‘lzo_uint*’ {aka ‘long unsigned int*’} [-fpermissive]
ret = lzo1x_decompress_safe(data_in, srclen, cpage_out, &dl, NULL);
^~~
In file included from /home/pi/scripts/epk2extract/epk2extract-master/src/jffs2/jffs2extract.cpp:49:
/usr/include/lzo/lzo1x.h:63:58: note: initializing argument 4 of ‘int lzo1x_decompress_safe(const unsigned char*, lzo_uint, unsigned char*, lzo_uint*, void*)’
lzo_bytep dst, lzo_uintp dst_len,
^
make[2]: *** [src/jffs2/CMakeFiles/jffs2.dir/build.make:76: src/jffs2/CMakeFiles/jffs2.dir/jffs2extract.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:471: src/jffs2/CMakeFiles/jffs2.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Build Failed!
The text was updated successfully, but these errors were encountered:
I am trying to run epk2extract on my Raspberry Pi running Raspbian 64-bits.
I followed the steps for Ubunty/Devian to install build dependencies, and when executing the build I am getting this error:
The text was updated successfully, but these errors were encountered: