Record Detail

Compile Error

prepare (1/3): 
cp: cannot stat '/in/*.*': No such file or directory
finished

make (2/3): 
clang-17 -std=gnu11 -O2 -Wall -Wextra -Werror -pedantic -Wno-unused-result -Wconversion -Wvla -o l5 *.c
clang-17 -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-2f8ebc.o: In function `run':
main.c:(.text+0x10d): undefined reference to `createDlist'
main.c:(.text+0x119): undefined reference to `createDlist'
main.c:(.text+0x185): undefined reference to `dlistAppend'
main.c:(.text+0x1e2): undefined reference to `dlistAppend'
main.c:(.text+0x20c): undefined reference to `dlistSort'
main.c:(.text+0x219): undefined reference to `dlistSort'
main.c:(.text+0x221): undefined reference to `dlistPrint'
main.c:(.text+0x229): undefined reference to `dlistFree'
main.c:(.text+0x231): undefined reference to `dlistFree'
clang-17: 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-f3e888.o: In function `run':
main.c:(.text+0x270): undefined reference to `createDlist'
main.c:(.text+0x27c): undefined reference to `createDlist'
main.c:(.text+0x399): undefined reference to `dlistAppend'
main.c:(.text+0x3f2): undefined reference to `dlistAppend'
main.c:(.text+0x41d): undefined reference to `dlistSort'
main.c:(.text+0x42b): undefined reference to `dlistSort'
main.c:(.text+0x433): undefined reference to `dlistPrint'
main.c:(.text+0x43b): undefined reference to `dlistFree'
main.c:(.text+0x443): undefined reference to `dlistFree'
clang-17: 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-29 13:09:50
Judged At
2023-10-29 13:09:50
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes