From The Compiler, 5 Years ago, written in Plain Text.
Embed
  1. ╭─[florian@ginny]──[~/SOEM1.3.0]──[13-08-12]──[9:56]──[git/master•]────┄
  2. ╰─╼ make
  3. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o test/linux/playground/playground.o test/linux/playground/playground.c
  4. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o osal/linux/osal.o osal/linux/osal.c
  5. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o oshw/linux/nicdrv.o oshw/linux/nicdrv.c
  6. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o oshw/linux/oshw.o oshw/linux/oshw.c
  7. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatfoe.o soem/ethercatfoe.c
  8. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatmain.o soem/ethercatmain.c
  9. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatsoe.o soem/ethercatsoe.c
  10. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatdc.o soem/ethercatdc.c
  11. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatconfig.o soem/ethercatconfig.c
  12. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatprint.o soem/ethercatprint.c
  13. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatcoe.o soem/ethercatcoe.c
  14. gcc -ggdb3 -Ioshw/linux -Iosal -Isoem -Wall -MMD -c -fPIC -o soem/ethercatbase.o soem/ethercatbase.c
  15. gcc -lpthread -shared -Wl,-soname,libsoem.so.1 -o libsoem.so.1.0.1 osal/linux/osal.o oshw/linux/nicdrv.o oshw/linux/oshw.o soem/ethercatfoe.o soem/ethercatmain.o soem/ethercatsoe.o soem/ethercatdc.o soem/ethercatconfig.o soem/ethercatprint.o soem/ethercatcoe.o soem/ethercatbase.o
  16. gcc -lpthread -L. -lsoem -o dynamically_linked -o test/linux/playground/playground test/linux/playground/playground.o
  17. /usr/bin/ld: cannot find -lsoem
  18. collect2: error: ld returned 1 exit status
  19. make: *** [test/linux/playground/playground] Error 1
  20. ╭─[florian@ginny]──[~/SOEM1.3.0]──[13-08-12]──[9:56]──[git/master•]────┄
  21. ╰─╼ ls libsoem.so.1.0.1
  22. libsoem.so.1.0.1