(2010/07/28 8:45), Bill Moseley wrote: > > > 2010/7/27 KaiGai Kohei <[email protected] <mailto:[email protected]>> > > > > > > clients/ms_thread.o:/home/bill/.cpan/build/Memcached-libmemcached-0.4201-nWi5dF/src/libmemcached/clients/ms_thread.c:208: > > more undefined references to `__sync_fetch_and_add_4' > > > It is a localism of GCC. > > http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html > > > I'm not clear about the problem. I assume it means my platform doesn't > support it. Should configure figure out that it's not supported on this > platform? Or am I missing a library? > > Or more to the point, what do I need to do to get it to build? > > Configuration summary for libmemcached version 0.42 > > * Installation prefix: > /home/bill/.cpan/build/Memcached-libmemcached-0. > 4201-iS0dnh/src_inst > * System type: pc-linux-gnu > * Host CPU: i686 > * C Compiler: gcc (GCC) 4.1.2 (Gentoo 4.1.2) > * Assertions enabled: yes > * Debug enabled: no > * Warnings as failure: no > I found some people who face similar problem:
http://sourceware.org/ml/libc-alpha/2007-02/msg00008.html http://sourceware.org/ml/libc-alpha/2007-02/msg00009.html http://djodjo.jp/archives/359 Should it be handled by configure script? -- KaiGai Kohei <[email protected]>
