Skip to Content.
Sympa Menu

freetds - [freetds] problems compiling current snapshot

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Gal Rubinstein" <galrub AT gmail.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] problems compiling current snapshot
  • Date: Mon, 16 Mar 2009 22:34:45 +0200

Hi All,



Having problems compiling the latest snapshot.



Info:

Snapshot: freetds-0.83.dev.20090313

Machine: windows XP, MingGW/Dev-C++.



[trace]

Building Makefile:
"C:\Deve\freetds-0.83.dev.20090313\src\dblib\Makefile.win"

Executing make...

make.exe -f "C:\Deve\freetds-0.83.dev.20090313\src\dblib\Makefile.win" all

gcc.exe -c xact.c -o xact.o -I"C:/Dev-Cpp/include"
-I"C:/Deve/freetds-0.83.dev.20090313/include"
-I"C:/Deve/freetds-0.83.dev.20090313/win32"
-I"C:/Deve/freetds-0.83.dev.20090313/src/tds" -D__GNUWIN32__ -W
-DHAVE_CONFIG_H -DUNIXODBC -D_FREETDS_LIBRARY_SOURCE -DWIN32 -DNDEBUG
-D_WINDOWS -D_MBCS -D_USRDLL -DFREETDS_EXPORTS -DDLL_EXPORT
-mpreferred-stack-boundary=2

In file included from C:/Deve/freetds-0.83.dev.20090313/include/tds.h:40,

from xact.c:31:

C:/Deve/freetds-0.83.dev.20090313/include/tds_sysdep_private.h:168: error:
redefinition of typedef 'TDS_SYS_SOCKET'

C:/Deve/freetds-0.83.dev.20090313/win32/tds_sysdep_public.h:43: error:
previous declaration of 'TDS_SYS_SOCKET' was here

make.exe: *** [xact.o] Error 1



[/trace]



Should I define dynamic variable 'WIN32' ?



Thanks





Archive powered by MHonArc 2.6.24.

Top of Page