freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Gal Rubinstein <galrub AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Noobie, please help!
- Date: Sun, 8 Mar 2009 14:14:24 +0200
well, there are no Dev-C++ project other then the one for building
FreeTDS.DLL,
I imported the C:\\freetds-0.82\src\dblib\unittests\t0001.dsp into DEV-C++
added the header files directories butfailed to compile:
[trace]
ompiler: Default compiler
Building Makefile:
"C:\Gal\tmp\freetds-0.82\src\dblib\unittests\vc6\Makefile.win"
Executing make...
make.exe -f "C:\Gal\tmp\freetds-0.82\src\dblib\unittests\vc6\Makefile.win"
all
gcc.exe -c ../common.c -o ../common.o -I"C:/MinGW/include"
-I"C:/Gal/tmp/freetds-0.82/win32" -I"C:/Gal/tmp/freetds-0.82/include"
-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_CONSOLE -D_MBCS
-DFREETDS_SRCDIR=\"..\" -DDBNTWIN32
In file included from ../common.c:1:
../common.h:41:1: warning: "SYBESMSG" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:728:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:42:1: warning: "SYBECOFL" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:759:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:44:1: warning: "SYBAOPSUM" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:201:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:45:1: warning: "SYBAOPMAX" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:206:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:47:1: warning: "SYBINT4" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:162:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:48:1: warning: "SYBDATETIME" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:168:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:49:1: warning: "SYBCHAR" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:152:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:50:1: warning: "SYBVARCHAR" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:154:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:51:1: warning: "SYBTEXT" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:172:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:52:1: warning: "SYBBINARY" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:184:1: warning: this is the location
of the previous definition
In file included from ../common.c:1:
../common.h:53:1: warning: "SYBIMAGE" redefined
In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
from C:/Gal/tmp/freetds-0.82/include/sqlfront.h:23,
from ../common.h:28,
from ../common.c:1:
C:/Gal/tmp/freetds-0.82/include/sybdb.h:174:1: warning: this is the location
of the previous definition
../common.c: In function `read_login_info':
../common.c:103: warning: assignment makes pointer from integer without a
cast
../common.c: In function `syb_err_handler':
../common.c:338: error: `SQLESMSG' undeclared (first use in this function)
../common.c:338: error: (Each undeclared identifier is reported only once
../common.c:338: error: for each function it appears in.)
../common.c:367: error: `SQLECOFL' undeclared (first use in this function)
make.exe: *** [../common.o] Error 1
[/trace]
any ideas?
THX
On Sun, Mar 8, 2009 at 12:58 PM, Frediano Ziglio <freddy77 AT gmail.com> wrote:
> 2009/3/8 Gal Rubinstein <galrub AT gmail.com>:
> > Hello all,
> >
> > since I'm a noobie, and, been struggling for a week to make a simple c
> > program
> > that contacts MSSQL Server 2000 (from a WIN-XP machine) for a week with
> > zero success..
> >
> > my boss insists that no ODBC will be used so I presume that db-lib is the
> > answer but,
> > can't get the right configurations for compiler/linker and there is the
> > 'tds_sysdep_public.h' that is missing (there is one with .in ending,
> > guessing it's for VC++)..
> > I'm using Eclipse CDT (again, win XP) with MinGW....
> >
> > what are all these warning after building FreeTDS from Dev-C++ project?
> >
> > are there no explanations/tutorials for begginers like myself?
> >
> > Thanx,
> > Gal
>
> There should be a dev-c++ project in win32/dev-cpp directory. You will
> also find a tds_sysdep_public.h in win32 directory. Note that building
> a new msvc project you need to add some defines (see dev-c++ project)
> and options (like directory where to find tds_sysdep_public.h)
>
> freddy77
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
--
Yours,
Gal
galrub AT gmail.com
-
[freetds] Noobie, please help!,
Gal Rubinstein, 03/08/2009
-
Re: [freetds] Noobie, please help!,
Frediano Ziglio, 03/08/2009
-
Re: [freetds] Noobie, please help!,
Gal Rubinstein, 03/08/2009
-
Re: [freetds] Noobie, please help!,
James K. Lowden, 03/08/2009
-
Re: [freetds] Noobie, please help!,
Gal Rubinstein, 03/09/2009
-
Re: [freetds] Noobie, please help!,
James K. Lowden, 03/09/2009
-
Re: [freetds] Noobie, please help!,
Gal Rubinstein, 03/09/2009
- Re: [freetds] Noobie, please help!, James K. Lowden, 03/09/2009
- Re: [freetds] Noobie, please help!, Gal Rubinstein, 03/09/2009
- Re: [freetds] Noobie, please help!, James K. Lowden, 03/09/2009
- Re: [freetds] Noobie, please help!, Gal Rubinstein, 03/09/2009
- Re: [freetds] Noobie, please help!, James K. Lowden, 03/09/2009
- Re: [freetds] Noobie, please help!, Gal Rubinstein, 03/10/2009
-
Re: [freetds] Noobie, please help!,
Gal Rubinstein, 03/09/2009
-
Re: [freetds] Noobie, please help!,
James K. Lowden, 03/09/2009
-
Re: [freetds] Noobie, please help!,
Gal Rubinstein, 03/09/2009
-
Re: [freetds] Noobie, please help!,
James K. Lowden, 03/08/2009
-
Re: [freetds] Noobie, please help!,
Gal Rubinstein, 03/08/2009
-
Re: [freetds] Noobie, please help!,
Frediano Ziglio, 03/08/2009
Archive powered by MHonArc 2.6.24.