Skip to Content.
Sympa Menu

freetds - [freetds] Compiling Current on MacOS X

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steven Núñez <snunez AT ownitmortgage.com>
  • To: <FreeTDS AT lists.ibiblio.org>
  • Subject: [freetds] Compiling Current on MacOS X
  • Date: Sat, 18 Feb 2006 10:47:22 -0800

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










Archive powered by MHonArc 2.6.24.

Top of Page