Name mangling is different between egcs and g++? Why are you trying to compile with egcs?
[snip] -----
I was not aware of this. I have several other binaries, not using pgsql, that were compiled under egcs and desired to the same compiler across all projects. If this is not possible, then I'll have to use g++ as well.