This error means that the symbol (base) is defined in several modules.
You can declare a symbol of as many modules as possible. The function declaration is as follows:
int stem(char * p, int i, int j);
You do not need the keyword "extern", although this will not hurt anything. For function declarations, this is implied.
A function definition is as follows:
int stem(char * p, int i, int j)
{
}
" " , . , , , , # , . , #include. .c,.cpp .cc .h, #include.
, stem.h :
int stem(char * p, int i, int j);
#include "stem.h".