Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- demo : demo.o file_process.o
- gcc demo.o file_process.o -o demo
- demo.o : demo.c global_vars.h
- gcc -Wall `pkg-config --cflags MLV` `pkg-config --libs-only-other --libs- only-L MLV` demo.c `pkg-config --libs-only-l MLV` -o demo.o
- file_process.o : file_process.c global_vars.h file_process.h
- gcc -Wall `pkg-config --cflags MLV` `pkg-config --libs-only-other --libs-only-L MLV` file_process.c `pkg-config --libs-only-l MLV` -o file_process.o
- gcc -Wall `pkg-config --cflags MLV` `pkg-config --libs-only-other --libs- only-L MLV` demo.c `pkg-config --libs-only-l MLV` -o demo.o
- /tmp/ccDWHuYY.o: dans la fonction « main »:
- demo.c:(.text+0x1010): référence indéfinie vers « affiche_fichier »
- demo.c:(.text+0x1b45): référence indéfinie vers « save_partie »
- demo.c:(.text+0x26cd): référence indéfinie vers « save_score »
- collect2: error: ld returned 1 exit status
- makefile:5: recipe for target 'demo.o' failed
- make: *** [demo.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement