[freetds] freetds-0.82 and sqsh-2.1.{3,4}

Richard Brown rbrown at exherbo.org
Mon May 19 09:55:20 EDT 2008

Hi, I'm trying to compile sqsh-2.1.(3,4) against freetds-0.82, and it
refuses to compile with the following message

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)

It appears cmd_bcp.c expects BLK_VERSION_X to be defined if
CS_VERSION_X is defined. This commit:


added CS_VERSIONS_120, 125 and 150 without the corresponding BLK_VERSIONS.

I've attached a patch to add the BLK_VERSIONS into cspublic.h on the
assumption that this is the correct thing to do.


Richard Brown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetds-0.82-blk-version.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080519/75a5d594/attachment.bin 

More information about the FreeTDS mailing list