Re: problems compiling current snapshot
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <1237236410.20564.0.camel@freddy> |
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