Thank you for your help but I got it working now. I compiled FreeTDS with the option for version 7.0 and it worked fine. The problem was with the version. The MS SQL server is 7.0 version and the Free TDS was compiled with the 4.2 version.
By the way, I am using Linux RedHat 7.0.
Felipe Almeida