[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
Compiling on the WDTV ?
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 b-rad.cc » Sun May 16, 2010 7:38 pm

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: 3003
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Compiling on the WDTV ?   

Postby sailort » Tue May 18, 2010 4:02 am

BRILLIANT!!!
Was about to PM you with ask for this, but you are one step ahead as usual :D
THANKS!!!
T.
If you like my work and want to buy me a bottle of wine, you can do it . Thanks for your support.
sailort
Developer
 
Posts: 365
Joined: Sat Apr 24, 2010 6:42 am

Re: Compiling on the WDTV ?   

Postby player_sct » Thu May 20, 2010 1:00 pm

pLayer / Suspect
---------------------

User avatar
player_sct
Beta Tester
 
Posts: 90
Joined: Sun Apr 11, 2010 6:29 am
Location: Poland

Re: Compiling on the WDTV ?   

Postby thespecialist » Thu May 20, 2010 4:26 pm

Ok, tried to get this going but this Linux n00b is having some trouble :) What I did:

extract that img to my usb drive, together with that script, named it 1.sh. Then inserted that stick in the WDTV, and via telnet typed:
bash 1.sh

However it doesnt work, it says something about an unexpected end ..
thespecialist
Developer
 
Posts: 410
Joined: Sat Apr 24, 2010 6:59 am

Re: Compiling on the WDTV ?   

Postby thespecialist » Thu May 20, 2010 4:27 pm

bash 1.sh
: command not found
1.sh: line 25: syntax error: unexpected end of file
#
thespecialist
Developer
 
Posts: 410
Joined: Sat Apr 24, 2010 6:59 am

Re: Compiling on the WDTV ?   

Postby cabe2001 » Thu May 20, 2010 5:13 pm

try copy/paste the script in nano, notepad and other windows text editor insert CR/LF chars, unix text editor don't. (sorry my english)
cabe2001
Donor
 
Posts: 46
Joined: Mon Apr 12, 2010 7:45 am
Location: Buenos Aires, Argentina.

Re: Compiling on the WDTV ?   

Postby b-rad.cc » Thu May 20, 2010 5:44 pm

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: 3003
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Compiling on the WDTV ?   

Postby thespecialist » Thu May 20, 2010 7:19 pm

thespecialist
Developer
 
Posts: 410
Joined: Sat Apr 24, 2010 6:59 am

Re: Compiling on the WDTV ?   

Postby thespecialist » Thu May 20, 2010 7:45 pm

Hehe, this is kinda cool. Ok, so I issued those 2 apt-get commands, which worked. Now, I have a directory with source code, how do I get that onto this 'new' system ? I can't access the 'old' one ('the 'real' WDTV filesystem), can I ? If I ftp to the wdtv, I'm of course not inside this 'new' system. I tried to mount the usb drive but I guess that's not possible either ?
thespecialist
Developer
 
Posts: 410
Joined: Sat Apr 24, 2010 6:59 am

Re: Compiling on the WDTV ?   

Postby b-rad.cc » Thu May 20, 2010 8:08 pm

You'll need some Linux experience, which will come to you as you play ;)

Say your squeeze is at /tmp/squeeze and you're 'stuck' there in shell #1.

Start up shell #2 (telnet/ssh) and do ls /tmp/squeeze. That is the root of that filesystem. Now you just have to prepend /tmp/squeeze to anything you see in shell #1 to run and test whatever. Just be warned that libraries might not exist in the fw that are required for you run them. ldd will tell you what libs are dependent and what you're missing, if anything. If you're not missing any libs then you can run from inside the fw itself and not in squeeze. If you're missing libs then you'll need to either add an extra path to /etc/ld.so.cache and rescan with ldconfig -C /tmp/ld.so.cache, or copy the missing libs to /usr/lib. You might get conflicts just adding an extra path to /etc/ld.so.cache because the fw uses glibc-2.8 while squeeze uses glibc-2.10.

If you're wanting to use gdb or any system tools though, then theres no need really to leave the squeeze environment because /proc is mounted from the fw and therefore you have access to all pids from inside squeeze to attach to.

Is this clear enough? If you need to know anything else just say. :ugeek:
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: 3003
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Next

Return to WDTV Live

Who is online

Users browsing this forum: No registered users and 2 guests

cron