Sign up here and you can log into the forum!

Compiling on the WDTV ?

Have a question about devices internals, memory layout, reverse engineering, etc---This is the place for anything so technical that it would cause a n00b's head to 'splode

Re: Compiling on the WDTV ?   

Postby DJArty » Sat Sep 11, 2010 6:07 am

Ok
now compile htop ( real memory usage and other cookies ;) )
No problem - running without any LD_LIBRARY but use libc.so.6 too...
Code: Select all
ldd htop
   libncurses.so.5 => /lib/libncurses.so.5 (0x2aad8000)
   libm.so.6 => /lib/libm.so.6 (0x2ab28000)
   libc.so.6 => /lib/libc.so.6 (0x2abb4000)
   libdl.so.2 => /lib/libdl.so.2 (0x2ad18000)
   /lib/ld.so.1 (0x2aaa8000)

May be mess. from transmission-daemon "/lib/libc.so.6: version `GLIBC_2.11' not found " because ./configure have this restriction? ...
WD TV Live (1.02.21-WDLXTV-0.4.7.3);
Donate for beer (WebMoney): WMZ114867333413; WMU219453404899; WMR161810775332
MoneyBookers to email : dj_arty ( a t ) mail.ru
PayPal to email: djartyua ( a t ) gmail (d o t) com
User avatar
DJArty
Developer
 
Posts: 302
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: Compiling on the WDTV ?   

Postby chameleon_skin » Sat Sep 11, 2010 9:35 am

psychodad wrote:im trying to compile the mkvtoolnix package because i want to create a customized mkvinfo.
i successfully compiled the matroska libs from matroska.org
but when compiling mkvtoolnix i get a segmentation fault by gcc after some files (and some minutes).
before mounting the squeeze image i killed all processes like dmaosd and so on to have as much free memory as possible.

did someone noticed such an error before and can help me?


Most likely there would have been error messages showing up when you ran 'make' before the segfault. Did you see anything like that?
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

Re: Compiling on the WDTV ?   

Postby chameleon_skin » Sat Sep 11, 2010 9:37 am

DJArty wrote:libc.so.6 and libevent-1.4.so.2 (squeeze version) placed into the /apps/transmission/usr/lib/ of app.bin and have export LD_LIBRARY_PATH=/apps/transmission/usr/lib/ in running script.
/apps/transmission/usr/lib/ in app.bin - so this is like mirror of real /usr/bin.
Still Segfault :(


Again, what exactly are you trying to do? Build transmission from scratch? If so, why? Knowing this will help to figure out what the issue is.

Also, please post the output of running 'make' so I can see if there are any errors in there.
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

Re: Compiling on the WDTV ?   

Postby DJArty » Sat Sep 11, 2010 10:25 am

chameleon_skin wrote:trying to do?

Debian squeeze filesystem image on WD disk, chroot into it.
Download trans 2.04 final or svn..
Download all dependency deb for trans compil.
./configure (transmission-demon only) - no error
make && make install - no error ...
Running under chrooted squeeze normal.
Running under clear WD - error or segfault. Main Question - GLIBC_2.11
WD TV Live (1.02.21-WDLXTV-0.4.7.3);
Donate for beer (WebMoney): WMZ114867333413; WMU219453404899; WMR161810775332
MoneyBookers to email : dj_arty ( a t ) mail.ru
PayPal to email: djartyua ( a t ) gmail (d o t) com
User avatar
DJArty
Developer
 
Posts: 302
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: Compiling on the WDTV ?   

Postby nik-k » Tue Sep 14, 2010 12:21 pm

I tried the same with irssi. It compiles and works without any problems in squeeze chroot environment on wdtv.
If i try to start it as an app.bin on wdtv, I get the following:

irssi: symbol lookup error: irssi: undefined symbol: g_malloc0_n
nik-k
n00b
 
Posts: 6
Joined: Thu May 13, 2010 12:46 pm

Re: Compiling on the WDTV ?   

Postby b-rad.cc » Tue Sep 14, 2010 8:48 pm

well it sounds like glibc 2.11 has symbols that don't exist in 2.8. That isn't easily gotten around, solution is to produce a lenny image to chroot into.
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Compiling on the WDTV ?   

Postby nik-k » Sat Sep 18, 2010 6:13 am

Thanks a lot, b-rad.

It does the trick! :-)
nik-k
n00b
 
Posts: 6
Joined: Thu May 13, 2010 12:46 pm

Re: Compiling on the WDTV ?   

Postby DJArty » Sat Sep 18, 2010 9:05 am

Ok, I'm got transmission 2.04 by remove some glibc2.11 function from code - not true way but looks like working.
WD TV Live (1.02.21-WDLXTV-0.4.7.3);
Donate for beer (WebMoney): WMZ114867333413; WMU219453404899; WMR161810775332
MoneyBookers to email : dj_arty ( a t ) mail.ru
PayPal to email: djartyua ( a t ) gmail (d o t) com
User avatar
DJArty
Developer
 
Posts: 302
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: Compiling on the WDTV ?   

Postby hurra2003 » Mon Sep 20, 2010 4:08 am

Hi,
since yesterday I am an owner of the WD TV Live as well. I have a Topfield TF5000PVR too. As this device is recognised by the WD TV Live (also with the WDLXTV Firmware) I wonder if I could access it.
Unfortunately there is currently no support for optware on the WD TV Live version. But I got the source code of a ftp tool using the USB port to access the Toppy. So I can use the WD TV Live similar to a SLUG.
My Linux knowledge is basic as I startet just recently, but maybe some of you could help to compile the sourcecode to the WD TV Live.
Source Code: http://birdman.dynalias.org/Toppy/R2-D2/
There are versions for Intel and Arm, but maybe Sigma is possible too?

Kind regards.
Hurra2003
hurra2003
n00b
 
Posts: 7
Joined: Mon Sep 20, 2010 3:53 am

Re: Compiling on the WDTV ?   

Postby chameleon_skin » Mon Sep 20, 2010 6:57 am

I suggest you just try compiling it yourself - b-rad has a great sticky at the beginning of this forum telling how to compile code on the wdtv using a debian squeeze image. There is also a stickie in the app.bin section telling how to create an app.bin file and add your compiled code to it. Then, you just need to put the app.bin on your usb key and reboot your wdtv live.

I'd say try to compile and install using those two guides, and if you run into specific problems then post them back to the forum.
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

PreviousNext

Return to WDTV Live

Who is online

Users browsing this forum: bass-c and 1 guest