Record Detail

Compile Error

prepare (1/3): 
finished

make (2/3): 
clang -std=gnu11 -O2 -Wall -Wextra -Werror -pedantic -Wno-unused-result -Wconversion -Wvla -o l5 *.c
clang -std=gnu11 -O2 -Wall -Wextra -Werror -pedantic -Wno-unused-result -Wconversion -Wvla -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=integer -o l5_memory_check *.c
/tmp/main-3a9e97.o: In function `main':
main.c:(.text+0x260): multiple definition of `main'
/tmp/api_test-c0639b.o:api_test.c:(.text+0x0): first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:13: recipe for target 'l5' failed
make: *** [l5] Error 1
make: *** Waiting for unfinished jobs....
/tmp/main-94c930.o: In function `main':
main.c:(.text+0x510): multiple definition of `main'
/tmp/api_test-f625d0.o:api_test.c:(.text+0x0): first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:16: recipe for target 'l5_memory_check' failed
make: *** [l5_memory_check] Error 1

build failed

Information

Submit By
Type
Submission
Homework
l5
Language
GNU Make
Submit At
2023-10-24 11:15:09
Judged At
2023-10-24 11:15:09
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes