Compilation of contrib of postgresql 7.1.2 with cygwin 1.3.2

From: BELLON Michel <Michel(dot)Bellon(at)lcie(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Compilation of contrib of postgresql 7.1.2 with cygwin 1.3.2
Date: 2001-06-13 15:34:55
Message-ID: 61D1EAA01DEFD111B5D60008C724E5E993C2C9@HERMES
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hi
>
> I have a problem with the compilation of array contrib in postgresql with
> cygwin 1.3.2
> some reference like pg_detoast_datum are undefined !
>
>
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I.
-I../../src/include -I/usr/local/include -c -o array_iterator.o
array_iterator.c
dlltool --export-all --output-def array_iterator.def array_iterator.o
dllwrap -o array_iterator.dll --def array_iterator.def array_iterator.o
../../src/utils/dllinit.o -lcygipc -lcrypt
array_iterator.o(.text+0x49):array_iterator.c: undefined reference to
`pg_detoast_datum'
array_iterator.o(.text+0x5b):array_iterator.c: undefined reference to
`ArrayGetNItems'
array_iterator.o(.text+0x7f):array_iterator.c: undefined reference to
`get_typlenbyval'
array_iterator.o(.text+0x8c):array_iterator.c: undefined reference to
`fmgr_info'
array_iterator.o(.text+0xa9):array_iterator.c: undefined reference to `elog'
array_iterator.o(.text+0x116):array_iterator.c: undefined reference to
`FunctionCall2'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [array_iterator.dll] Error 1
rm array_iterator.o

> No problem with postrgresql itself. I use the last version of cygwin at
> this time.
>
> Thanks in advance
>
> best regards
>
> Michel BELLON
> LCIE - Informatique appliquée
> 33 (0)1 40 95 60 35
>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2001-06-13 15:35:51 Re: Re: [SQL] ORDER BY what?
Previous Message postgres 2001-06-13 15:34:40 Re: ORDER BY what?