[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)
forum.wdlxtv.com • Compiling on the WDTV ?
Page 1 of 9

Re: Compiling on the WDTV ?

PostPosted: Sun May 16, 2010 7:38 pm
by b-rad.cc

Re: Compiling on the WDTV ?

PostPosted: Tue May 18, 2010 4:02 am
by sailort
BRILLIANT!!!
Was about to PM you with ask for this, but you are one step ahead as usual :D
THANKS!!!
T.

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 1:00 pm
by player_sct

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 4:26 pm
by thespecialist
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 ..

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 4:27 pm
by thespecialist
bash 1.sh
: command not found
1.sh: line 25: syntax error: unexpected end of file
#

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 5:13 pm
by cabe2001
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)

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 5:44 pm
by b-rad.cc

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 7:19 pm
by thespecialist

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 7:45 pm
by thespecialist
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 ?

Re: Compiling on the WDTV ?

PostPosted: Thu May 20, 2010 8:08 pm
by b-rad.cc
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: