Я пытаюсь скомпилировать программу C с помощью файла make, и я получаю ошибку компоновщика. Я пытался найти решение онлайн, но не смог найти. Спасибо
ld: warning: ignoring file libfs.a, file was built for archive which is not the architecture being linked (x86_64): libfs.a
Undefined symbols for architecture x86_64:
"_createFile", referenced from:
_main in test-3d1417.o
"_mountFS", referenced from:
_main in test-3d1417.o
"_removeFile", referenced from:
_main in test-3d1417.o
"_unmountFS", referenced from:
_main in test-3d1417.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [test] Error 1