Re: Make-Problem Postgres on Cygwin - Mailing list pgsql-cygwin

From Norman Vine
Subject Re: Make-Problem Postgres on Cygwin
Date
Msg-id 049901c29251$a140f3f0$0100a8c0@sfdev3
Whole thread Raw
In response to Re: Make-Problem Postgres on Cygwin  (Jason Tishler <jason@tishler.net>)
Responses Re: Make-Problem Postgres on Cygwin  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin
Jason Tishler writes:
>
> On Fri, Nov 22, 2002 at 11:39:55AM -0500, Norman Vine wrote:
>>
> > I still am getting a couple of undefined references
> >
> > nmth000018.o(.idata$4+0x0): undefined reference to `__nm__cpu_index_tuple_cost'
>
> I believe that adding a DLLIMPORT to src/include/optimizer/cost.h:
>
>     extern DLLIMPORT double cpu_index_tuple_cost;
>
> should fix this one.

**BINGO **

With this change the DLL compiles and works !

What do we need todo to get this into the Postgres source ?

Many Thanks

Norman


pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Make-Problem Postgres on Cygwin
Next
From: Jason Tishler
Date:
Subject: Re: Make-Problem Postgres on Cygwin