Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

iOS compilation with amalgamate bash, undefined symbols for architecture arm64 #8850

Closed
Bathilde opened this issue Nov 28, 2017 · 2 comments · Fixed by #12792
Closed

iOS compilation with amalgamate bash, undefined symbols for architecture arm64 #8850

Bathilde opened this issue Nov 28, 2017 · 2 comments · Fixed by #12792

Comments

@Bathilde
Copy link

Hello,

I compiled the amalgamate with the make command. Then I followed this tutorial to make the code compatible https://github.com/apache/incubator-mxnet/tree/master/amalgamation#ios . I also updated the MSHADOW_USE_SSE define (like in this thread #4820).

It seems there is still one configuration issue. When I compile my code, I have an error of missing architecture arm64. (it is my current configuration)

Undefined symbols for architecture arm64:
  "dmlc::io::FileSystem::ListDirectoryRecursive(dmlc::io::URI const&, std::__1::vector<dmlc::io::FileInfo, std::__1::allocator<dmlc::io::FileInfo> >*)", referenced from:
      vtable for dmlc::io::LocalFileSystem in mxnet_predict-all.o
  "void mxnet::common::CastStorageDispatch<mshadow::cpu>(mxnet::OpContext const&, mxnet::NDArray const&, mxnet::NDArray const&)", referenced from:
      mxnet::common::CastNonDefaultStorage(std::__1::vector<mxnet::NDArray, std::__1::allocator<mxnet::NDArray> > const&, std::__1::vector<mxnet::NDArray, std::__1::allocator<mxnet::NDArray> > const&, mxnet::OpContext const&, bool) in mxnet_predict-all.o

This is the beginning of the issue, it has several more errors.

Do you have any idea what produces this error?

@SuperLinguini
Copy link

Proposed Labels: "ARM", "Build", "Installation"

@Aozorany
Copy link

@ufoym ufoym mentioned this issue Oct 14, 2018
4 tasks
szha pushed a commit that referenced this issue Feb 16, 2019
* Fix broken amalgamation

* Fixes #8850

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md
stephenrawls pushed a commit to stephenrawls/incubator-mxnet that referenced this issue Feb 16, 2019
* Fix broken amalgamation

* Fixes apache#8850

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md
jessr92 pushed a commit to jessr92/incubator-mxnet that referenced this issue Feb 19, 2019
* Fix broken amalgamation

* Fixes apache#8850

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md
drivanov pushed a commit to drivanov/incubator-mxnet that referenced this issue Mar 4, 2019
* Fix broken amalgamation

* Fixes apache#8850

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md
vdantu pushed a commit to vdantu/incubator-mxnet that referenced this issue Mar 31, 2019
* Fix broken amalgamation

* Fixes apache#8850

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md
haohuanw pushed a commit to haohuanw/incubator-mxnet that referenced this issue Jun 23, 2019
* Fix broken amalgamation

* Fixes apache#8850

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants