C/C++ Linux embedded help required.

We encounter a problem and need your help. In short I have a daemon program AAA that is launched when ARM embedded device is booting.

Once it's started, AAA program needs to call another program BBB when an even xxx occurred ( we use execl("/bin/sh", "sh", "-c", BBB_command, (char*) 0); )

This BBB program works perfectly when we launched AAA manually (login by telnet and type /usr/local/bin/AAA & ). But if AAA is launched during booting time (Daemon service ), BBB is not launched (child -1 returned)

If we use AAA in x86 env, it works fine in all scenarios.

Please sorry for this dummy explanation as I'm not developer. If you don't clearly understand, or need further info, i can give you the code in PMB.


Evner: C programmering, Indbygget Software, Linux

Se mere: t$c, programming in linux, programming for linux, needs for c# programming, need linux help, need help in programming, local programming, help in programming, embedded programming in c, embedded c++ programming, c programming service, c++ programming problem, C Programming Linux, c programming in linux, c programming char, char in c programming, char c programming, call scenarios, m linux, linux m

Om arbejdsgiveren:
( 33 bedømmelser ) London, France

Projekt ID: #644758

3 freelancere byder i gennemsnit $67 på dette job


see pmb

$100 USD på 1 dag
(12 bedømmelser)

Hello. Please check your PMB.

$50 USD på 1 dag
(0 bedømmelser)

this is possibly due to tha fact that when u launch the service AA ta boot time, then till the time all OS services required to run AA are not fully initialized. If ur code runs fine when run manually then there seems Flere

$50 USD in 5 dage
(1 bedømmelse)