From: Danilo N. <dan...@gm...> - 2013-01-29 18:22:57
|
Hi, I'm trying to develop in OpenSC project and I modified opensc-tool.c I added a code block and in this code there is "int res = sc_load_foo(s);" The function sc_load is declared in /src/libopensc/opensc.h (int sc_load_foo(char *);) and is implemented in /src/libopensc/card.c When I try to compile project I get this error : "*undefined reference to 'sc_load_foo(s)'*" in opensc-tool.c But in opensc-tool.c there is the line #include "libopensc/opensc.h" and in card.c there is #include "internal.h" and in internal.h there is #include "libopensc/opensc.h" Why when I try to do make I get this error? Anyone can help me? Regards, Danilo |