BELLON Michel <Michel.Bellon@lcie.fr> writes:
> 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'
Looks to me like you are compiling 7.1 contrib sources against pre-7.1
include files; most of those missing functions are new in 7.1. Check
the include paths.
regards, tom lane