[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] multiple definition of `_res'



Sometime back, I had lots of problem with both compiling and running
OpenSSH for microblaze (particularly redefinition), finally went to
dropbear (in the same uClinux-dist platform) and it works nice
(although both ssh and the dropbear-ssh seems to be slow in
microblaze).

- Prasad

On 4/26/06, A. Arthur Mohr <adimbox-uclinux@xxxxxxxxxxxx> wrote:
>  Hello there !
>
>  I am trying to use a newer version of  OpenSSH (4.3p2), because I have no
> luck with the one wich is in the CVS now. The best I get was returning
> memory allocation erros and something like 'error : protocol 1 vs 1' - in
> the OpenSSH page they say this is a known bug of some version, so I though
> 'lets use a newer one'.
>
>  But, porting isn't quite easy ...
>  I tryied to change Makefile and config.h by hand, with no sucess.
>
>  Well ... despite all my work and Thomas' help (from uClinux.org), I always
> end up with this error when compiling SSH :
>
>  ucfront-gcc mb-gcc  -o ssh ssh.o readconf.o clientloop.o sshtty.o
> sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/
> -L/home2/adi_mohr/uClinux-dist/lib/libssl
> -L/home2/adi_mohr/uClinux-dist/lib -Wl,-elf2flt -lssh
> -lopenbsd-compat -lcrypto -lutil -lz  -lresolv -lresolv
> /home2/adi_mohr/uClinux-dist/uClibc/lib/libc.a(res_init.o)(.bss+0x0):
> multiple definition of `_res'
> openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o):/home2/adi_mohr/uClinux-dist/user/ssh/build/openbsd-compat/../../openbsd-compat/getrrsetbyname.c:114:
> first defined here
>  collect2: ld returned 1 exit status
>  make[3]: *** [ssh] Error 1
>  make[3]: Leaving directory
> `/home2/adi_mohr/uClinux-dist/user/ssh/build'
>  make[2]: *** [all] Error 2
>  make[2]: Leaving directory
> `/home2/adi_mohr/uClinux-dist/user/ssh'
>  make[1]: *** [all] Error 2
>  make[1]: Leaving directory
> `/home2/adi_mohr/uClinux-dist/user'
>  make: *** [subdirs] Error 1
>  -bash-3.00$
>
>
>  I am quite desperate with this ...
>  What can be that now ?
>
>  ________________________________
>  Yahoo! Search
>  Imposto de Renda 2006: o prazo está acabando. Faça já a sua declaração no
> site da Receita Federal.
>
>
>

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/