我有一个使用以下命令编译的 NASM 汇编文件:
nasm -felf64 -g -Fdwarf groundFloor.asm -o file.o
groundFloor.asm
ld file.o -o file
undefined reference to 'scanf'