Skip to Content.
Sympa Menu

freetds - Re: [freetds] problems compiling current snapshot

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] problems compiling current snapshot
  • Date: Mon, 16 Mar 2009 21:46:50 +0100

Il giorno lun, 16/03/2009 alle 22.34 +0200, Gal Rubinstein ha scritto:
> 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
>

Fixed. This was due to change to tds_sysdep_private.h

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page