Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 561 by ay1244: protobuf does not compile under Solaris 10
http://code.google.com/p/protobuf/issues/detail?id=561

What steps will reproduce the problem?
1. ./configure
2. gmake

What is the expected output? What do you see instead?
I expect protobuf to compile normally, however it fails as it can't resolve sched_yield.

What version of the product are you using? On what operating system?
2.5.0 on Solaris 10

Please provide any additional information below.
sched_yield resides in librt under Solaris. The following patch looks checks if it can be found without libs, and then checks librt for sched_yield. Tested under RHEL 6.1 (did not need to link against librt) and Solaris 10 (did need to link against librt).

https://codereview.appspot.com/13992044/

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to