LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2010, 11:40 AM   #1
dino3333
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
libmemcached-0.37 and undefined reference to `__sync_fetch_and_add_4 error


Hi Everyone,
I tried to install memcached onto a freebsd 8.0 machine. I saw that for some reason libmemcached was not updated to the latest version so I tried to update that port manually. When I try to install it I get this error

===> Building for libmemcached-0.37_1
gmake all-recursive
gmake[1]: Entering directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37'
Making all in docs
gmake[2]: Entering directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37/docs'
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_cas.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_create.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_flags.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_free.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_key_length.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_key_value.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_length.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_st.pop
ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_value.pop
gmake all-am
gmake[3]: Entering directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37/docs'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37/docs'
gmake[2]: Leaving directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37/docs'
gmake[2]: Entering directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37'
CCLD clients/memslap
clients/ms_conn.o(.text+0x9b3): In function `ms_build_udp_headers':
clients/ms_conn.c:184: undefined reference to `__sync_fetch_and_add_4'
clients/ms_conn.o(.text+0x1ba7): In function `ms_reconn_socks':
clients/ms_conn.c:1055: undefined reference to `__sync_fetch_and_add_4'
clients/ms_conn.o(.text+0x2240): In function `ms_drive_machine':
clients/ms_conn.c:924: undefined reference to `__sync_fetch_and_add_4'
clients/ms_conn.o(.text+0x3365):clients/ms_conn.c:960: undefined reference to `__sync_fetch_and_add_4'
clients/ms_thread.o(.text+0x496): In function `ms_worker_libevent':
clients/ms_thread.c:215: undefined reference to `__sync_fetch_and_add_4'
clients/ms_thread.o(.text+0x4fa):clients/ms_thread.c:198: more undefined references to `__sync_fetch_and_add_4' follow
gmake[2]: *** [clients/memslap] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/libmemcached/work/libmemcached-0.37'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/databases/libmemcached.

What does this mean?!?!

Thanks for the help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined reference error jacques83 Programming 20 04-11-2013 07:23 AM
glibc make error: undefined reference to `__sync_fetch_and_add_4' rendezvous123 Linux - Software 4 11-09-2008 07:18 PM
undefined reference to error in C++ knobby67 Programming 3 01-19-2008 10:34 PM
undefined reference error bahadur Programming 5 07-25-2006 09:18 PM
undefined reference error Quest101 Programming 3 01-01-2005 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration