-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error While Compiling Rtorrent 0.9.0 #15
Comments
Older versions of g++ aren't supported, e.g. earlier versions than 4.2.1. |
ok, thanks for respon, I will try to update g++ to earlier version |
You mean newer versions I hope, >4.2.1. |
As __sync_bool_compare_and_swap exists only on higher than i386 arch try to use arch higher than i386 (I mean put -march=i686 or -march=native in CXXFLAGS). |
Yeah, the arch flags... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
g++ -g -O2 -g -DDEBUG -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -L/usr/local/lib /usr/local/lib/libcurl.so -L/usr/kerberos/lib -lldap -lrt -lssl /usr/local/lib/libtorrent.so -lcrypto -ldl -lz /usr/local/lib/libsigc-2.0.so -lxmlrpc_server -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
libsub_root.a(thread_base.o): In function
thread_queue_hack::lock()': /root/rtorrent-0.9.0/src/thread_base.cc:68: undefined reference to
__sync_bool_compare_and_swap_4'/root/rtorrent-0.9.0/src/thread_base.cc:68: undefined reference to
__sync_bool_compare_and_swap_4' libsub_root.a(thread_base.o): In function
thread_queue_hack::push_back(void ()(ThreadBase))':/root/rtorrent-0.9.0/src/thread_base.cc:84: undefined reference to
__sync_bool_compare_and_swap_4' /root/rtorrent-0.9.0/src/thread_base.cc:85: undefined reference to
__sync_bool_compare_and_swap_4'libsub_root.a(thread_worker.o): In function
ThreadWorker::set_scgi(rpc::SCgi*)': /root/rtorrent-0.9.0/src/thread_worker.cc:72: undefined reference to
__sync_bool_compare_and_swap_4'collect2: ld returned 1 exit status
make[3]: *** [rtorrent] Error 1
make[3]: Leaving directory
/root/rtorrent-0.9.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/root/rtorrent-0.9.0/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rtorrent-0.9.0'
make: *** [all] Error 2
[root@ns1 ~]#
I don't understand about this error issue, any help?
The text was updated successfully, but these errors were encountered: