"Arno A. Karner" <karner@tnss.com> writes:
> epcg compiles but fails with unresolved var
> nocachegetattr in pgc.o
This is a header bug (there's a backend header file that some bright
soul put a static function declaration into :-( ... and the function
can't link outside the backend ... and ecpg includes that header,
even though it has no use for the particular function).
I'd suggest trying to remove the #define DISABLE_COMPLEX_MACRO from
port/sco.h. If it compiles and passes regress tests that way, you're
better off without the #define anyhow.
There was another discussion about this on pghackers just recently...
see the archives.
regards, tom lane