>From the error message, linking to abseil library didn't seem to be done 
correctly. 
This example 
(https://github.com/grpc/grpc/blob/master/examples/cpp/helloworld/CMakeLists.txt)
 
would be helpful to understand how it needs to be done.


On Thursday, October 5, 2023 at 6:59:17 AM UTC-7 smita deshpande wrote:

> Hello, 
>
> I am trying to use helloworld *.pb files in my project and trying to link 
> grpc and its dependent libraries (all the thirdparty and protobuf)  
> statically. I tried to use the order of libraries present in build.make 
> file which gets generated in helloworld build folder. However, I am getting 
> errors.
>
>
> undefined reference to 
> `absl::lts_20230802::log_internal::LogMessageFatal::LogMessageFatal(char 
> const*, int, std::basic_string_view<char, std::char_traits<char> >)'
> /usr/bin/ld: helloworld.pb.o: in function 
> `helloworld::HelloReply::MergeImpl(google::protobuf::Message&, 
> google::protobuf::Message const&)':
>
> Could anyone please help with this? 
>
> Thanks,
> Smita
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/6e87f99c-845b-42d2-9444-315b06a5d4a5n%40googlegroups.com.

Reply via email to