Re: Win32 testing needed

Mark Kirkwood <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
just tried to build on win2003 and get an error:

./configure --prefix="c:/progra~1/pgsql" --with-libs=/usr/local/lib 
--with-includes=/usr/local/include
make

......

dlltool --dllname postgres.exe --output-exp postgres.exp --def postgres.def

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -L../../src/port -L/usr/local/lib  -o 
postgres.exe -Wl,--base-file,postgres.base postgres.exp access/SUBSYS.o 
bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o 
executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o 
nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o 
regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o 
utils/SUBSYS.o ../../src/timezone/SUBSYS.o -lpgport -lz -lwsock32 -lm  
-lws2_32

../../src/port/libpgport.a(dirmod.o)(.text+0x33a):dirmod.c: undefined 
reference to `_imp__CurrentMemoryContext'

../../src/port/libpgport.a(dirmod.o)(.text+0x39b):dirmod.c: undefined 
reference to `_imp__CurrentMemoryContext'

make[2]: *** [postgres] Error 1

make[2]: Leaving directory 
`/home/markir/develop/c/postgresql-8.0devel/src/backend'



---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
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.