Comment #4 on issue 406 by [email protected]: Generated code fails to compile on OpenBSD
http://code.google.com/p/protobuf/issues/detail?id=406

I work with Simon on the same project and the issue came up again. After a bit of digging I found this link, which talks about the prefix affecting it, if the protobufs are in /usr/include, it doesn't work, if they're in /usr/local/include it seems to work fine:
http://gcc.gnu.org/ml/gcc-help/2011-09/msg00142.html

So I used this for configure:
CPPFLAGS="-I/usr/local/include/" LDFLAGS="-L/usr/local/lib/" ./configure

This even seems to work with our -isystem stuff.

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to