Hi everyone,

I could use some help getting ssh running with uClinux-dist-20070130.

I am using a Coldfire 5275 platform roughly equivalent the the 5275EVB.

I am trying openssl-0.9.7e again with the Snapgear patch. Initially I
get this error

ucfront-gcc m68k-elf-gcc -m5200 -DCONFIG_COLDFIRE -o fips_standalone_sha1 -I.. 
-I../.. -I../../include -DNO_ASM -DOPENSSL_NO_KRB5 -O2 -g -fomit-frame-pointer 
-pipe -fno-common -fno-builtin -Wall   -DEMBED -msep-data -Dlinux -D__linux__ 
-Dunix -D__uClinux__ -I/home/mcruse/src/uClinux-dist/lib/libm -DTERMIOS -Wall 
-DB_ENDIAN fips_standalone_sha1.o \
fips_sha1dgst.o
/usr/local/lib/gcc/m68k-uclinux/4.1.1/m5200/msep-data/libgcc.a(__main.o): In 
function `__do_global_ctors':
/home/gerg/src/gnu/m68k-elf/autobuild/gcc-4.1.1/gcc/libgcc2.c:1955: undefined 
reference to `__CTOR_LIST__'
/usr/local/lib/gcc/m68k-uclinux/4.1.1/m5200/msep-data/libgcc.a(__main.o):(.data.rel+0x0):
 
undefined reference to `__DTOR_LIST__'

This seems to be fixed by adding -Wl,-elf2flt to the CFLAGS

But then I end up getting this

hw_cryptodev.c:55:30: error: crypto/cryptodev.h: No such file or
directory

Followed by a bunch of other related messages.

I did have slightly better luck with openssl-0.9.7c in that I seemed to
be able to get it to compile but then the ssh build could not find
libcrypto...

If I put libcrypto where it could be found I would get to the point
where the includes could not be found. 

I created a symbolic link from uClinux-dist/include/openssl to
uClinux-dist/lib/libssl/include/openssl by adding a line in the include
Makefile.

ssh would then get a fair way through compiling stopping with an error
complaining about a multiple definition of `_res'

Is there any recommended version of openssl and is there a recipe for
getting openssl/ssh running under uClinux-dist-20070130?

None of the tutorials I have found seem to work and they seem outdated.

Thanks for listening

Mike





_______________________________________________
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