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


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


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