ld: can't write output file for architecture x86_64

일리버·2020년 6월 1일

Q. ld: can't open output file for writing: a.out, errno=28 for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

A. When compiling, are working in your home directory?

As a test, can you try compiling under your normal account in another public writable location like /tmp?


perhaps it was permissions or ownership on some intermediate folder.

권한 문제라고 하는데 ls -al로 권한 확인하기 전에 공간 문제로 지워서 확인은 못했다.
하지만 vi로 수정 전에 chmod -R 777 * 로 전체 rwx 가능하게 만들어뒀던 것 같은데..

다음에 또 나오면 확인하는 걸로..

profile
대코로나 시대의 주니어 개발자

0개의 댓글