Thank you Feng. I could resolve issue by adding
atomicops_internal_x86_gcc.cc file in a build. Actually I am using Jambuild
so in Jamfile it was miss placed.
On Friday, 11 September 2015 23:35:38 UTC+5:30, Feng Xiao wrote:
> On Fri, Sep 11, 2015 at 4:44 AM, kushal umarkar <kushal.uma...@gmail.com
>> I have been using Ubuntu 14.04 Lts. 64Bit in Virual Machine on windows.
>> I have some of proto files created for my project, I have been compiling
>> complete c++ project using g++ compiler along with proto files but I am
>> facing a compilation error below.
>> In function `google::protobuf::internal::Acquire_CompareAndSwap(long
>> volatile*, long, long)':
>> undefined reference to
>> collect2: error: ld returned 1 exit status
>> ...failed _AWAppBuild
>> ...failed updating 1 target(s)...
>> May I know what is wrong happening in compilation. However I tried
>> adding -DGOOGLE_PROTOBUF_ARCH_X64 -DHAVE_THREAD compiler flags as well but
>> no change.
> How did you build the library? It seems you missed
> atomicops_internals_x86_gcc.cc in your build. Judging from the file path of
> your build, it doesn't seem like using our provided build files.
>> Thanks for help in advance.
>> 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
>> To post to this group, send email to prot...@googlegroups.com
>> Visit this group at http://groups.google.com/group/protobuf.
>> For more options, visit https://groups.google.com/d/optout.
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 post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.