Hi, I followed the BYOC tutorial and inserted some op functions of my compute 
library. When my op can run without any extern .so files, I found it works 
well. But if a op function relays on an extern .so library, TVM reports this 
error:
```
python: symbol lookup error: /home/.../dense.so: undefined symbol: 
extern_func_symbol
```
I have tried to add compile flags in `lib.export_library("./dense.so", options 
= "-std=c++11 -Lxxxxx")
`, but TVM reports `g++: error: unrecognized command line option ‘-std=c++11 
-Lxxxxx’`

How can I fix it?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/byoc-how-to-link-extern-so-files/12186/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/0dfcc07bd7bfa275356c91c5c38d1e5e2c5950be98b1a4f1808c8d3daa1becdc).

Reply via email to