Skip to Content.
Sympa Menu

freetds - Re: [freetds] sqsh-2.1.4 compile

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Merle Reinhart <merlereinhart AT mac.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] sqsh-2.1.4 compile
  • Date: Sun, 30 Mar 2008 15:05:42 -0400

Chistos,

Here is how I was able to get sqsh to build and work with 0.82 on Mac OS X:

Defining them in sqsh file
cmd_bcp.c as:
#define BLK_VERSION_120 BLK_VERSION_100
#define BLK_VERSION_125 BLK_VERSION_100
#define BLK_VERSION_150 BLK_VERSION_100

works and allow sqsh to build and function (this workaround was
mentioned in the sqsh forum back in October for Linux). It looks to
me like sqsh is expecting them to be defined in FreeTDS in cspublic.h
(BLK_VERSION_100 and BLK_VERSION_110 are already defined there).


Merle





Message: 2
Date: Sun, 30 Mar 2008 12:53:41 +0300
From: Christos Vasilakis <cvasilak AT gmail.com>
Subject: [freetds] sqsh-2.1.4 compile
To: freetds AT lists.ibiblio.org
Message-ID: <47EF6325.9080302 AT gmail.com>
Content-Type: text/plain; charset=ISO-8859-7; format=flowed

Hi there,

i am trying to compile sqsh using freetds v0.82RC4 but i get the
following error. Is there any workaround?

Regards,
Christos

make[1]: Entering directory `/home/cvasilak/Desktop/sqsh-2.1.4/src'
gcc -g -O2 -DSQSH_RC='"/usr/etc/sqshrc:${HOME}/.sqshrc"'
-I/usr/include -c -o cmd_bcp.o cmd_bcp.c
cmd_bcp.c: In function ?cmd_bcp?:
cmd_bcp.c:345: error: ?BLK_VERSION_150? undeclared (first use in this
function)
cmd_bcp.c:345: error: (Each undeclared identifier is reported only once
cmd_bcp.c:345: error: for each function it appears in.)
cmd_bcp.c:350: error: ?BLK_VERSION_125? undeclared (first use in this
function)
cmd_bcp.c:355: error: ?BLK_VERSION_120? undeclared (first use in this
function)
make[1]: *** [cmd_bcp.o] Error 1
make[1]: Leaving directory `/home/cvasilak/Desktop/sqsh-2.1.4/src'
make: *** [build-subdirs] Error 2


Attachment: smime.p7s
Description: S/MIME cryptographic signature



  • [freetds] sqsh-2.1.4 compile, Christos Vasilakis, 03/30/2008
    • <Possible follow-up(s)>
    • Re: [freetds] sqsh-2.1.4 compile, Merle Reinhart, 03/30/2008

Archive powered by MHonArc 2.6.24.

Top of Page