I assume
hello()
is defined in library.c
, which you are not compiling or linking into the program by the look of it.