Re: Make-Problem Postgres on Cygwin

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Make-Problem Postgres on Cygwin
Дата
Msg-id 20021122173721.GA1520@tishler.net
обсуждение исходный текст
Ответ на Re: Make-Problem Postgres on Cygwin  ("Norman Vine" <nhv@cape.com>)
Список pgsql-cygwin
Norman,

On Fri, Nov 22, 2002 at 11:39:55AM -0500, Norman Vine wrote:
> I still am getting a couple of undefined references
>
> dlltool --export-all --output-def postgis.def postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o
postgis_proj.o
> postgis_chip.o postgis_transform.o postgis_gist_72.o postgis_estimate.o
> dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def postgis_debug.o postgis_ops.o postgis_fn.o
postgis_inout.o
> postgis_proj.o postgis_chip.o postgis_transform.o postgis_gist_72.o postgis_estimate.o
> ./../src/utils/dllinit.o  -L../../src/backend -lpostgres -L/usr/local/lib -lcygipc -lcrypt -L/usr/local/lib
-L/usr/local/lib-L/usr/ 
> local/lib -L/usr/local/lib -lproj
>
> fu000019.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname'

Sorry, I'm not sure what to do about the above.

> 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.

> a nm dump of libpostgres.a yields
>
> [snip]
>
> but no reference to  'fu000019.o'  or 'nmth000018.o'
> which are where the complaints are apparently originating

BTW, the fu000019.o and nmth000018.o are from "dllwrap -o postgis.dll..."
not from libpostgres.a.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: "Norman Vine"
Дата:
Сообщение: Re: Make-Problem Postgres on Cygwin
Следующее
От: "Norman Vine"
Дата:
Сообщение: Re: Make-Problem Postgres on Cygwin