I am trying to link SQLAPI++ with DEV-CPP 4.9.9.2. I have included all the necessary libs and includes but the linker give me the following errors.

[Linker error] undefined reference to `SAConnection::Connect(SAString const&, SAString const&, SAString const&, SAClient_t)'

[Linker error] undefined reference to `SACommand::setCommandText(SAString const&, SACommandType_t)'

[Linker error] undefined reference to `SACommand::setCommandText(SAString const&, SACommandType_t)'

I am basically modifying an existing program which used SQLAPI++ meant for mingw gcc ver 3.9.2. Now the libraries are available for mingw gcc ver 4.4 and 4.5.

Can somebody help me out?