When compiling the preprocessed C code files, the compiler needs to be able to find the
ECPG header files in the EnterpriseDB include directory.
Therefore, one might have to use the -I option when invoking the compiler
(e.g., -I opt/EnterpriseDB/8.2/dbserver/include/)
.
Programs using C code with embedded SQL have to be linked against
the -lpgtypes library, for example using the linker options:
(e.g. -L /opt/EnterpriseDB/8.2/dbserver/lib -lpgtypes).