I am using a mac and i wanted use cs50 library to make things easier but i am facing constant problems

38 Views Asked by At
cd "/Users/vijaykumarbk/Desktop/" && gcc helo.c -o helo && "/Users/vijaykumarbk/Desktop/"helo
vijaykumarbk@a-laptop Desktop % cd "/Users/vijaykumarbk/Desktop/" && gcc helo.c -o helo && "/Users/vijaykumarbk/Desktop/"helo
ld: Undefined symbols:
  _get_string, referenced from:
      _main in helo-faead5.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
vijaykumarbk@a-laptop Desktop % make helo
cc     helo.c   -o helo
ld: Undefined symbols:
  _get_string, referenced from:
      _main in helo-8ff670.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [helo] Error 1
vijaykumarbk@a-laptop Desktop % make helo.c
make: Nothing to be done for `helo.c'.
vijaykumarbk@a-laptop Desktop % 
0

There are 0 best solutions below