Skip to content
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

Apple M2编译成功,但是调用时报错 #291

Open
Baiyuetribe opened this issue Feb 19, 2023 · 1 comment
Open

Apple M2编译成功,但是调用时报错 #291

Baiyuetribe opened this issue Feb 19, 2023 · 1 comment

Comments

@Baiyuetribe
Copy link

[build] Undefined symbols for architecture arm64:
[build]   "_libgo_jump_fcontext", referenced from:
[build]       co::libgo_poll(pollfd*, unsigned int, int, bool) in liblibgo.a(hook.cpp.o)
[build]       _select in liblibgo.a(hook.cpp.o)
[build]       _sleep in liblibgo.a(hook.cpp.o)
[build]       _usleep in liblibgo.a(hook.cpp.o)
[build]       _nanosleep in liblibgo.a(hook.cpp.o)
[build]       co::Task::Run() in liblibgo.a(task.cpp.o)
[build]       co::LibgoSwitcher::sleep() in liblibgo.a(task.cpp.o)
[build]       ...
[build]   "_libgo_make_fcontext", referenced from:
[build]       co::Context::Context(void (*)(long), long, unsigned long) in liblibgo.a(task.cpp.o)
@paradiseforgithub
Copy link

paradiseforgithub commented Feb 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants