Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. demo : demo.o file_process.o
  2. gcc demo.o file_process.o -o demo
  3.  
  4. demo.o : demo.c global_vars.h
  5. 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
  6.  
  7. file_process.o : file_process.c global_vars.h file_process.h
  8. 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
  9.  
  10. 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
  11. /tmp/ccDWHuYY.o: dans la fonction « main »:
  12. demo.c:(.text+0x1010): référence indéfinie vers « affiche_fichier »
  13. demo.c:(.text+0x1b45): référence indéfinie vers « save_partie »
  14. demo.c:(.text+0x26cd): référence indéfinie vers « save_score »
  15. collect2: error: ld returned 1 exit status
  16. makefile:5: recipe for target 'demo.o' failed
  17. make: *** [demo.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement