Problems with win32 patch/build

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Problems with win32 patch/build
Date: 2003-03-13 19:03:04
Message-ID: 303E00EBDD07B943924382E153890E5433F802@cuthbert.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am working my way through getting the postgres win32 port (7.2.1)
compiled under MSVC. I got through the patch and the compilation, but
am having problems with the linker. Trying to link the backend, I get
43 linker errors like:
unresolved external symbol GUC-scanstr
unresolved external symbol ProcessConfigFile
unresolved external symbol num_columns_read
unresolved external symbol Int_yychar

These symbols are listed in the postgres.def file. Removing them
removes the errors. If I do so, I get a new set of errors:

Linking...
Creating library ..\..\Debug/postgres.lib and object
..\..\Debug/postgres.exp
postmaster.obj : error LNK2001: unresolved external symbol
_ProcessConfigFile
bootstrap.lib(bootstrap.obj) : error LNK2001: unresolved external symbol
_ProcessConfigFile
tcop.lib(postgres.obj) : error LNK2001: unresolved external symbol
_ProcessConfigFile
bootstrap.lib(bootstrap.obj) : error LNK2001: unresolved external symbol
_Int_yyparse
..\..\Debug\backend.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe

Also, when trying to compile ecpg, I get
flex: could not create '.\preproc\pgc.c'

There were some weird things that went on during my first compile run
that I fixed as I went and I'm afraid I broke something. Any
suggestions?

If I can get through this I'll start hitting patch #2 and start running
tests versus 7.3.x source.

Merlin

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2003-03-13 19:20:57 Re: Roadmap for FE/BE protocol redesign
Previous Message Joe Conway 2003-03-13 18:44:57 Re: SQL99 ARRAY support proposal