Common compilelinker errors GCC

undefined reference to

error was not declared in this scope

fatal error No such file or directory