Trying to make a c++ program splitting a line and creating 2 std::vector to save elements from said line.
This is the function I call:
void readConf(const char *name, std::vector<t_objectLibrary> libs, std::vector<IObject *> &objs, std::vector<IObject *> &timer)
I placed in inside config.hpp which has it's prototype :
void readConf(const char *name, std::vector<t_objectLibrary> libs,std::vector<IObject *> &objs, std::vector<IObject *> timer);
and in the main I call it like this :
int main(int ac, char **av)
{
  std::vector<IObject *>        objs;
  std::vector<IObject *>        timer;
  std::vector<t_objectLibrary>  libs;
  libs = lib_read("./src/objectLibrary");
  readConf("config.txt", libs, objs, timer); 
...
}
yet I get this error message when I compile with the Makefile. Everything is fine until the last message of compilation it says this :

Here is the Makefile I use (Asked in the comments) :
11 │ SRC     =       src/getvalue.cpp \
12 │                 src/iobject.cpp \
13 │                 src/attributes.cpp \
14 │                 src/dynamic_lib.cpp \
15 │                 src/config.cpp \
16 │                 src/color.cpp \
17 │                 src/main.cpp
18 │ 
19 │ OBJ     =       $(SRC:.cpp=.o)
20 │ 
21 │ NAME    =       conf
22 │ 
23 │ CXX     =       g++ -std=c++11 -Wall -Wextra -lsfml-graphics -lsfml-window -lsfml-system -fPIC
24 │ 
25 │ RM      =       rm -f
26 │ 
27 │ all:    $(NAME) $(OBJ)
28 │ 
29 │ $(NAME):        $(OBJ)
30 │                 $(CXX) $(OBJ) -o $(NAME) -ldl
31 │ 
32 │ clean:
33 │                 $(RM) $(OBJ)
34 │ 
35 │ fclean: clean
36 │                 $(RM) $(NAME)
37 │ 
38 │ re:     fclean all
39 │ 
40 │ .phony: all clean fclean re
 
     
    