-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tvm/apps/bundle_deploy/build --> make failed #5709
Comments
cc @liangfu |
@tqchen compiled with tvm.target.arm_cpu('pynq') in build_model.py gcc -shared -Wall -std=c99 -O2 -fPIC -I/home/pi/incubator-tvm/include -I/home/pi/incubator-tvm/3rdparty/dmlc-core/include -I/home/pi/incubator-tvm/3rdparty/dlpack/include -fvisibility=hidden -o build/bundle_c.so bundle.c runtime.c build/model.o -pthread |
Please open a new thread on https://discuss.tvm.ai/ to followup |
But for this example under tvm/apps/bundle_deploy/build, dynamic and static libs, described in offical web site, did not work at all. Tried many times but always the same error:
In file included from runtime.c:61:0:
../../src/runtime/crt/crt_backend_api.c: In function ‘TVMBackendRegisterSystemLibSymbol’:
../../src/runtime/crt/crt_backend_api.c:49:3: error: ‘g_fexecs’ undeclared (first use in this function)
g_fexecs = vrealloc(g_fexecs, sizeof(TVMPackedFunc) * (g_fexecs_count + 1));
^~~~~~~~
../../src/runtime/crt/crt_backend_api.c:49:3: note: each undeclared identifier is reported only once for each function it appears in
../../src/runtime/crt/crt_backend_api.c:49:40: error: ‘TVMPackedFunc’ undeclared (first use in this function); did you mean ‘TVMPackedCFunc’?
g_fexecs = vrealloc(g_fexecs, sizeof(TVMPackedFunc) * (g_fexecs_count + 1));
^~~~~~~~~~~~~
TVMPackedCFunc
../../src/runtime/crt/crt_backend_api.c:49:58: error: ‘g_fexecs_count’ undeclared (first use in this function); did you mean ‘g_fexecs’?
g_fexecs = vrealloc(g_fexecs, sizeof(TVMPackedFunc) * (g_fexecs_count + 1));
^~~~~~~~~~~~~~
g_fexecs
Makefile:87: recipe for target 'build/bundle_c.so' failed
make: *** [build/bundle_c.so] Error 1
The text was updated successfully, but these errors were encountered: