Hi,

I am getting the following error while building protobuf-3.0.0-alpha-2 on 
PowerPC 64 Platform.

./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_AtomicIncrement(long volatile*, 
long)'

./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_Store(long volatile*, long)'

./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_AtomicExchange(long volatile*, long)'

./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_Load(long const volatile*)'

collect2: error: ld returned 1 exit status


I see in source code  file “atomicops_internals_ppc_gcc.cc” is missing 
while it’s available for other platforms like (aix,arm). I am not sure if 
this is causing the problem.


[niraj@sjfcppc01 stubs]$ ls |grep atomicops_internals

atomicops_internals_aix.h

atomicops_internals_arm64_gcc.h

atomicops_internals_arm_gcc.h

atomicops_internals_arm_qnx.h

atomicops_internals_atomicword_compat.h

atomicops_internals_generic_gcc.h

atomicops_internals_macosx.h

atomicops_internals_mips_gcc.h

atomicops_internals_pnacl.h

atomicops_internals_solaris.h

atomicops_internals_tsan.h

atomicops_internals_x86_gcc.cc

atomicops_internals_x86_gcc.h

atomicops_internals_x86_msvc.cc

atomicops_internals_x86_msvc.h


Can someone pls help me here .


Thanks

Niraj

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to