how to implement a customized engine #1793
Unanswered
wangyihanlarry
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I tried to write my own helloworld engine by refering the code of null.c as below
but I met the following issues when compilng it
engines % g++ -O2 -g -shared -rdynamic -fPIC -o cpp_hellowold helloworld.cpp -include ../config-host.h -DFIO_EXTERNAL_ENGINE
Undefined symbols for architecture arm64:
"io_u_queued(thread_data*, io_u*)", referenced from:
HelloWorldData::helloworld_commit(thread_data*) in helloworld-4e8e11.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Beta Was this translation helpful? Give feedback.
All reactions