Re: Error to build snapshot

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hisaji Ono <hi_ono2001(at)ybb(dot)ne(dot)jp>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Error to build snapshot
Date: 2003-11-08 16:24:53
Message-ID: 200311081624.hA8GOrM14131@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32


That is our current Win32 state --- we compile but do not link. We are
starting 7.5 development and hope to have this all working in a few
months.

---------------------------------------------------------------------------

Hisaji Ono wrote:
> Hello.
>
> I've tried to build latest postgresql-snapshot(02-Nov-2003) in WIN32_DEV on
> MinGW(3.1.0-1) and MSYS(1.0.10-rc-2) with flex and bison following
> "PostgreSQL Native Win32 Status Report" page's instruction.
>
> However I've got following messages.
>
>
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -L../../src/port
> ac cess/SUBSYS.o
> bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSY
> S.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
> nodes/SUBSYS.o o
> ptimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
> rewrite/SUBSY S.o
> storage/SUBSYS.o tcop/SUBSYS.o
> -lpgport -o postgres
> bootstrap/SUBSYS.o(.text+0x3ee2):bootstrap.c: undefined reference to
> `sigsetmask '
> commands/SUBSYS.o(.text+0x36a9):async.c: undefined reference to `kill'
> libpq/SUBSYS.o(.text+0x63a4):pqsignal.c: undefined reference to `sigmask'
> libpq/SUBSYS.o(.text+0x63b2):pqsignal.c: undefined reference to `sigmask'
> libpq/SUBSYS.o(.text+0x63c0):pqsignal.c: undefined reference to `sigmask'
> libpq/SUBSYS.o(.text+0x63ce):pqsignal.c: undefined reference to `sigmask'
> libpq/SUBSYS.o(.text+0x63dc):pqsignal.c: undefined reference to `sigmask'
> libpq/SUBSYS.o(.text+0x63ea):pqsignal.c: more undefined references to
> `sigmask' follow
>
> -------------------------------------------------------------------------
>
> make[2]: *** [postgres] Error 1
> make[2]: Leaving directory
> `/home/Administrator/postgresql-snapshot/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/Administrator/postgresql-snapshot/src'
> make: *** [all] Error 2
>
>
> Could you give me any hint to solve this?
>
> Best Regards.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2003-11-08 16:51:03 Re: initdb in C
Previous Message Peter Eisentraut 2003-11-08 16:24:37 Re: initdb in C