View Single Post
Old 03-20-2025, 08:50 AM   #84
juegos
Connoisseur
juegos can extract oil from cheesejuegos can extract oil from cheesejuegos can extract oil from cheesejuegos can extract oil from cheesejuegos can extract oil from cheesejuegos can extract oil from cheesejuegos can extract oil from cheesejuegos can extract oil from cheese
 
Posts: 70
Karma: 1000
Join Date: May 2017
Device: none
Thanks for the suggestions! I've been trying but I get stuck unfortunately (I am on Fedora, if that matters), if anyone with more knowledge than me on this would have any tips, thanks a lot:

cd /Users/admin/Dropbox/proj/z_kindle/
git clone https://github.com/hwhw/kindlevncviewer.git
cd kindlevncviewer
git clone https://github.com/koreader/koxtoolchain.git
cd koxtoolchain
./gen-tc.sh kindlehf
source refs/x-compile.sh kindlehf env
cd ..
git submodule update --init --recursive
make ARCH=arm-kindlehf-linux-gnueabihf



which then gives me:

(base) admin@fedora:~/Dropbox/proj/z_kindle/kindlevncviewer$ make ARCH=arm-kindlehf-linux-gnueabihf
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
sed -i -e "s/CC= gcc/CC= gcc -D_GNU_SOURCE=1/" luajit-2.0/src/Makefile
make -C luajit-2.0 HOST_CC="gcc -m32" CROSS=arm-kindlehf-linux-gnueabihf-
make[1]: Entering directory '/n/Dropbox/proj/z_kindle/kindlevncviewer/luajit-2.0'
==== Building LuaJIT 2.1.0-alpha ====
make -C src
make[2]: Entering directory '/n/Dropbox/proj/z_kindle/kindlevncviewer/luajit-2.0/src'
HOSTCC host/minilua.o
gcc: error: unrecognized command-line option ‘-mfpu=neon’
gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
gcc: error: unrecognized command-line option ‘-mthumb’
make[2]: *** [Makefile:661: host/minilua.o] Error 1
make[2]: Leaving directory '/n/Dropbox/proj/z_kindle/kindlevncviewer/luajit-2.0/src'
make[1]: *** [Makefile:106: default] Error 2
make[1]: Leaving directory '/n/Dropbox/proj/z_kindle/kindlevncviewer/luajit-2.0'
make: *** [Makefile:46: luajit-2.0/src/luajit] Error 2

EDIT: removed luajit from Makefile - will get that 1 from KOReader - see if it works then.

Last edited by juegos; 03-20-2025 at 09:28 AM.
juegos is offline   Reply With Quote