View Single Post
Old 07-18-2008, 04:02 PM   #4
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by LazyScot View Post
Many thanks for this.
You're welcome

Quote:
Originally Posted by LazyScot View Post
ltrace doesn't really cross compile (I'd had to hack a few files). Given you've done it is the simulator, its not a cross compile problem -- I probably now need to start understanding the code .
The part you're talking about is the one in the sysdeps directory. The README there explains that those are the architecture-specific functions that do the hard work.

While compiling it I feared that configure detected that I was using a 2.6 kernel and compled the worng parts, but after looking around, I didn't saw any hints for different code in 2.4 and in 2.6. BUT when I tried ltrace in scratchbox, I get a lot of lines such as:

qemu: Unsupported syscall: 26

So, may be it's kernel dependant. Anyway, I've compiled an older version (0.3.36, the one that came with debian sarge, as sarge used a 2.4.x kernel), if you can try if it works... ;-).

http://projects.mobileread.com/iliad...6_iliad.tar.gz

P.S.: ltrace 0.3.36 generates the same unsupported syscall as ltrace 0.5, so my hopes are not very high...
Antartica is offline   Reply With Quote