public inbox for [email protected]
help / color / mirror / Atom feedFrom: fabienne <[email protected]>
To: [email protected]
Subject: Re: Novice Guide to PostgreSQL compilation on Windows
Date: Sat, 15 May 2004 12:03:22 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
V i s h a l Kashyap @ [Sai Hertz And Control Systems] wrote:
> Hi,
>
> I was successfully today with installation of MinGW MinSys and then
> compilation of PostgreSQL on an
> WindowsXP SP1.
Hi I tried what you suggested. I had to install flex and bison, but I
still get the following error when I try to 'make':
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -DPGDATADIR=\"/usr/local/pgsql/share\" -DFRONTEND
-I../../../src/interfaces/libpq -I../../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../../src/include/port/win32" -c -o initdb.o initdb.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations initdb.o exec.o -L../../../src/interfaces/libpq
-lpq -L../../../src/port -lreadline -lwsock32 -lm -lpgport -lws2_32
-o initdb.exe
../../../src/port/libpgport.a(pipe.o)(.text+0x27):pipe.c: undefined
reference to `pgwin32_socket'
../../../src/port/libpgport.a(pipe.o)(.text+0xbc):pipe.c: undefined
reference to `pgwin32_socket'
../../../src/port/libpgport.a(pipe.o)(.text+0xd3):pipe.c: undefined
reference to `pgwin32_connect'
../../../src/port/libpgport.a(pipe.o)(.text+0xe5):pipe.c: undefined
reference to `pgwin32_accept'
../../../src/port/libpgport.a(pipe.o)(.text+0x154):pipe.c: undefined
reference to `pgwin32_recv'
make[3]: *** [initdb] Error 1
make[3]: Leaving directory `/home/fab/postgresql-snapshot/src/bin/initdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fab/postgresql-snapshot/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fab/postgresql-snapshot/src'
make: *** [all] Error 2
Do you know what I can do about it? Thanks for help
Fabienne
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Novice Guide to PostgreSQL compilation on Windows
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox