Juniper / grpc-c

C implementation of gRPC layered on top of core library
BSD 3-Clause "New" or "Revised" License
220 stars 59 forks source link

Build Fail on Ubuntu 16.04 #5

Closed mankash closed 7 years ago

mankash commented 7 years ago

Hello :

I followed the instructions to build this repo without success.

Please find my build failure output attached.

Thanks Grpc-C-BuildLog.txt

ajhai commented 7 years ago

What version of gRPC are you using?

mankash commented 7 years ago

Using v 1.2.0 Commit ID: e2cfe9df79c4eda4e376222df064c4c65e616352 Link to commit: https://github.com/grpc/grpc/commit/e2cfe9df79c4eda4e376222df064c4c65e616352

lifeng68 commented 7 years ago
protobuf  tag:3.2.1  
protobuf-c tag:1.2.1  
gRPC tag :1.1.3

@mankash I used these version ,it works, hope to help you

mankash commented 7 years ago

Hello @ajhai - was your team able to reproduce the issue?

@lifeng68 - I'm unable to build even with the versions you've tagged. What's your gcc/g++ versions? What host OS and kernel are you on (I doubt this has an impact, but never hurts to ask)?

Thanks

shadansari commented 7 years ago

@mankash - I was able to compile and run the examples after fixing the compile errors. You can try this patch:

https://github.com/Juniper/grpc-c/pull/6/commits/353b40cd920cd749ed6cf71f8df17f1d5cf2c89d

@ajhai - I have created a pull request.

shadansari commented 7 years ago

My grpc version is v1.1.3.

lifeng68 commented 7 years ago

@mankash - The patch from shadansari should solve your problem.

353b40c

ajhai commented 7 years ago

@mankash I'm moving grpc-c to use gRPC 1.3.0. You should check once the changes are pushed.

brianLeeson commented 7 years ago

@shadansari How are you running an older version of grpc? The instructions that I have found in INSTRUCTIONS are for the latest 1.4 I do see that the older versions are available here, but do not see how I should proceed.

ajhai commented 7 years ago

@brianLeeson @mankash Please try latest from this repo with gRPC v1.3.0. It should fix build issues.