Posts

Post not yet marked as solved
3 Replies
5k Views
Hi All, I'm writing a c program on my m1 macbook, but when i compiled the project, error occurs: Undefined symbols for architecture arm64: "_fp", referenced from: _main in main.c.o "_init", referenced from: _main in main.c.o ld: symbol(s) not found for architecture arm64 and also, when i exec ld command, it will return some warnings: ld: warning: platform not specified ld: warning: -arch not specified ld: warning: No platform min-version specified on command line ld: no object files specified I only install the xcode command line tools and use vscode, i believe it's a link problem but have no idea if it's a bug or my config fault. Someone has any idea?Thanks
Posted
by ukujou.
Last updated
.
Post not yet marked as solved
2 Replies
485 Views
Hi everyone, I was using tensorflow on my m1 mac, but python crashed when i import tensorflow. I test it in the command line, but it returns python is killed when import tensorflow. I have attached the Crash Report to gist. https://gist.github.com/ukujou/8484fa8c3264f36edae6fe3d3dd0b6b4.js For now, I just disable SIG and it works, but i am worrying about the drawback. Do anyone have some idea on how to solve this? Thanks!
Posted
by ukujou.
Last updated
.