[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] multiple definition of `_res'
Arthur,
Also check all the associated device and its permission(try 666
initially). For me i have the following for the jffs2_devtable.txt.
/dev/ptyp c 666 0 0 2 0 0 1 16
/dev/ttyp c 666 0 0 3 0 0 1 16
Regards
- Prasad
On 4/27/06, DeviPrasad Natesan <ndprasad@xxxxxxxxx> wrote:
> I remembered having this problems initially. I did the following to fix up.
> In the makefile added the following options "--disable-openpty" (This
> should make /* #undef HAVE_OPENPTY */ in the config.h).
>
> U can use regular openssh client from ur native linux to connect to box.
>
> The only thing is keys are statically generated while compiling.
> Remember to put the keys (/etc/default/dropbear_dss_host_key and
> /etc/default/dropbear_rsa_host_key)
>
> Let me know how fast it gives u the login (mine takes about 60 secs..i
> gotta work on to improve that sometime).
>
> - Prasad
>
> On 4/26/06, A. Arthur Mohr <adimbox-uclinux@xxxxxxxxxxxx> wrote:
> > Odd mention that because today I tried out dropbear for a moment ...
> > Unfortunetly, the version in CVS doesnt have the client (dbclient), just
> > the server.
> > And even the server didnt exactly work, because it couldnt open a tty -
> > when I connect to microblaze, it goes up to ask for the password, and then I
> > see in the terminal an error saying it couldnt open a tty and it stop.
> >
> > Did you have such problems as well ? Do you have the client ?
> >
> > DeviPrasad Natesan <ndprasad@xxxxxxxxx> escreveu:
> > 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 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/
> >
> >
> >
> >
> >
> > ________________________________
> > Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular
> > e anti-spam realmente eficaz.
> >
> >
>
___________________________
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/