Page 5 of 6
Re: HelloWorld.c
Posted: Tue Aug 26, 2014 2:52 pm
by juusso
Same here on D6750
Code: Select all
root@[TV] /> echo TEST4 > /dev/stderr
/bin/sh: can't create /dev/stderr: Read-only file system
root@[TV] />
Re: HelloWorld.c
Posted: Tue Aug 26, 2014 4:10 pm
by sectroyer
That is completely expected

But for MrKalach it does nothing!!! It means either problem with connection (the obvious suspect ATM) and/or problem with TV. Until he fixes such issues there is no point in testing anything. He gets no output for "./seekpatch". Why? Maybe because it doesn't work or maybe he gets output but his "putty connection" doesn't display it

Maybe it randomly doesn't display stuff. Maybe even his hello world worked

He messed something up

Re: HelloWorld.c
Posted: Tue Sep 02, 2014 11:08 am
by MrKalach
sectroyer wrote:That is completely expected

But for MrKalach it does nothing!!! It means either problem with connection (the obvious suspect ATM) and/or problem with TV. Until he fixes such issues there is no point in testing anything. He gets no output for "./seekpatch". Why? Maybe because it doesn't work or maybe he gets output but his "putty connection" doesn't display it

Maybe it randomly doesn't display stuff. Maybe even his hello world worked

He messed something up

Heyhey, I wrote that I tried BOTH!!! Telnet and putty, but i prefer last.
I can make tunnel to my TV, and you show me PRO coder style
I was on vacation, and came back.
Re: HelloWorld.c
Posted: Tue Sep 02, 2014 11:52 am
by sectroyer
MrKalach wrote:sectroyer wrote:That is completely expected

But for MrKalach it does nothing!!! It means either problem with connection (the obvious suspect ATM) and/or problem with TV. Until he fixes such issues there is no point in testing anything. He gets no output for "./seekpatch". Why? Maybe because it doesn't work or maybe he gets output but his "putty connection" doesn't display it

Maybe it randomly doesn't display stuff. Maybe even his hello world worked

He messed something up

Heyhey, I wrote that I tried BOTH!!! Telnet and putty, but i prefer last.
I can make tunnel to my TV, and you show me PRO coder style
I was on vacation, and came back.
I don't care what you tried:) Your putty connection works incorrectly. This was shown by my TEST1/2 tests:) Do you have the same results with Telnet?
Re: HelloWorld.c
Posted: Tue Sep 02, 2014 1:28 pm
by MrKalach
C'mon man
Absolutely same log!
Re: HelloWorld.c
Posted: Tue Sep 02, 2014 3:36 pm
by MrKalach
update: I found solution. topic may be closed.
1) I removed all GNU compilers ARM/MIPS/x86 from my Ubuntu 12.04
2) Reboot and clean system via UbuntuTweak
3) Update system to 14.04
4) install GNU compilers x86/x64 from official Ubuntu repo
5) Then download arm-v7a15v3r1 toolchain, unpack it to /opt/toolchains, add to PATH all paths
6) done.
trouble was in I had on my system 3 arm toolkits, and linker used wrong libs.
Re: HelloWorld.c
Posted: Tue Sep 02, 2014 3:43 pm
by juusso
Whats the problem? You cant disappear without letting us know
Re: HelloWorld.c
Posted: Tue Sep 02, 2014 3:51 pm
by MrKalach
juuso wrote:Whats the problem? You cant disappear without letting us know
about STDOUT, I invented cheat way, but as temporary solution is fine
Add this to header or past it in beginning of your c/cpp file:
Code: Select all
# undef printf
# define printf(str, ...) dprintf(1, str, ##__VA_ARGS__)
and now,
PLEASE add me to GitHUB, i want to see sources

Re: HelloWorld.c
Posted: Wed Sep 03, 2014 12:01 am
by sectroyer
MrKalach wrote:juuso wrote:Whats the problem? You cant disappear without letting us know
about STDOUT, I invented cheat way, but as temporary solution is fine
Add this to header or past it in beginning of your c/cpp file:
Code: Select all
# undef printf
# define printf(str, ...) dprintf(1, str, ##__VA_ARGS__)
and now,
PLEASE add me to GitHUB, i want to see sources

You don't need github access

First try checking code available on forum. For instance all of my patches have source code attached

Re: HelloWorld.c
Posted: Sat Sep 06, 2014 10:22 am
by MrKalach
sectroyer wrote:MrKalach wrote:juuso wrote:Whats the problem? You cant disappear without letting us know
about STDOUT, I invented cheat way, but as temporary solution is fine
Add this to header or past it in beginning of your c/cpp file:
Code: Select all
# undef printf
# define printf(str, ...) dprintf(1, str, ##__VA_ARGS__)
and now,
PLEASE add me to GitHUB, i want to see sources

You don't need github access

First try checking code available on forum. For instance all of my patches have source code attached

Oho, where is DEV subforum? It closed to me?