[freetds] Accessing Ms SQL Server queries through FREETDS C Apis
Mostafa Fazle Rabbi
MostafaFazleRabbi at prettygirl.com.au
Thu Nov 25 23:00:40 EST 2004
Thanks for your help. It is working fine now.
From: freetds-bounces at lists.ibiblio.org
[mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Tuesday, 16 November 2004 4:35 PM
To: FreeTDS Development Group
Subject: Re: [freetds] Accessing Ms SQL Server queries through FREETDS C
On Tue, 16 Nov 2004 13:12:51 +1100, "Mostafa Fazle Rabbi"
<MostafaFazleRabbi at prettygirl.com.au> wrote:
> I want to build a package using FreeTDS. How can I biuld a package.
> Which Makefiles
> do I need to use ? I was trying to complie a test program which uses
> freetds functions.
> This was my command: gcc x.c
> Compilation was unsuccessful and was comming up with following error
> /tmp/cce6NMOE.o(.text+0x82): In function `main':
> : undefined reference to `tds_alloc_login'
Don't use libtds directly. Cf. http://www.freetds.org/which_api.html.
For example Makefiles, you might want to look at src/dblib/Makefile.
From the error quoted above, it looks like you need to link in
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
The information contained in this e-mail communication may be confidential. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. If you are not the intended recipient of this e-mail communication, please immediately notify the sender by e-mail and then destroy any electronic or paper copy of this message.
Any views expressed in this e-mail communication are those of the individual sender, except where the sender specifically states them to be the views of PGFG or any of its divisions. PGFG or any of its divisions does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus or interference.
More information about the FreeTDS