X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D0AA5D1CF66 for ; Sun, 16 May 2004 11:59:08 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 45553-08 for ; Sun, 16 May 2004 11:58:42 -0300 (ADT) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id BCD51D1D09D for ; Sun, 16 May 2004 11:57:49 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by www.postgresql.com (Postfix) with ESMTP id 9324CCF9434 for ; Sun, 16 May 2004 03:49:52 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i4G6maSx091817 for ; Sun, 16 May 2004 06:48:36 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i4G6Y31p070982 for pgsql-docs@postgresql.org; Sun, 16 May 2004 06:34:03 GMT From: fabienne X-Newsgroups: comp.databases.postgresql.docs Subject: Re: Novice Guide to PostgreSQL compilation on Windows Date: Sat, 15 May 2004 12:03:22 +0200 Organization: Cablecom Newsserver Lines: 41 Message-ID: References: <40A1CE49.7040905@sancharnet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: news@hispeed.ch User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en In-Reply-To: <40A1CE49.7040905@sancharnet.in> To: pgsql-docs@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.4 tagged_above=0.0 required=5.0 tests=DATE_IN_PAST_12_24 X-Spam-Level: X-Archive-Number: 200405/16 X-Sequence-Number: 2391 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