I compiled C in CentOS and face this error:
cc -c -o obj/BT.o BT.c -I./include -I/usr/dialogic/inc cc -o BT obj/BT.o obj/util.o -I./include -I/usr/dialogic/inc -L/usr /dialogic/lib
obj/BT.o: In function 'main':
BT.c:(.text+0x52): undefined reference to `gc_Start'
collect2: ld returned 1 exit status make: *** [BT] Error 1
I already linked to library -L/usr /dialogic/lib
but i don't know why it does not link when create binary file
Please, any one can suggest me something ?