Re: [ADMIN] Modifying Makefile

2006-10-20 Thread Tom Lane
"Mohamed Yassin Eltabakh" <[EMAIL PROTECTED]> writes: > I updated the src/backend/parser/Makefile and added "new.o" to the OBJS > list, but when I compile I receive error: > undefined reference to `PSQLexec' > undefined reference to `PQntuples' > undefined reference to `PQclear' You s

[ADMIN] Modifying Makefile

2006-10-20 Thread Mohamed Yassin Eltabakh
I'm modifying postgreSQL code and adding a new file (say new.c) under dir "src/backend/parser". This file calls functions (PSQLexec, PQntuples, PQgetvalue, ...). The file looks like: #include "libpq-fe.h" #include "common.h" bool exec_sql() { PGresult *re