[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] multiple definition of `_res'
Arthur,
A. Arthur Mohr wrote:
> I tryied to change Makefile and config.h by hand, with no sucess.
I see from your build log that you are doing a ./configure from within a
build subdir - this is a good start. Still, it should not be necessary
to modify the resulting Makefile or config.h. Sometimes, you can pass
extra parameters to ./configure to change the result, and if it's really
serious, you might patch the Makefile.in to make some changes.
> Well ... despite all my work and Thomas' help (from uClinux.org), I
> always end up with this error when compiling SSH :
>
> /home2/adi_mohr/uClinux-dist/uClibc/lib/libc.a(res_init.o)(.bss+0x0):
> multiple definition of `_res'
> I am quite desperate with this ...
> What can be that now ?
Well, it looks like there is a symbol _res defined in both uClibc and in
ssh. Do a google search for "lazy extern" (in quotes), and you'll find
some discussion and patches from me that fixed similar-looking problems
in other uClinux apps.
Maybe this will help.
John
___________________________
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/