Hi, The problem is -> i've built user side binaries with codesourcery toolchain, with all universal linux system libraries included. so, when i launch on android (manually on shell or via init.rc), it doest execute at all, due to lib mismatch
now built with android toolchain /mydroid/prebuilt/linux-x86/... and its launched fine. THanks for the help. Regards, Deva On Fri, Feb 26, 2010 at 10:59 PM, yfwong <[email protected]> wrote: > Inside init.rc, did you run chmod after mounting /system partition? > chmod 0777 /system/bin/trace_daemon.out > > On Feb 25, 5:46 am, Deva R <[email protected]> wrote: > > btw, > > > > - the files are present with all permissions enabled. > > - manual invocation from android shell or busybox shell, throws same > error.. > > > > btw, i use codesourcery tool chain, to generate .out. > > will this be a problem, and should i use > > mydroid/prebuilt/toolchain/linux-x86/.... ?? > > > > Thanks, > > Deva > > > > On Thu, Feb 25, 2010 at 2:13 AM, Deva <[email protected]> wrote: > > > Hi, > > > > > When I try to start a daemon in init.rc, I get below error, despite > > > the files are present with all previleges.. > > > init: cannot execve('/system/bin/trace_daemon.out'): No such file or > > > directory > > > > > any hint why .out will throw such error?? I've seen user side > > > processes like a.out were lauched in various platforms.. > > > > > btw, Added below in init.rc > > > service trace_d /system/bin/trace_daemon.out > > > user root > > > group audio > > > oneshot > > > > > Thanks, > > > Deva > > > > > -- > > > unsubscribe: > > > [email protected]<android-porting%[email protected]> > <android-porting%[email protected]<android-porting%[email protected]> > > > > > website:http://groups.google.com/group/android-porting > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
