Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin

From: Jason Tishler <jason(at)tishler(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin
Date: 2002-09-05 19:37:57
Message-ID: 20020905193757.GD2084@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-patches

Peter,

On Thu, Sep 05, 2002 at 02:51:31PM -0400, Bruce Momjian wrote:
> Jason Tishler wrote:
> > On Thu, Sep 05, 2002 at 08:33:20PM +0200, Peter Eisentraut wrote:
> > > Should all be fixed now.
> >
> > Huh? I don't see any recent CVS commits to indicate this.
>
> I see as a commit:
>
> [snip]
>
> I assume it was in there.

Sorry for the noise, but at the time:

cvs status include/miscadmin.h makefiles/Makefile.win

did *not* indicate any recent commits. Maybe you sent the above email
before you committed your changes?

Anyway, I just tried a:

make distclean
rm include/miscadmin.h makefiles/Makefile.win # remove my patch
cvs update
make

and got the following error:

[snip]
make[3]: Leaving directory `/home/jt/src/pgsql/src/backend/utils'
dlltool --dllname postgres.exe --output-exp postgres.exp --def postgres.def
gcc -L/usr/local/lib -o postgres.exe -Wl,--base-file,postgres.base postgres.exp access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
libpq/SUBSYS.o(.text+0x1c84):crypt.c: undefined reference to `crypt'
port/SUBSYS.o(.text+0x262):pg_sema.c: undefined reference to `semget'
[snip]

I can get postgres.exe to successfully link by manually appending
"-lcrypt -lcygipc" to the end of the above gcc command line.

Since you are already working on this, would you be willing to fix this
problem?

Thanks,
Jason

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Florian Litot 2002-09-06 09:06:32 pb on installation
Previous Message Jason Tishler 2002-09-05 18:51:33 Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin

Browse pgsql-hackers by date

  From Date Subject
Next Message Sean Chittenden 2002-09-05 20:07:00 Re: Schemas not available for pl/pgsql %TYPE....
Previous Message Bruce Momjian 2002-09-05 18:56:06 Re: beta1 packaged

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-09-05 22:06:15 Re: [BUGS] Bug #756: suggestion: file with password instead of
Previous Message Bruce Momjian 2002-09-05 19:00:50 Re: Bug #756: suggestion: file with password instead of