Skip to Content.
Sympa Menu

freetds - RE: [freetds] 0.63 Release Candidate 1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] 0.63 Release Candidate 1
  • Date: Wed, 1 Dec 2004 09:50:11 +0100


> From: James K. Lowden
> Sent: mercoledì 1 dicembre 2004 3.22
>
> joshua stein <jcs AT jcs.org> wrote:
> > building on openbsd-current i386:
> >
> > [...]
> > Making all in apps
> > source='tsql.c' object='tsql.o' libtool=no depfile='.deps/tsql.Po'
> > tmpdepfile='.deps/tsql.TPo' depmode=gcc /bin/sh ../../depcomp cc
> > -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> > -D_FREETDS_LIBRARY_SOURCE -I/usr/local/include -DDEBUG=1 -Wall
> > -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -O2 -pipe -c
> > `test -f 'tsql.c' || echo './'`tsql.c/bin/sh ../../libtool
> --mode=link
> > cc -O2 -pipe -L/usr/local/lib -o tsql tsql.o -lncurses
> -lreadline
> > ../tds/libtds.la -lc mkdir .libs
> > cc -O2 -pipe -o .libs/tsql tsql.o -L/usr/local/lib
> -lncurses -lreadline
> > -L../tds/.libs -ltds -liconv -Wl,-rpath,/usr/local/lib
> > tsql.o(.text+0xd62): In function `main':: undefined reference to
> > `tds_free_connection' tsql.o(.text+0xd87): In function `main':
> > : undefined reference to `tds_free_connection'
> > collect2: ld returned 1 exit status
>
> Thank you for reporting this.
>
> I bumped the major version number of libtds.
>
> In 0.62, "tds_free_connection" was called "tds_free_connect()".
>

This will fix the problem however I don't understand where does
-L/usr/local/lib came... The line that call libtool came from our Makefile
but I didn't fine any reference to /usr/local in my Makefile.in. I suspect
some test in configure or an additional configuration... Adding a function do
not cause a version bump however if linker found old library before you can
have a undefined reference.
Joshua, do you set some LDFLAGS/CFLAGS ??

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page