Dear all ,
I have one shared library in "/usr/lib/ast/mod/quad.so"
where the functions "X1" and "X2" are defined.
In header file "quad.h" it is declared.
I have created a "test.c" where X1 and X2 are called
I have used the following commads for compiling and linking
#gcc -c test.c
#gcc -o test.o -L. -Wl,-rpath,/usr/lib/ast/mod/quad.so
i am getting the error:
undefined reference to X1
undefined refernece yo X2
what all things i have to do to make a proper linking