07-11-2012, 01:48 PM | #76 |
Member
Posts: 13
Karma: 10
Join Date: May 2012
Device: kindle touch
|
ok, this require a lot of information and knowledge that i'm missing. Apparently i have to read a huge amount of data before understanding how to make a toolchain work. Said that i will try tcc (as a substitute of gcc since someone has already compiled it) and play a bit with it before messing things up with the sources of gcc which, i'm sure, are too difficoult for me to understand.
new problem: i've tried the apps on the website but some of them won't work. in particular: elinks: it can't find libssl.so.1.0.0 ettercap: same as above where i can find and where i have to put this library in order for those programs to work? tia for the help, i'm eager to learn |
07-11-2012, 01:51 PM | #77 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@imfede: They were built for an older FW version (The KT moved from OpenSSL 0.9.8 to OpenSSL 1.0.x in FW 5.1.0).
Rebuild them against OpenSSL 1, or link them statically. (I'd recommend against just symlinking OpenSSl 0.9 to OpenSSL 1, the soname was bumped for a reason, so expect ABI mismatches if you do that). Alternatively, you could pull the OpenSSL lib from FW 5.0.x, put in somewhere in the userstore, and run the tools with a tweaked LD_LIBRARY_PATH that has your custom path before the rest. EDIT: See #82, brainfart. It's actually the other way around . [Well, technically, my answer could still apply, except, well, the other way around (0.9.8 <=> 1.0.x / 5.0.x <=> 5.1.x) . But, yeah, probably easier to just upgrade ] Last edited by NiLuJe; 07-11-2012 at 05:11 PM. |
Advert | |
|
07-11-2012, 02:05 PM | #78 |
Member
Posts: 13
Karma: 10
Join Date: May 2012
Device: kindle touch
|
things going crazy
important question: in your third line, "i'd recommend against just ..." should be "i'd reccommend again just"? if not i don't understand why i have to symlink openssl 0.9 to openssl 1 and not just change the library name during the compile. but i can be completely wrong since the sentence "the soname was bumped for a reason, so expect ABI mismatches if you do that" make no sense for me. i'm a noob here, have to study a lot
oh and btw my kindle has the 5.0.4 fw. |
07-11-2012, 02:20 PM | #79 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The linux kernel (and other stuff) changed in 5.0.4. So the required libs may be for 5.0.3 and earlier... |
|
07-11-2012, 03:51 PM | #80 |
Member
Posts: 13
Karma: 10
Join Date: May 2012
Device: kindle touch
|
very difficult to concentrate right now, i think i will relax a bit now, i just want to have a c compiler on my kindle, but it seems almost impossible for me. that's a pity but i need more information on the subject, i hoped it was simpler
|
Advert | |
|
07-11-2012, 03:58 PM | #81 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
There is a tcc thread, where you can download a tcc package with installer (and an included demo program). Look in the tools index. Download it. Read its README. Install it. Use that until you figure out a "better" way. It is not for building full "make" packages. Better for demos and stuff. Or... just install codesourcery on a linux box and use that to cross-compile. But tcc is much easier for simple stuff like my kindle animation demos. Last edited by geekmaster; 07-11-2012 at 04:01 PM. |
|
07-11-2012, 04:35 PM | #82 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
And imfede must have some older FW. @imfede upgrade! Last edited by baf; 07-11-2012 at 04:50 PM. |
|
07-11-2012, 05:09 PM | #83 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baf: Bleh, you're completely right! Sorry ;/
I somehow assumed it was the other way around because that's usually the case, but it didn't really make sense with both the poster's output, and the comments on your webpage . Serves me right for thinking about something else while typing an answer . |
07-12-2012, 02:16 PM | #84 |
Connoisseur
Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
|
Thanks for the warning, and also about space. I've moved the binary to a directory under /mnt/us which I was already using for my experiments (I try to keep the main fs mounted readonly). Replaced it with a symbolic link, so it's still in the $PATH.
|
07-17-2012, 08:17 AM | #85 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: Kindle Touch
|
Hi all,
I've been hacking away on xterm and installed vim. A dream come true! Thanks a lot to baf and the others for your efforts. Two quick questions: - what shell file gets started when launching xterm? (i've tried adding some symlinks or other commands to "/mnt/us/extensions/xterm/bin/xterm.sh" but that doesn't seem to work) - vim interpreted the "/mnt/us/extensions/xterm/bin/.vimrc" perfectly at first, but then I ran into a pernicious problem, which I cannot trace for the life of me: namely the mapping such as nmap on :e /mnt/us/notes.txt<cr> would not call the corresponding <cr> (and similarly with <tab>, <bs> etc.). It wouldn't matter too much for this single one, but I have a lot of such mappings -- and most annoying it worked well at first! Any help appreciated |
07-17-2012, 08:36 AM | #86 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
What about <lf> ?
|
07-17-2012, 09:31 AM | #87 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: Kindle Touch
|
<lf> doesn't work either.
|
07-17-2012, 10:37 AM | #88 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: Kindle Touch
|
I found the solution whilst browsing in vim docs.
I needed to set "nocompatible" (to make sure the '<' flag is excluded from 'cpoptions') |
07-26-2012, 08:25 PM | #89 |
Member
Posts: 23
Karma: 193423
Join Date: Jul 2012
Device: Kindle Touch
|
Your keyboard.xml in 0.6 has an apostrophe as the action for the double quote key.
It should look like this instead: Code:
<default display="image:/mnt/us/extensions/xterm/layouts/img/apostrophe.png" action="'" /> <shifted display="image:/mnt/us/extensions/xterm/layouts/img/quot.png" action=""" /> |
07-26-2012, 08:35 PM | #90 |
Member
Posts: 23
Karma: 193423
Join Date: Jul 2012
Device: Kindle Touch
|
|
Tags |
launcher add-ons |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Progress] Jailbreaking Kindle 4.0 (Touch/No Keyboard) | yifanlu | Kindle Developer's Corner | 434 | 04-22-2016 10:29 AM |
Battery life in kindle keyboard an kindle non touch. | ersott | Amazon Kindle | 24 | 10-30-2013 04:33 AM |
[Kindle Touch] Touch-screen keyboard demo | JoppyFurr | Kindle Developer's Corner | 6 | 05-19-2012 11:04 AM |
Kindle Touch add new keyboard | Novas | Kindle Developer's Corner | 2 | 01-12-2012 08:29 AM |
Matchbox Keyboard Update | Grimulkan | iRex | 17 | 05-13-2009 04:24 PM |