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 09:31:47 -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=i7iOuWou2pRM9SAbY9g6l0PBh5Vb9HIefmxpQ2Y7aEM=; b=WdcaQ1kjESl84lv6OD05IzvOR9jKZMqGMT6btP7nISnivBNNd6bNsJ4h8mTyxizbBy zhFyviLvCIBX/640wpvQeCXnPQzpOWds7Gk+WTCspkZPJwQjJrwDkhZy+JeR2bomg0/l VJT8elveWtwn1RbkPWsx3/zsJudsiWKjwCp5o=
- 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=WRXgNE9DJt0Sv9dBD2uP3iGW9O0+kyXCdb3LKs3Tmb4kftPmBqd0wwEg42QT9LpMGm IDam0ZsEHC1hHxlk5X/rdNiDUtrd5OA2hFlMlHeuqDPjod1J/acYmdDysTwKB6tE8+SI 9QrH0dht5kqDJxxJt8S82Y7hFPQv08SgyMM+I=
- References: <56e4071a0810220156x18da0d0ftcd1a20cfbcbae60f@mail.gmail.com> <56e4071a0810220222u178e2c9an5984d6fabec893e2@mail.gmail.com> <ff4da150810220810y61c71719u9e2b9d8296014653@mail.gmail.com> <56e4071a0810222310y2d219d58w926d73fa85eaa2ce@mail.gmail.com> <56e4071a0811050116q5ae5d964sf2a7d96e4c6dc597@mail.gmail.com>
On Wed, Nov 5, 2008 at 3:16 AM, Jason Pernito <jpernito@gmail.com> wrote:
> I am having this new error:
>
> /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o:
> In function `begin_drop_privileges':
> /bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:2288:
> warning: Using 'getgrouplist' in statically linked applications
> requires at runtime the shared libraries from the glibc version used
> for linking
> /bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:2269:
> warning: Using 'getpwnam' in statically linked applications requires
> at runtime the shared libraries from the glibc version used for
> linking
> /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o:
> In function `nscd_init':
> /bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:845:
> warning: warning: inotify_add_watch is not implemented and will always
> fail
> /bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:532:
> warning: warning: inotify_init is not implemented and will always fail
> /bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:528:
> warning: warning: inotify_init1 is not implemented and will always
> fail
> /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/libc.a(res_hconf.o):
> In function `_res_hconf_init':
> /bonus/scratch/jpernito/btools/glibc-20081013/resolv/res_hconf.c:357:
> multiple definition of `_res_hconf_init'
> /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/res_hconf.o:/bonus/scratch/jpernito/btools/glibc-20081013/nscd/../resolv/res_hconf.c:357:
> first defined here
> collect2: ld returned 1 exit status
> make[3]: *** [/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/nscd]
> Error 1
Jason,
Try updating your glibc version to the latest. There was a recent
problem in connections.c that was resolved. This doesn't really look
like that problem but a clean recent build is a good starting point.
Ryan