cql - What is the compatible gcc version for cassandra c++ driver -


i installed cassandra c++ driver http://datastax.github.io/cpp-driver/topics/building/

i trying compile sample program given in http://datastax.github.io/cpp-driver/

i getting below errors:

g++  -lcassandra -lgcc_s basic.c -o basic /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcassandra.so: undefined reference `__sync_val_compare_and_swap_4' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcassandra.so: undefined reference `__sync_fetch_and_sub_8' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcassandra.so: undefined reference `__sync_fetch_and_add_8' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcassandra.so: undefined reference `__sync_lock_test_and_set_8' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcassandra.so: undefined reference `__sync_val_compare_and_swap_8' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcassandra.so: undefined reference `__sync_fetch_and_sub_4' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcassandra.so: undefined reference `__sync_fetch_and_add_4' collect2: ld returned 1 exit status 

can 1 me in resolving these errors. googled errors , simple solution can find upgrade gcc version. suggestions help. in advance

best regards narayana vasa


Comments

Popular posts from this blog

java - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -