Hi All,

I have susscessfully run the android on my target board.

I before cross-complied the strace and it works both in linux and in
android environment.

But now I build alsamixer using the same toolchain, it can works in
the android linux, but when I
chroot /mnt/rootfs /init , entering into the android world, then in
the android command line, the alsamixer always failed with "No such
file or directory"

I use strace(which is built by myself) to debug, the following is the
message:

# strace -ff -F -tt -s 200 -o /sdcard/tmp alsamixer
strace: exec: No such file or directory
# cat /sdcard/tmp
02:24:29.334715 execve("/system/bin/alsamixer", ["alsamixer"], [/* 10
vars */]) = -1 ENOENT (No such file or directory)
02:24:29.344909 write(2, "strace: exec", 12) = 12
02:24:29.346506 write(2, ": ", 2)       = 2
02:24:29.347776 write(2, "No such file or directory", 25) = 25
02:24:29.349132 write(2, "\n", 1)       = 1
02:24:29.350353 io_submit(1, -1344068532, {...} <unfinished ... exit
status 1>

Anyone can give me some light on this?

Max
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to