c언어 replit 질문입니다

8926pgg의 이미지

replit에 코드를 넣고 실행을 했더니 오른쪽에
make -s
/nix/store/v8imx1nvyz0hgvx9cbcmh6gp4ngw3ffj-binutils-2.35.1/bin/ld: ./Q3.o: in function `main':
/home/runner/s/Q3.c:5: multiple definition of `main'; ./main.o:/home/runner/s/main.c:6: first defined here
/nix/store/v8imx1nvyz0hgvx9cbcmh6gp4ngw3ffj-binutils-2.35.1/bin/ld: ./Q3.o: in function `main':
/home/runner/s/Q3.c:9: undefined reference to `prinf'
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:8: main] Error 1
exit status 2
 ^C

이렇게 뜨면서 실행이 되질 않습니다 왜 이런가요? ㅠㅠ
원래 devc++를 써왔어서 devc++에서 컴파일하고 실행해봤더니 잘됩니다.

익명 사용자의 이미지

/home/runner/s/Q3.c:9: undefined reference to `prinf'

잘 됐다구요..?

세벌의 이미지

/home/runner/s/Q3.c:5: multiple definition of `main'; ./main.o:/home/runner/s/main.c:6: first defined here
main을 두 번 정의한 것 같군요.

prinf 정의되지 않은 참조...
printf 에서 t 빠진 거 같네요.