This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Error cross-compiling glibc-20081013 with connections.c:1831: error: lvalue required as left operand of assignment
- From: "Ryan Arnold" <ryan dot arnold at gmail dot com>
- To: "Jason Pernito" <jpernito at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Wed, 5 Nov 2008 21:09:23 -0600
- Subject: Re: Error cross-compiling glibc-20081013 with connections.c:1831: error: lvalue required as left operand of assignment
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ZWuaQQGd0pfjmcO1AAjIm5MjbJ4ODy6vaUF4tIb070M=; b=OKnLa27hueYTFmAjH/+IXj95lVQ00vgiX7mQVe7CeDCi1YKudNIyz+b6mMs9yQEel4 qJ2OLKbt/+jyLzdPZ3s63ylwqUxFg5C1LgB3pmbd2MYu8WHA+J4XYkW/jHD+jQoewKky yqQePXJFnatB+R6Xj9xwY3+GrsDFk/YEZZ8vE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=D/lYNSoVg7EilbuAJD40h8KivpYQ8/QEbRmAzLND0Eiwia+vTk12NDZFlac4cuc/B6 ANEpZh1p+lJJtfMH066i8XH6DWf81P8TNtASP2+g2KFQP2gZ9DeneCbdInrpo5AGVn5O 5PdtAKHR3WxI52XRQI7uMvijKqrWOG/hqEFX8=
- References: <56e4071a0810220156x18da0d0ftcd1a20cfbcbae60f@mail.gmail.com> <56e4071a0810220222u178e2c9an5984d6fabec893e2@mail.gmail.com> <ff4da150810220810y61c71719u9e2b9d8296014653@mail.gmail.com> <56e4071a0810222310y2d219d58w926d73fa85eaa2ce@mail.gmail.com> <56e4071a0811050116q5ae5d964sf2a7d96e4c6dc597@mail.gmail.com> <ff4da150811050731u12e04c69x58a6d44473be3d44@mail.gmail.com> <56e4071a0811051856v467fd3cft311041ccca84dd00@mail.gmail.com>
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
>