Tatsuo Ishii <ishii@postgresql.org> writes:
> Has anybody seen this? It seems ecpg tries to link with backend functions.
No, it doesn't ... but maybe you've somehow overwritten
src/interfaces/ecpg/preproc/parser.c with src/backend/parser/parser.c ?
regards, tom lane