Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2016, 10:06 AM   #121
PSGrabber
Member
PSGrabber began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
No luck with v1.6.4.37. The result is the same
PSGrabber is offline   Reply With Quote
Old 02-21-2016, 10:46 AM   #122
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
Weird, I made a point of building w/ -march=core2 for just that reason... And I'm not aware of any of the components trying to be smart with CFLAGS, so, double-weird...

If you can, see if building it yourself via homebrew leads to a better result?
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 12:38 PM   #123
PSGrabber
Member
PSGrabber began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
I do not have homebrew installed and, probably, won't install it just for this purpose only. It would be much simpler for me to try a different machine with different OS. Nevertheless, many thanks for help
PSGrabber is offline   Reply With Quote
Old 02-21-2016, 12:48 PM   #124
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
@PSGrabber: Perfectly understandable .

If you could get me a backtrace of the SIGILL, I might be able to pinpoint if something's misbehaving, and/or if I simply expected XCode's clang to behave like GCC while it in fact does not.
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 02:06 PM   #125
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
@PSGrabber:

I may have managed to make gmp behave and not try to target my own CPU, but the one I'm actually explicitly targeting, and thus not include highly cpu-specific assemby routines, so, does this build run on your machine?

Last edited by NiLuJe; 02-21-2016 at 07:19 PM. Reason: Killed the now deprecated attachment, I've updated the snapshots.
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 02:20 PM   #126
PSGrabber
Member
PSGrabber began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
This time I get
Code:
Invalid number of supported devices (3) for this update type (OTA V1).
PSGrabber is offline   Reply With Quote
Old 02-21-2016, 02:46 PM   #127
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
@PSGrabber: With the exact same commandline as in your previous code block?

That's... weird (again ^^).
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 06:16 PM   #128
PSGrabber
Member
PSGrabber began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
exactly the same
Oh, no, not exactly - this time I used
Code:
-d kindle3
and this produces error. But it finally works when I change it to
Code:
-d k3w
Thus, only alias remains to fix, imho

Last edited by PSGrabber; 02-21-2016 at 06:28 PM. Reason: Correction
PSGrabber is offline   Reply With Quote
Old 02-21-2016, 06:22 PM   #129
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
Does the number in parenthesis change, or is it always 3? (Try with other device names?).

That's a very simple piece of code (which works perfectly well everywhere else), so I'm going to assume that something is subtly corrupting memory somewhere when run on these CPUs, which I'll somehow chalk up to XCode and I'm not sure I can do anything about, but, still, interestingly weird ^^.
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 06:31 PM   #130
PSGrabber
Member
PSGrabber began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
I have edited my previous post
PSGrabber is offline   Reply With Quote
Old 02-21-2016, 07:14 PM   #131
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
@PSGrabber: Great!

Then good news all around: the alias isn't supposed to work, OTA V1 only supports a *single* target device (hence the mess of packages when distributing stuff for those devices. And unless you use MRPI, we have to stick to OTA V1 on those devices).

(The error message is slightly vague because it's used in a number of different situations, and the mess of tests in the if block is already beastly enough as it is ;p).

Thanks for your various tests, I'd never have thought that something was wrong on those CPUs since I thought I'd already done enough to support them .

Last edited by NiLuJe; 02-21-2016 at 07:26 PM.
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 07:27 PM   #132
PSGrabber
Member
PSGrabber began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Keyboard
@NiLuJe: Many thanks for your great help and support
PSGrabber is offline   Reply With Quote
Old 03-21-2016, 07:14 PM   #133
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
Oh, joy, it's that time of the year again...

We'll see how that turns out, I guess...

Last edited by NiLuJe; 03-21-2016 at 07:17 PM.
NiLuJe is offline   Reply With Quote
Old 03-28-2016, 02:19 PM   #134
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
The mingw x64 kindletool.exe fails when doing an extract, because x64 windows does not allow user apps to create files on the hdd root. I changed the win32 (& not cygwin) temp path from "" to "." to use the current dir instead of root. A github pull request is pending. I did not do a build (no toolchain installed here).

EDIT: It looks like I need to setup a toolchain on this computer. Proposing changes without testing them is relatively pointless.

EDIT2: Even yifanlu's older kindletool fails extract with "Cannot create temporary file." on my win7 x64. Time to use linux instead?

Last edited by geekmaster; 03-28-2016 at 02:55 PM.
geekmaster is offline   Reply With Quote
Old 03-28-2016, 08:26 PM   #135
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,012
Karma: 21222339
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma & Elipsa
@geekmaster: Yup, known issue. Not limited to x64, IIRC.

Running as a privileged account is the current workaround.

I'll check soon-ish if using $PWD helps.
If someone *really* cares, it should be done right w/ GetTempPathW... Which opens a whole n'other can of worms, because I currently royally disregard's Windows Unicode mess... (char vs. wchar_t). Which is also why, if you ever manage to get a libarchive error printed, it'll be mangled.
NiLuJe is offline   Reply With Quote
Reply

Tags
kindletool, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BookCreator: Does anybody create IMP files using BC? =X= Workshop 0 01-07-2011 01:20 PM
Create readable .mobi files out of pdfs jordan13589 Amazon Kindle 3 12-21-2010 11:35 PM
Create catalogue without creating new files and folders? zaphod234 Calibre 4 07-21-2010 06:44 PM
Firmware Update Kindle dx not sorting recent files after 2.5 update,help nayito2 Amazon Kindle 8 06-05-2010 12:49 PM
unpack requires a string argument of length 2 Sannepan Calibre 2 02-23-2010 02:05 PM


All times are GMT -4. The time now is 04:08 AM.


MobileRead.com is a privately owned, operated and funded community.