Hi guys,
I'm trying to link the following code in linux:
#include "./rsl-v1.42/rsl.h"
void main(int argc, char **argv)
{
Radar *radar;
radar = RSL_anyformat_to_radar("CAT091013010219.RAWLM7B", NULL);
}
with the command line: cc -o code code.o
and in which the function RSL_anyformat_to_radar in declared inside rsl.h
and I receive the following error:
code.o: In function `main':
code.c
.text+0x19): undefined reference to `RSL_anyformat_to_radar'
collect2: ld returned 1 exit status
could anybody help me?
thanks a lot