Hello,

I want to port libtorrent to android arm architecture, I know there are
solutions like transdorid where one can control the client remotely but I am
more interested in the transferring mechanism.

 I used amr-eabi-gcc compiler included in android tools and compiled
libtorrent and its dependencies as a shared libraries with the simple client
(instead of rtorrent) as the executable. When I run the simple client the
program fails at "Last minute panic; sizeof(off_t) != 8." at the check if
(sizeof(off_t) != 8 at file_list.cc:365

The off_t is 32-bit in android's bionic C library and sizeof(off_t) returns
4.

I've tried to configure with –disable-largefile flag but this doesn't remove
or bypass the hardcoded 8 byte check. What is the purpose of this check? Is
there any configurations I can do to libtorrent or libcurl to make it work?
If I comment out that internal error throw, I get Segmentation fault later.

Hope somebody has some wise words on this!

Best Regards,

Alexej
_______________________________________________
Libtorrent-devel mailing list
[email protected]
http://rakshasa.no/mailman/listinfo/libtorrent-devel

Reply via email to