~/workspace/pset5/speller/ $ make speller

clang -fsanitize=signed-integer-overflow -fsanitize=undefined -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wshadow speller.c -lcrypt -lcs50 -lm -o speller

/usr/bin/ld: cannot open output file speller: Is a directory

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

make: *** [speller] Error 1


1 Answer 1


Remove directory ~/workspace/pset5/speller/speller/.

Due to problems I've experienced with deleting in the file tree on the left, I'd recommend using rm, like rm -d ~/workspace/pset5/speller/speller

  • it shows me that it cannot remove it cause the directory is not empty Jun 18, 2018 at 16:53
  • Well, then you need to empty the directory first.
    – curiouskiwi
    Jun 19, 2018 at 0:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .