You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2019/03/15 10:19:00 UTC

[jira] [Created] (ORC-479) [C++] Fails to compile with protobuf 3.7 on OSX

Uwe L. Korn created ORC-479:
-------------------------------

             Summary: [C++] Fails to compile with protobuf 3.7 on OSX 
                 Key: ORC-479
                 URL: https://issues.apache.org/jira/browse/ORC-479
             Project: ORC
          Issue Type: Bug
          Components: C++
    Affects Versions: 1.5.5
            Reporter: Uwe L. Korn


This fails for me locally with
{code:java}
[9/82] Building CXX object c++/src/CMakeFiles/orc.dir/wrap/orc-proto-wrapper.cc.o
FAILED: c++/src/CMakeFiles/orc.dir/wrap/orc-proto-wrapper.cc.o
$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang++ -Ic++/include -I../c++/include -I../c++/src -Ic++/src -isystem $PREFIX/include -isystem c++/libs/thirdparty/googletest_ep-install/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0 -I$PREFIX/include -fdebug-prefix-map==/usr/local/src/conda/- -fdebug-prefix-map==/usr/local/src/conda-prefix -std=c++11 -Weverything -Wno-c++98-compat -Wno-missing-prototypes -Wno-c++98-compat-pedantic -Wno-padded -Wno-covered-switch-default -Wno-missing-noreturn -Wno-unknown-pragmas -Wno-gnu-zero-variadic-macro-arguments -Wconversion -Werror -std=c++11 -Weverything -Wno-c++98-compat -Wno-missing-prototypes -Wno-c++98-compat-pedantic -Wno-padded -Wno-covered-switch-default -Wno-missing-noreturn -Wno-unknown-pragmas -Wno-gnu-zero-variadic-macro-arguments -Wconversion -Werror -O3 -DNDEBUG -MD -MT c++/src/CMakeFiles/orc.dir/wrap/orc-proto-wrapper.cc.o -MF c++/src/CMakeFiles/orc.dir/wrap/orc-proto-wrapper.cc.o.d -o c++/src/CMakeFiles/orc.dir/wrap/orc-proto-wrapper.cc.o -c ../c++/src/wrap/orc-proto-wrapper.cc
In file included from ../c++/src/wrap/orc-proto-wrapper.cc:44:
In file included from c++/src/orc_proto.pb.cc:4:
c++/src/orc_proto.pb.h:16:15: error: 'PROTOBUF_MIN_PROTOC_VERSION' is not defined, evaluates to 0 [-Werror,-Wundef]
#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION
^
1 error generated.{code}
Googling indicates that this might be a mismatch of protoc and libprotobuf but I've verified that this is not the case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)