sorry it might not belong to this board, but I don't know where else to
post
I have a c source file and a library, how should I compile under linux?
I have using the command like
gcc -o test -l lib.a main.c
but it fails, displays like
undefined reference to `ing'
collect2: ld returned 1 exit status
Thanks