This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error cross-compiling glibc-20081013 with connections.c:1831: error: lvalue required as left operand of assignment


I just saw this in a build this evening. I'll take a look at work tomorrow.

Ryan

On Wed, Nov 5, 2008 at 8:56 PM, Jason Pernito <jpernito@gmail.com> wrote:
> Hi Ryan,
>
> I don't think it's the connections.c that is having problem this time.
> It failed during linking nscd because of multiple definition of
> `_res_hconf_init'. I looked at nscd/res_hconf.c and it includes
> resolv/res_hconf.c causing the linker to barf that function
> `_res_hconf_init' was previously defined (already in libc.a via
> resolv/res_hconf.o at this point).
>
> I don't know what's the use of nscd/res_hconf.c but I am able to
> worked around the problem by removing res_hconf in nscd/Makefile.
>
> I also read a post describing the same problem in the thread: Trouble
> cross compiling glibc 2.7 with powerpc 440FP target. His workaround is
> to remove res_hconf.o when linking nscd.
>
> Thanks,
> -jason
>
> --
> "Regard your soldiers as your children,
>  and they will follow you into the deepest valleys.
>  Look on them as your beloved sons,
>  and they will stand by you even unto death!"
>
>  - Sun Tzu, the art of war
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]