Hi, I'm new to Embedded System World. There are some problems, "scp not found", when I use dropbear-scp to copy some files. I trace the source code to find the DEFINE variables: DEFAULT_PATH & _PATH_SSH_PROGRAM.
Could we redefine it at configure or make process without modify the source code? like that: === +#ifndef _PATH_SSH_PROGRAM #define _PATH_SSH_PROGRAM "/usr/bin/dbclient" +#endif +#ifndef DEFAULT_PATH #define DEFAULT_PATH "/usr/bin:/bin" +#endif and then: === $ ./configure $ CFLAGS=' -D_PATH_SSH_PROGRAM="/path/dbclient" -DDDEFAULT_PATH="/usr/bin:/bin:/mnt/ubi_boot/bin" ' make $ CFLAGS=' -D_PATH_SSH_PROGRAM="/path/dbclient" -DDDEFAULT_PATH="/usr/bin:/bin:/mnt/ubi_boot/bin" ' make scp Best Regards, Yuan-Yi Chang
