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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to