Created
July 27, 2017 18:39
-
-
Save acgetchell/279c5380100434a0ad40b706989c9be9 to your computer and use it in GitHub Desktop.
Arrow c++ build errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─[adam][hapkido][±][master U:1 ✗][~/arrow-test] | |
└─▪ cmake --build . | |
Scanning dependencies of target arrow-test | |
[ 50%] Building CXX object CMakeFiles/arrow-test.dir/main.cpp.o | |
/Users/adam/arrow-test/main.cpp:6:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Append(1); | |
^~~~~~~~~~~~~~ ~ | |
/Users/adam/arrow-test/main.cpp:7:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Append(2); | |
^~~~~~~~~~~~~~ ~ | |
/Users/adam/arrow-test/main.cpp:8:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Append(3); | |
^~~~~~~~~~~~~~ ~ | |
/Users/adam/arrow-test/main.cpp:9:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.AppendNull(); | |
^~~~~~~~~~~~~~~~~~ | |
/Users/adam/arrow-test/main.cpp:10:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Append(5); | |
^~~~~~~~~~~~~~ ~ | |
/Users/adam/arrow-test/main.cpp:11:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Append(6); | |
^~~~~~~~~~~~~~ ~ | |
/Users/adam/arrow-test/main.cpp:12:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Append(7); | |
^~~~~~~~~~~~~~ ~ | |
/Users/adam/arrow-test/main.cpp:13:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Append(8); | |
^~~~~~~~~~~~~~ ~ | |
/Users/adam/arrow-test/main.cpp:16:5: warning: ignoring return value of function | |
declared with 'warn_unused_result' attribute [-Wunused-result] | |
builder.Finish(&array); | |
^~~~~~~~~~~~~~ ~~~~~~ | |
9 warnings generated. | |
[100%] Linking CXX executable arrow-test | |
Undefined symbols for architecture x86_64: | |
"arrow::ArrayBuilder::Reserve(long long)", referenced from: | |
arrow::NumericBuilder<arrow::Int64Type>::Append(long long) in main.cpp.o | |
arrow::PrimitiveBuilder<arrow::Int64Type>::AppendNull() in main.cpp.o | |
"arrow::PrimitiveBuilder<arrow::Int64Type>::Init(long long)", referenced from: | |
vtable for arrow::NumericBuilder<arrow::Int64Type> in main.cpp.o | |
vtable for arrow::PrimitiveBuilder<arrow::Int64Type> in main.cpp.o | |
"arrow::PrimitiveBuilder<arrow::Int64Type>::Finish(std::__1::shared_ptr<arrow::Array>*)", referenced from: | |
vtable for arrow::NumericBuilder<arrow::Int64Type> in main.cpp.o | |
vtable for arrow::PrimitiveBuilder<arrow::Int64Type> in main.cpp.o | |
"arrow::PrimitiveBuilder<arrow::Int64Type>::Resize(long long)", referenced from: | |
vtable for arrow::NumericBuilder<arrow::Int64Type> in main.cpp.o | |
vtable for arrow::PrimitiveBuilder<arrow::Int64Type> in main.cpp.o | |
"arrow::default_memory_pool()", referenced from: | |
_main in main.cpp.o | |
"arrow::int64()", referenced from: | |
_main in main.cpp.o | |
"arrow::NumericArray<arrow::Int64Type>::raw_values() const", referenced from: | |
_main in main.cpp.o | |
"typeinfo for arrow::ArrayBuilder", referenced from: | |
typeinfo for arrow::PrimitiveBuilder<arrow::Int64Type> in main.cpp.o | |
"vtable for arrow::ArrayBuilder", referenced from: | |
arrow::ArrayBuilder::ArrayBuilder(arrow::MemoryPool*, std::__1::shared_ptr<arrow::DataType> const&) in main.cpp.o | |
arrow::ArrayBuilder::~ArrayBuilder() in main.cpp.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make[2]: *** [arrow-test] Error 1 | |
make[1]: *** [CMakeFiles/arrow-test.dir/all] Error 2 | |
make: *** [all] Error 2 | |
┌─[adam][hapkido][±][master U:1 ✗][~/arrow-test] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment