Thank you very much for the help and I was able to get the binary to build
with the applied patches.

Now I'm trying to run the application on the target.

Using make menuconfig,  I selected "sshd" in the networking applications
option.  I wasn't sure if I needed to select anything else, but I have the
sshd binary in my /bin directory.

I'm trying to find the documentation that explains how to configure and run
it.  I've been searching the web and I haven't been successful yet.




On Tue, Aug 11, 2009 at 7:17 PM, David McCullough <
[email protected]> wrote:

>
> Jivin b2112 lays it down ...
> > I'm using the uClinux 2.4 kernel with a Coldfire MC5275 and I'm trying to
> > build in the sshd application and I'm getting a build failure.  I used
> make
> > menuconfig and selected sshd under the networking applications option.
> >
> > In the build process I'm getting the following error;
> >
> > Has anyone been successful in getting sshd to build?  I'm wondering if
> I'm
> > missing something or if there is a patch available.
> >
> > Any help is greatly appreciated.
>
> You don't appear to have the openssl lib build enabled (or perhaps not
> included depending on your version of the dist).
>
> Which uClinux-dist version do you have ?
>
> Check that CONFIG_LIB_LIBSSL is enabled in your config/.config
>
> Check you have libssl or a smart makefile in lib/libssl
>
> You can get patches to add openssl back into an older dist from
> http://ftp.snapgear.org/pub/patches/ , newer dists should have patches and
> download scripts within the makefile to do it for you,
>
> Cheers,
> Davidm
>
>
>
>
>
> >
> --------------------------------------------------------------------------------------------------------------
> >
> > make[2]: Entering directory `/home/uClinux-dist/user/sh'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory `/home/uClinux-dist/user/sh'
> > make[2]: Entering directory `/home/uClinux-dist/user/ssh'
> > (cd openbsd-compat && make)
> > make[3]: Entering directory `/home/uClinux-dist/user/ssh/openbsd-compat'
> > ucfront-gcc m68k-elf-gcc -m5200 -DCONFIG_COLDFIRE -Os -g
> > -fomit-frame-pointer -fno-common -fno-builtin -Wall   -DEMBED -msep-data
> > -Dlinux -D__linux__ -Dunix -D__uClinux__ -g -O2 -Wall
> > -D_SSH_PROGRAM=\"/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/bin/ssh-askpass\"
> -I.
> > -DHAVE_CONFIG_H -I. -I..    -c -o bsd-arc4random.o bsd-arc4random.c
> > In file included from bsd-arc4random.c:25:
> > ../includes.h:168: openssl/opensslv.h: No such file or directory
> > bsd-arc4random.c:32: openssl/rand.h: No such file or directory
> > bsd-arc4random.c:33: openssl/rc4.h: No such file or directory
> > bsd-arc4random.c:34: openssl/err.h: No such file or directory
> > make[3]: *** [bsd-arc4random.o] Error 1
> > make[3]: Leaving directory `/home/uClinux-dist/user/ssh/openbsd-compat'
> > make[2]: *** [subdirs] Error 2
> > make[2]: Leaving directory `/home/uClinux-dist/user/ssh'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/uClinux-dist/user'
> > make: *** [subdirs] Error 1
>
> > _______________________________________________
> > uClinux-dev mailing list
> > [email protected]
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by [email protected]
> > To unsubscribe see:
> > http://mailman.uclinux.org/mailman/options/uclinux-dev
>
> --
> David McCullough,  [email protected],  Ph:+61 734352815
> McAfee - SnapGear  http://www.snapgear.com
> http://www.uCdot.org <http://www.ucdot.org/>
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to