Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeTDS-0.62.4compilation error

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [freetds] FreeTDS-0.62.4compilation error
  • Date: Wed, 20 Oct 2004 22:21:47 -0400

shabnam AT cronomagic.com wrote:
>
> I tried to compile freetds-0.62.4 on windows. But there ia the error.
> could you help me to remove this error?
>
> Here is the error from freetds.
>
> make[2]: Entering directory `/usr/src/freetds-0.62.4/src/apps'
> /bin/bash ../../libtool --mode=link gcc -g -O2 -o bsqldb.exe
> bsqldb.o../dblib/libsybdb.la
> gcc -g -O2 -o bsqldb.exe bsqldb.o ../dblib/.libs/libsybdb.a
> /usr/lib/libiconv.dll.a
> bsqldb.o(.text+0x2708): In function `get_login':
> /usr/src/freetds-0.62.4/src/apps/bsqldb.c:676: undefined reference to
> `_basename'

shabnam,

That's not your father's Windows. Is that cygwin?

The error appears to be that your system does not define basename(3). I
added a local version to bsqldb today, patch attached. Let me know if
that does the trick.

--jkl

Attachment: bsqldb.diff
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page