Skip to Content.
Sympa Menu

freetds - RE: [freetds] Accessing Ms SQL Server queries through FREETDS C Apis

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mostafa Fazle Rabbi" <MostafaFazleRabbi AT prettygirl.com.au>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Accessing Ms SQL Server queries through FREETDS C Apis
  • Date: Fri, 26 Nov 2004 15:00:40 +1100

Hi James,

Thanks for your help. It is working fine now.

Regards,

Mostafa

-----Original Message-----
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
Apis

On Tue, 16 Nov 2004 13:12:51 +1100, "Mostafa Fazle Rabbi"
<MostafaFazleRabbi AT prettygirl.com.au> wrote:
> Hi,
>
> 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
> message
> /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
additional libraries.

--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

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.





Archive powered by MHonArc 2.6.24.

Top of Page