Thread: ODBC2.5 Driver build error

ODBC2.5 Driver build error

From
"Dave Page"
Date:
Hi Hiroshi,

I get the following error when trying to build the 2.5 (legacy) driver:

        cl.exe /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D
"_WINDOWS" /D "MBCS" /D "_USRDLL" /D PSQLODBC_EXPORTS" /D
"DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT"
/Fp".\MultibyteRelease\psqlodbc.pch" /YX /Fo".\MultibyteRelease\\"
/Fd".\MultibyteRelease\\" /FD /c dlg_wingui.c
dlg_wingui.c
dlg_wingui.c(569) : error C2065: 'SQL_HANDLE_ENV' : undeclared
identifier
dlg_wingui.c(569) : error C2065: 'SQL_NULL_HANDLE' : undeclared
identifier
dlg_wingui.c(574) : error C2065: 'SQL_ATTR_ODBC_VERSION' : undeclared
identifier

dlg_wingui.c(574) : error C2065: 'SQL_OV_ODBC3' : undeclared identifier
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.

It looks like this is some code you added a couple of days ago.

Regards, Dave.

Re: ODBC2.5 Driver build error

From
Hiroshi Inoue
Date:
Dave Page wrote:
>
> Hi Hiroshi,
>
> I get the following error when trying to build the 2.5 (legacy) driver:
>
>         cl.exe /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D
> "_WINDOWS" /D "MBCS" /D "_USRDLL" /D PSQLODBC_EXPORTS" /D
> "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT"
> /Fp".\MultibyteRelease\psqlodbc.pch" /YX /Fo".\MultibyteRelease\\"
> /Fd".\MultibyteRelease\\" /FD /c dlg_wingui.c
> dlg_wingui.c
> dlg_wingui.c(569) : error C2065: 'SQL_HANDLE_ENV' : undeclared
> identifier
> dlg_wingui.c(569) : error C2065: 'SQL_NULL_HANDLE' : undeclared
> identifier
> dlg_wingui.c(574) : error C2065: 'SQL_ATTR_ODBC_VERSION' : undeclared
> identifier
>
> dlg_wingui.c(574) : error C2065: 'SQL_OV_ODBC3' : undeclared identifier
> NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
> Stop.
>
> It looks like this is some code you added a couple of days ago.

Oops my mistake, sorry. I've forgotten to commit the fix
for the errors.
I've just fixed them.

regards,
Hiroshi Inoue
    http://www.geocities.jp/inocchichichi/psqlodbc/

Re: ODBC2.5 Driver build error

From
"Dave Page"
Date:

> -----Original Message-----
> From: Hiroshi Inoue [mailto:Inoue@tpf.co.jp]
> Sent: 15 May 2003 00:59
> To: Dave Page
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: ODBC2.5 Driver build error
>
>
> > It looks like this is some code you added a couple of days ago.
>
> Oops my mistake, sorry. I've forgotten to commit the fix
> for the errors.
> I've just fixed them.

Thanks Hiroshi. Looks like it builds OK on Win32 and Linux now so I'll
tag it and release it.

Regards, Dave.