My Makefile is : mysql_INCS=-I/usr/include/mysql pgsql_INCS=-I/usr/include pgsql_LIBS=-L/usr/lib mysql_LIBS=-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm CXX=g++ sql2sql : sql2sql.o $(CXX) $(mysql_LIBS) $(pgsql_LIBS) -o sql2sql sql2sql.o ; rm -rf sql2sql.o ; sql2sql.o : sql2sql.cpp $(CXX) -c $(mysql_INCS) $(pgsql_INCS) sql2sql.cpp; clean : rm -rf sql2sql.o rm -rf sql2sql ~ > sszabo@xxxxxxxxxxxx > > On Wed, 23 Feb 2005, Mohsen Pahlevanzadeh wrote: > >> If you see my orginal email,I mentioned to link to inc & lib for >> pgsql.Even when i use PQsetdb,I didn't recieve error message for using >> PQsetdb. > > > The fragment of execution of make you gave had no mention of them in the > commandlines shown. What does your Makefile look like? > > > ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly