Skip to content

Instantly share code, notes, and snippets.

@danbri
Created June 20, 2011 11:59
Show Gist options
  • Save danbri/1035498 to your computer and use it in GitHub Desktop.
Save danbri/1035498 to your computer and use it in GitHub Desktop.
#================================================================
# Ready to make.
#================================================================
Compiling Kyoto Cabinet...
g++ -c -I. -I/Users/danbri/working/graphlab/graphlabapi/deps/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__ -D_MYZLIB -D_MYGCCATOMIC -D_KC_PREFIX="\"/Users/danbri/working/graphlab/graphlabapi/deps\"" -D_KC_INCLUDEDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/include\"" -D_KC_LIBDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/lib\"" -D_KC_BINDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/bin\"" -D_KC_LIBEXECDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/libexec\"" -D_KC_APPINC="\"-I/Users/danbri/working/graphlab/graphlabapi/deps/include\"" -D_KC_APPLIBS="\"-L/Users/danbri/working/graphlab/graphlabapi/deps/lib -lkyotocabinet -lz -lstdc++ -lpthread -lm -lc \"" -m64 -g -O2 -Wall -fPIC -fsigned-char -g0 -O2 -Os kcutil.cc
g++ -c -I. -I/Users/danbri/working/graphlab/graphlabapi/deps/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__ -D_MYZLIB -D_MYGCCATOMIC -D_KC_PREFIX="\"/Users/danbri/working/graphlab/graphlabapi/deps\"" -D_KC_INCLUDEDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/include\"" -D_KC_LIBDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/lib\"" -D_KC_BINDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/bin\"" -D_KC_LIBEXECDIR="\"/Users/danbri/working/graphlab/graphlabapi/deps/libexec\"" -D_KC_APPINC="\"-I/Users/danbri/working/graphlab/graphlabapi/deps/include\"" -D_KC_APPLIBS="\"-L/Users/danbri/working/graphlab/graphlabapi/deps/lib -lkyotocabinet -lz -lstdc++ -lpthread -lm -lc \"" -m64 -g -O2 -Wall -fPIC -fsigned-char -g0 -O2 -Os kcthread.cc
kcthread.h: In member function ‘virtual void kyotocabinet::TaskQueue::WorkerThread::run()’:
kcthread.h:918: error: ‘uint64_t kyotocabinet::TaskQueue::Task::thid_’ is private
kcthread.h:1043: error: within this context
kcthread.cc: In member function ‘void kyotocabinet::SpinLock::lock()’:
kcthread.cc:671: error: ‘__sync_bool_compare_and_swap’ was not declared in this scope
kcthread.cc: In member function ‘bool kyotocabinet::SpinLock::lock_try()’:
kcthread.cc:696: error: ‘__sync_bool_compare_and_swap’ was not declared in this scope
kcthread.cc: In member function ‘void kyotocabinet::SpinLock::unlock()’:
kcthread.cc:717: error: ‘__sync_lock_release’ was not declared in this scope
kcthread.cc: In member function ‘void kyotocabinet::SlottedSpinLock::lock(size_t)’:
kcthread.cc:814: error: ‘__sync_bool_compare_and_swap’ was not declared in this scope
kcthread.cc: In member function ‘void kyotocabinet::SlottedSpinLock::unlock(size_t)’:
kcthread.cc:844: error: ‘__sync_lock_release’ was not declared in this scope
kcthread.cc: In member function ‘void kyotocabinet::SlottedSpinLock::lock_all()’:
kcthread.cc:883: error: ‘__sync_bool_compare_and_swap’ was not declared in this scope
kcthread.cc: In member function ‘void kyotocabinet::SlottedSpinLock::unlock_all()’:
kcthread.cc:925: error: ‘__sync_lock_release’ was not declared in this scope
kcthread.cc: In function ‘void kyotocabinet::spinrwlocklock(kyotocabinet::SpinRWLockCore*)’:
kcthread.cc:1452: error: ‘__sync_bool_compare_and_swap’ was not declared in this scope
kcthread.cc: In function ‘void kyotocabinet::spinrwlockunlock(kyotocabinet::SpinRWLockCore*)’:
kcthread.cc:1471: error: ‘__sync_lock_release’ was not declared in this scope
kcthread.cc: In function ‘void kyotocabinet::slottedspinrwlocklock(kyotocabinet::SlottedSpinRWLockCore*, size_t)’:
kcthread.cc:1735: error: ‘__sync_bool_compare_and_swap’ was not declared in this scope
kcthread.cc: In function ‘void kyotocabinet::slottedspinrwlockunlock(kyotocabinet::SlottedSpinRWLockCore*, size_t)’:
kcthread.cc:1754: error: ‘__sync_lock_release’ was not declared in this scope
kcthread.cc: In member function ‘int64_t kyotocabinet::AtomicInt64::set(int64_t)’:
kcthread.cc:2043: error: ‘__sync_lock_test_and_set’ was not declared in this scope
kcthread.cc:2044: error: ‘__sync_synchronize’ was not declared in this scope
kcthread.cc: In member function ‘int64_t kyotocabinet::AtomicInt64::add(int64_t)’:
kcthread.cc:2066: error: ‘__sync_fetch_and_add’ was not declared in this scope
kcthread.cc:2067: error: ‘__sync_synchronize’ was not declared in this scope
kcthread.cc: In member function ‘bool kyotocabinet::AtomicInt64::cas(int64_t, int64_t)’:
kcthread.cc:2089: error: ‘__sync_bool_compare_and_swap’ was not declared in this scope
kcthread.cc:2090: error: ‘__sync_synchronize’ was not declared in this scope
kcthread.cc: In member function ‘int64_t kyotocabinet::AtomicInt64::get() const’:
kcthread.cc:2115: error: ‘__sync_fetch_and_add’ was not declared in this scope
make: *** [kcthread.o] Error 1
make: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment