SPI linking problems on Win32 - Mailing list pgsql-bugs

From Ronald Kuczek
Subject SPI linking problems on Win32
Date
Msg-id 001e01c14b0f$2c1a0560$0d00a8c0@ronald
Whole thread Raw
List pgsql-bugs
Hi,
I'm using Postgresql 7.1.3 on NTServer. I have tried to compile my functions
using SPI on my Windows box.
Under Linux these functions are compiling and working but Windows....
I can't compile (or better say link) even fulltextindex function (from
contrib/fulltextindex) - they are using SPI too.
Error message I get if I try to link:
ft_create.o ../../src/utils/dllinit.o -lcygipc -lcrypt -lplpgsql
ft_create.o(.text+0x4d):ft_create.c: undefined reference to `SPI_exec'
ft_create.o(.text+0x9d):ft_create.c: undefined reference to `SPI_exec'
ft_create.o(.text+0xb0):ft_create.c: undefined reference to `SPI_connect'
ft_create.o(.text+0xc1):ft_create.c: undefined reference to `SPI_finish'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
Any idea ?

Rony

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: CVS rejected me
Next
From: Vince Vielhaber
Date:
Subject: Re: CVS rejected me