Noorez Kassam wrote:
> The attached files are the ones that i put into a library except the .h
> file. It compiles fine into a .a file. I then stick this .a file into a
> location that i tell the compiler to look for library files. The
> functions were declared and defined under namespace myf so in my
> programs i say using namespace myf.
> But when I compile, I get a Linker error saying that there was un
> undefined reference to myf::<function name>
> What's happening?
are you actually linking it? i.e. are you passing some
-lname_of_the_library parameter to the linker?
Regards,
Michal
|