pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedProblems compiling CVS under Windows
6+ messages / 3 participants
[nested] [flat]
* Problems compiling CVS under Windows
@ 2004-04-06 08:22 Denis Gasparin <denis@edistar.com>
0 siblings, 1 reply; 6+ messages in thread
From: Denis Gasparin @ 2004-04-06 08:22 UTC (permalink / raw)
To: pgsql-odbc
When trying to compile ODBC30 e ODBC25 from CVS, i obtaing the following
error:
Creating library .\ODBC30\psqlodbc.lib and object .\ODBC30\psqlodbc.exp
connection.obj : error LNK2001: unresolved external symbol
_CC_lookup_characters
et
connection.obj : error LNK2001: unresolved external symbol _pg_CS_name
dlg_specific.obj : error LNK2001: unresolved external symbol _pg_CS_name
connection.obj : error LNK2001: unresolved external symbol _pg_CS_code
dlg_specific.obj : error LNK2001: unresolved external symbol _pg_CS_code
convert.obj : error LNK2001: unresolved external symbol _encoded_str_constr
info.obj : error LNK2001: unresolved external symbol _encoded_str_constr
misc.obj : error LNK2001: unresolved external symbol _encoded_str_constr
parse.obj : error LNK2001: unresolved external symbol _encoded_str_constr
convert.obj : error LNK2001: unresolved external symbol _encoded_byte_check
convert.obj : error LNK2001: unresolved external symbol _pg_mbschr
convert.obj : error LNK2001: unresolved external symbol _encoded_nextchar
info.obj : error LNK2001: unresolved external symbol _encoded_nextchar
misc.obj : error LNK2001: unresolved external symbol _encoded_nextchar
parse.obj : error LNK2001: unresolved external symbol _encoded_nextchar
.\ODBC30\psqlodbc.dll : fatal error LNK1120: 7 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
The problem does not present when i compile ODBC Unicode (win32_30w.mak).
What i'm missing?
Thank you in advance,
Denis
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Problems compiling CVS under Windows
@ 2004-04-06 15:29 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 6+ messages in thread
From: Dave Page @ 2004-04-06 15:29 UTC (permalink / raw)
To: Denis Gasparin <denis@edistar.com>; pgsql-odbc
> -----Original Message-----
> From: Denis Gasparin [mailto:denis@edistar.com]
> Sent: 06 April 2004 09:23
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Problems compiling CVS under Windows
>
> When trying to compile ODBC30 e ODBC25 from CVS, i obtaing
> the following
> error:
>
> Creating library .\ODBC30\psqlodbc.lib and object
> .\ODBC30\psqlodbc.exp
> connection.obj : error LNK2001: unresolved external symbol
> _CC_lookup_characters
Hi Denis,
Is this CVS tip? Did you try:
nmake /f win32.mak CLEAN
Before building?
Regards, Dave.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Problems compiling CVS under Windows
@ 2004-04-06 16:06 Jose' Cruanyes <cruanyes@cegroup.it>
parent: Denis Gasparin <denis@edistar.com>
0 siblings, 0 replies; 6+ messages in thread
From: Jose' Cruanyes @ 2004-04-06 16:06 UTC (permalink / raw)
To: Denis Gasparin <denis@edistar.com>; +Cc: pgsql-odbc
On Apr 6, 2004, at 10:22 AM, Denis Gasparin wrote:
> When trying to compile ODBC30 e ODBC25 from CVS, i obtaing the
> following error:
>
>
I've noted it yesterday, the "non multibyte" versions of the driver
uses anyway functions defined in multibyte.c that is not linked, hence
the errors
I've compiled using
nmake /f win32.mak
and it compiles and works, compiling the MultibyteODBC30 version (but
it says is compiling the ODBC30)
Pax et Bonum
# dott. Jose' Cruanyes Aguilar - C.E. Soft srl
# Pzza. Firenze,4 MILANO - XX Settembre 10, CREMONA
# 02,33603122 0372,460602
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Problems compiling CVS under Windows
@ 2004-04-07 08:41 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 1 reply; 6+ messages in thread
From: Dave Page @ 2004-04-07 08:41 UTC (permalink / raw)
To: Jose' Cruanyes <cruanyes@cegroup.it>; Denis Gasparin <denis@edistar.com>; +Cc: pgsql-odbc
> -----Original Message-----
> From: Jose' Cruanyes [mailto:cruanyes@cegroup.it]
> Sent: 06 April 2004 17:06
> To: Denis Gasparin
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Problems compiling CVS under Windows
>
>
> On Apr 6, 2004, at 10:22 AM, Denis Gasparin wrote:
>
> > When trying to compile ODBC30 e ODBC25 from CVS, i obtaing the
> > following error:
> >
> >
>
> I've noted it yesterday, the "non multibyte" versions of the
> driver uses anyway functions defined in multibyte.c that is
> not linked, hence the errors
There is no 'non-multibyte' version. There is a non-unicode version, but
it is still multibyte capable. Unicode support requires a different set
of ODBC functions which are not required for multibyte.
> I've compiled using
> nmake /f win32.mak
I've compiled all three from scratch this morning and they work fine for
me in VC++ 6.0.
nmake /f win32.mak
nmake /f win32_25.mak
nmake /f win32_30w.mak
Regards, Dave.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Problems compiling CVS under Windows
@ 2004-04-07 09:06 Jose' Cruanyes <cruanyes@cegroup.it>
parent: Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 6+ messages in thread
From: Jose' Cruanyes @ 2004-04-07 09:06 UTC (permalink / raw)
To: pgsql-odbc
On Apr 7, 2004, at 10:41 AM, Dave Page wrote:
>> I've noted it yesterday, the "non multibyte" versions of the
>> driver uses anyway functions defined in multibyte.c that is
>> not linked, hence the errors
>
> There is no 'non-multibyte' version. There is a non-unicode version,
> but
> it is still multibyte capable. Unicode support requires a different set
> of ODBC functions which are not required for multibyte.
>
>> I've compiled using
>> nmake /f win32.mak
>
> I've compiled all three from scratch this morning and they work fine
> for
> me in VC++ 6.0.
>
> nmake /f win32.mak
> nmake /f win32_25.mak
> nmake /f win32_30w.mak
>
OK, Then we have to clean up the makefiles and READMEs to avoid
confusion
Pax et Bonum
# dott. Jose' Cruanyes Aguilar - C.E. Soft srl
# Pzza. Firenze,4 MILANO - XX Settembre 10, CREMONA
# 02,33603122 0372,460602
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Problems compiling CVS under Windows
@ 2004-04-07 09:24 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 6+ messages in thread
From: Dave Page @ 2004-04-07 09:24 UTC (permalink / raw)
To: Jose' Cruanyes <cruanyes@cegroup.it>; pgsql-odbc
> -----Original Message-----
> From: Jose' Cruanyes [mailto:cruanyes@cegroup.it]
> Sent: 07 April 2004 10:07
> To: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Problems compiling CVS under Windows
>
>
>
> OK, Then we have to clean up the makefiles and READMEs to
> avoid confusion
>
Yes - I said just the other day that I want to get rid of all but
win32_30w....
Regards, Dave.
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2004-04-07 09:24 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-06 08:22 Problems compiling CVS under Windows Denis Gasparin <denis@edistar.com>
2004-04-06 16:06 ` Jose' Cruanyes <cruanyes@cegroup.it>
2004-04-06 15:29 Re: Problems compiling CVS under Windows Dave Page <dpage@vale-housing.co.uk>
2004-04-07 08:41 Re: Problems compiling CVS under Windows Dave Page <dpage@vale-housing.co.uk>
2004-04-07 09:06 ` Jose' Cruanyes <cruanyes@cegroup.it>
2004-04-07 09:24 Re: Problems compiling CVS under Windows Dave Page <dpage@vale-housing.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox