Skip to Content.
Sympa Menu

freetds - [freetds] Compiling Current on MacOS X: Problem Identified (but not a fix)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steven Núñez <snunez AT ownitmortgage.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Compiling Current on MacOS X: Problem Identified (but not a fix)
  • Date: Sat, 18 Feb 2006 11:11:02 -0800

Following up on my own post with a bit more information:

It appears that in 0.63, the SQLExtendedFetch() function was commented out.
In current, the parameter irow is defined as SQLINTEGER in odbc.c, but
SQLLEN in the DM (I think) header file /usr/include/sqlext.h.

I could probably hack this and make it work (or comment out the function
altogether), but this would just be guess work.

Does anyone know the proper way to fix this?

Regards,
- Steve Nunez

On 18/2/06 10:47 AM, "Steven Núñez" <snunez AT ownitmortgage.com> wrote:

> Gentlemen,
>
> Whist trying to compile the CVS snapshot of current (
> freetds-0.65.dev.20060218), I encountered the error below. It does not occur
> when compiling 0.63.
>
> Any suggestions on how I can fix this? I¹m not doing anything too fancy, so
> I¹ll probably just use 0.63, but thought I¹d report this nevertheless.
>
> This is on MacOS 10.4.5 (Darwin 8.5.0), XCode compiler: gcc version 4.0.1
> (Apple Computer, Inc. build 5250)
>
> Regards,
> - Steve Nunez
>
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -DIODBC
> -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wno-long-long -g -O2 -MT odbc.lo -MD -MP -MF
> ".deps/odbc.Tpo" -c -o odbc.lo odbc.c; \
> then mv -f ".deps/odbc.Tpo" ".deps/odbc.Plo"; else rm -f ".deps/odbc.Tpo";
> exit 1; fi
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -DIODBC -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -g -O2 -MT
> odbc.lo -MD -MP -MF .deps/odbc.Tpo -c odbc.c -fno-common -DPIC -o
> .libs/odbc.o
> odbc.c:428: error: conflicting types for 'SQLExtendedFetch'
> /usr/include/sqlext.h:2412: error: previous declaration of
> 'SQLExtendedFetch' was here
> make[3]: *** [odbc.lo] Error 1
>
>
>
>
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page