« Return to Thread: ssh in Coldfire

Re: ssh in Coldfire

by Greg Ungerer :: Rate this Message:

| View in Thread

Hi Emilena,

Emilena Specht wrote:

> Well, I´ve downloaded openssl-0.9.7c and aplied the patches available
> at  http://ftp.snapgear.org/pub/patches/
> libssl and openssl application compile well but, when I add ssh
> applications at menuconfig, I get this error:
>
> /moto/uClinux-dist/lib/libc.a(__uClibc_main.o): In function `__uClibc_init':
> /moto/uClinux-dist/uClibc/libc/misc/internals/__uClibc_main.c:70:
> multiple definition of `__progname'
> sshd.o:/moto/uClinux-dist/user/ssh/sshd.c:253: first defined here
> collect2: ld returned 1 exit status

This looks to be a problem in ~/user/ssh/config.h.
Try changing the conditional check for defining HAVE___PROGNAME
to be:

   /* Define if libc defines __progname */
   #ifndef __UC_LIBC__
   #define HAVE___PROGNAME 1
   #endif

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg@...
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
--------------------------------------------------------------------
To Subscribe send a message to:      ColdFire-On@...
To Unsubscribe send a message to:    ColdFire-Off@...
For further information, visit:      <http://www.WildRice.com/ColdFire/>

 « Return to Thread: ssh in Coldfire