Status: New
Labels: Type-Defect Priority-Medium

New issue 282 by Protobuf cross compilation for vxworks requires additional linux files

What steps will reproduce the problem?
My main goal is to use protobuf buffers on vxworks system.
I have downloaded the 2.4.1 protobuf and installed it (on linux) with the following flags:
./configure --host=pentium4-pc-windows --target=mips-wrs-vxworks
Then, I compiled the .proto files, and integrated the generated *.h and *.cc into my development environment which is compiled with Tornado over Windows. I have also copied the /google directory into my development code. The problem is: when I try to compile the included files I get errors that a lot of linux files are missing, such as /sys/param.h, /linux/limits.h, /asm/param.h etc. It doesn't seems right to use these files, as the code should run on vxworks.

What is the expected output? What do you see instead?
I would expect the code to compile smoothly, but it requires additional linux files.

What version of the product are you using? On what operating system?
2.4.1, installed over linux and configured with
./configure --host=pentium4-pc-windows --target=mips-wrs-vxworks

The output should be compiled for vxworks using Tornado over Windows.

Please provide any additional information below.

Any suggestions?
Thanks a lot

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to