All of lore.kernel.org
 help / color / mirror / Atom feed
* error: 'pthread_spin_lock' does not name a type
@ 2011-06-21  4:55 Dyweni - Ceph-Devel
  2011-06-21  5:36 ` Colin Patrick McCabe
  0 siblings, 1 reply; 3+ messages in thread
From: Dyweni - Ceph-Devel @ 2011-06-21  4:55 UTC (permalink / raw)
  To: Ceph Devel

 Hi List!


 Ceph master seems to be broken on my development machine.  Here's the 
 error:


 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -Wall -D__CEPH__ 
 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdyna ic 
 -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith 
 -fno-strict-aliasing -Wnon-virtual-dtor -Wno-invalid-o fsetof 
 -Wstrict-null-sentinel   -march=pentium3 -pipe -ggdb -MT 
 libcommon_a-AuthNoneAuthorizeHandler.o -MD -MP -MF .deps 
 libcommon_a-AuthNoneAuthorizeHandler.Tpo -c -o 
 libcommon_a-AuthNoneAuthorizeHandler.o `test -f 
 'auth/none/AuthNoneAuthor zeHandler.cc' || echo 
 './'`auth/none/AuthNoneAuthorizeHandler.cc
 In file included from ./msg/Message.h:138,
                  from ./messages/PaxosServiceMessage.h:4,
                  from ./messages/MAuth.h:18,
                  from auth/AuthClientHandler.cc:21:
 ./include/atomic.h:66: error: 'pthread_spin_lock' does not name a type
 ./include/atomic.h: In constructor 'ceph::atomic_t::atomic_t(int)':
 ./include/atomic.h:71: error: 'lock' was not declared in this scope
 ./include/atomic.h: In destructor 'ceph::atomic_t::~atomic_t()':
 ./include/atomic.h:74: error: 'lock' was not declared in this scope
 ./include/atomic.h: In member function 'int ceph::atomic_t::inc()':
 ./include/atomic.h:77: error: 'lock' was not declared in this scope
 ./include/atomic.h: In member function 'int ceph::atomic_t::dec()':
 ./include/atomic.h:83: error: 'lock' was not declared in this scope
 ./include/atomic.h: In member function 'void ceph::atomic_t::add(int)':
 ./include/atomic.h:89: error: 'lock' was not declared in this scope
 ./include/atomic.h: In member function 'void ceph::atomic_t::sub(int)':
 ./include/atomic.h:94: error: 'lock' was not declared in this scope
 ./include/atomic.h: In member function 'int ceph::atomic_t::read() 
 const':
 ./include/atomic.h:100: error: 'lock' was not declared in this scope





 I've bisected the error back to this commit:
 03c83799b3915dd8e42606a23bcc9b01a5a48bac is the first bad commit
 commit 03c83799b3915dd8e42606a23bcc9b01a5a48bac
 Author: Colin Patrick McCabe <cmccabe@alumni.cmu.edu>
 Date:   Fri Jun 10 14:43:28 2011 -0700

     include/atomic cleanup
 
     * Don't allow copying of class atomic_t.
     * Remove common/Spinlock.h because it's unecessary
     * SimpleMessenger: use atomic var for qlen
 
     Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>

 :040000 040000 1f89f38df725669be6a302634cd9a3624632cb11 
 3e4bae4751d40947710767efd2533bdc02d8a53a M      src






 I am running GLIBC 2.12.2.






-- 
 Thanks,
 Dyweni

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-21 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-21  4:55 error: 'pthread_spin_lock' does not name a type Dyweni - Ceph-Devel
2011-06-21  5:36 ` Colin Patrick McCabe
2011-06-21 14:31   ` Dyweni - Ceph-Devel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.