Rafael Martinez wrote:
> This is the Makefile we use:
> - ---------------------------------------
> PG_SRC=/usr/local/src
> PG_LIB=/usr/local/lib
> SERVER_INCLUDES += -I $(shell /local/opt/pgsql-8.4/bin/pg_config
> - --includedir)
> SERVER_INCLUDES += -I $(shell /local/opt/pgsql-8.4/bin/pg_config
> - --includedir-server)
I suggest you rewrite your makefile to use PGXS. The problem might be a
difference in CFLAGS. It would make the makefile a lot simpler too.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.