0

can anyone tell me why I cannot compile my code? I know the program is working because I had it working on a different machine but I want to run it on Ubuntu.

Terminal Log after attempt to build

Some programmer dude
  • 400,186
  • 35
  • 402
  • 621
AnthonyH
  • 47
  • 7
  • 1
    Those are not compiler errors, but *linker* errors, and you get them because you don't link with the required library for those functions. Try reading the manual pages for those functions to see what library you need to link with (or possibly other flags you need to provide when building). – Some programmer dude Jun 30 '20 at 20:42
  • 1
    If you do something like `man sem_wait` it clearly states *"Link with -pthread."* – Eugene Sh. Jun 30 '20 at 20:42
  • Please copy/paste your errors as text, not as an image. – Fred Larson Jun 30 '20 at 20:42

0 Answers0