This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Please upload: postgresql-8.0.0cvs-1 [test]


Gerrit P. Haase schrieb:
Am Dienstag, 5. Oktober 2004 um 04:25 schriebst du:
getting this when I try to build:

Getting another one (missing -lpgport here?):

Yes.
I'm sure I had this in one version of my patches, but where is it gone ...
DLL's missing -lpgport on cygwin is my most concern to get fixed upstream, BTW. Besides tablespace and IPC.


dlltool --export-all --output-def ltree.def ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o
dllwrap -o ltree.dll --dllname ltree.dll --def ltree.def ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o ../../src/utils/dllinit.o -L../../src/port -L/usr/local/lib -L../../src/backend -lpostgres lquery_op.o(.text+0x485):lquery_op.c: undefined reference to `_pg_strncasecmp'
ltxtquery_op.o(.text+0x18c):ltxtquery_op.c: undefined reference to `_pg_strncasecmp'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make[1]: *** [libltree.a] Error 1

Add SHLIB_LINK += -lpgport to the Makefile as last line. For me it built without, strangely.

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]