So then you don't need the code that's giving you errors - it's part
of protoc. It's been way too many moons since I've looked at the
details for how to only build the lib and not protoc, or even if it's
still possible, but you might find that that's the path of least
resistance.

On Tue, Mar 14, 2017 at 4:35 PM, Doug Lewis <douglewis....@gmail.com> wrote:
> My host platform is an Ubuntu Linux box where the protoc compiler will run
> to generate the C++ code that will be cross compiled to run on the uClinux
> target.
>
> Doug
>
>
> On Tuesday, March 14, 2017 at 2:56:04 PM UTC-5, Doug Lewis wrote:
>>
>> I've been tasked with seeing if we can use protobuf on ucLinux (micro c
>> Linux).  We had previously been using an embedded version of Debian Linux
>> and we had protobuf working very well on it.
>>
>> The specific issue I am having is as I'm building the protobuf code I get
>> this compile error:
>>
>> google/protobuf/compiler/subprocess.cc:304: error: 'fork' was not declared
>> in this scope
>>
>> ucLinux does not support 'fork' but it does have 'vfork'.  I do not relish
>> the idea of modifying the protobuf source code to change any 'fork' calls to
>> 'vfork' and was wondering if anyone else has "ported" protobuf to ucLinux.
>>
>> Thanks,
>> Doug
>>
> --
> 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 https://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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to