kou commented on PR #14530:
URL: https://github.com/apache/arrow/pull/14530#issuecomment-1328341447

   @paleolimbot Could you open an issue for 
https://github.com/ursacomputing/crossbow/actions/runs/3559717769/jobs/5979255297#step:9:2818
 ?
   
   ```text
   C:/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o arrow.dll tmp.def 
RTasks.o altrep.o array.o array_to_vector.o arraydata.o arrowExports.o bridge.o 
buffer.o chunkedarray.o compression.o compute-exec.o compute.o config.o csv.o 
dataset.o datatype.o expression.o extension-impl.o feather.o field.o 
filesystem.o imports.o io.o json.o memorypool.o message.o parquet.o 
r_to_arrow.o recordbatch.o recordbatchreader.o recordbatchwriter.o 
safe-call-into-r-impl.o scalar.o schema.o symbols.o table.o threadpool.o 
type_infer.o -LD:/a/crossbow/crossbow/dist/lib -LC:/rtools40/mingw64/lib 
-larrow_dataset -lparquet -larrow C:/rtools40/mingw64/lib/libre2.a -lthrift -lz 
-LC:/R/bin/x64 -lR
   
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 altrep.o:altrep.cpp:(.text+0x544d): undefined reference to 
`arrow::internal::ChunkResolver::ChunkResolver(std::vector<std::shared_ptr<arrow::Array>,
 std::allocator<std::shared_ptr<arrow::Array> > > const&)'
   
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 altrep.o:altrep.cpp:(.text+0x5898): undefined reference to 
`arrow::internal::ChunkResolver::ChunkResolver(std::vector<std::shared_ptr<arrow::Array>,
 std::allocator<std::shared_ptr<arrow::Array> > > const&)'
   
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 altrep.o:altrep.cpp:(.text+0x599c): undefined reference to 
`arrow::internal::ChunkResolver::ChunkResolver(std::vector<std::shared_ptr<arrow::Array>,
 std::allocator<std::shared_ptr<arrow::Array> > > const&)'
   
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 altrep.o:altrep.cpp:(.text+0x5a5b): undefined reference to 
`arrow::internal::ChunkResolver::ChunkResolver(std::vector<std::shared_ptr<arrow::Array>,
 std::allocator<std::shared_ptr<arrow::Array> > > const&)'
   
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 altrep.o:altrep.cpp:(.text+0x5ad7): undefined reference to 
`arrow::internal::ChunkResolver::ChunkResolver(std::vector<std::shared_ptr<arrow::Array>,
 std::allocator<std::shared_ptr<arrow::Array> > > const&)'
   collect2.exe: error: ld returned 1 exit status
   ```
   
   The following patch may fix the error:
   
   ```diff
   diff --git a/cpp/src/arrow/chunk_resolver.h b/cpp/src/arrow/chunk_resolver.h
   index 1a63d26c24..818070ffe3 100644
   --- a/cpp/src/arrow/chunk_resolver.h
   +++ b/cpp/src/arrow/chunk_resolver.h
   @@ -32,7 +32,7 @@ struct ChunkLocation {
    };
    
    // An object that resolves an array chunk depending on a logical index
   -struct ChunkResolver {
   +struct ARROW_EXPORT ChunkResolver {
      explicit ChunkResolver(const ArrayVector& chunks);
    
      explicit ChunkResolver(const std::vector<const Array*>& chunks);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to