win32 build, {tds_}types.h and Nmakefile

Ramiro Morales <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi all,

I'm trying to build a Freetds 0.91 post RC2 [1]snapshot tarball under win32
using a M$ C compiler (Visual C from Visual Studio 2008). I'm using
the Nmakefile.

The build process reports it doesn't know how to build src/tds/types.h

But there is no such file, and as I'm not using a CVS checkout, all the
generated .h files should have been already created and no perl interpreter
should be needed.

Instead, there is a src/tds/tds_types.h file.

Is it posible that such .h file file got renamed at some poiny Nmakefile
is in need of an update like this?:

Index: Nmakefile
===================================================================
RCS file: /cvsroot/freetds/freetds/Nmakefile,v
retrieving revision 1.10
diff -u -r1.10 Nmakefile
--- Nmakefile   17 Feb 2011 22:12:22 -0000      1.10
+++ Nmakefile   28 Jun 2011 14:47:04 -0000
@@ -244,7 +244,7 @@
        > [email protected]
        move /Y [email protected] $@

-src\tds\types.h:
+src\tds\tds_types.h:
        perl src\tds\types.pl misc\types.txt > [email protected]
        move /Y [email protected] $@

@@ -261,7 +261,7 @@
        $(MV) [email protected] $@
 !ENDIF

-GENERATED_FILES = include\tdsver.h src\tds\types.h \
+GENERATED_FILES = include\tdsver.h src\tds\tds_types.h \
        src\tds\tds_willconvert.h src\tds\encodings.h src\tds\num_limits.h

 $(DBLIB_OUT)\db-lib.lib: $(GENERATED_FILES) $(DBLIB_OUT) $(DBLIB_OBJ)
$(REPLACEMENTS_OUT)\replacements.lib $(TDS_OUT)\tds.lib



Thanks for FreeTDS.

-- 
Ramiro Morales


1. ftp://ftp.ibiblio.org/pub/linux/ALPHA/freetds/stable/freetds-0.91rc.tgz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.