Re: Novice Guide to PostgreSQL compilation on Windows

From: fabienne <fabienne(at)q-bus(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Re: Novice Guide to PostgreSQL compilation on Windows
Date: 2004-05-15 10:03:22
Message-ID: c84ptb$gdu$1@newshispeed.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message fabienne 2004-05-15 10:06:32 Re: Novice Guide to PostgreSQL compilation on Windows
Previous Message Tom Lane 2004-05-12 18:24:11 Re: IS DISTINCT FROM not documented