freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Accessing Ms SQL Server queries through FREETDS C Apis
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Accessing Ms SQL Server queries through FREETDS C Apis
- Date: Tue, 16 Nov 2004 01:34:46 -0500
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] Accessing Ms SQL Server queries through FREETDS C Apis,
Mostafa Fazle Rabbi, 11/15/2004
- Re: [freetds] Accessing Ms SQL Server queries through FREETDS C Apis, James K. Lowden, 11/16/2004
- <Possible follow-up(s)>
- RE: [freetds] Accessing Ms SQL Server queries through FREETDS C Apis, Mostafa Fazle Rabbi, 11/25/2004
Archive powered by MHonArc 2.6.24.