Luis,
On Sun, Feb 24, 2002 at 06:03:27PM -0500, Luis R. Alonso wrote:
> I compile with the following command:
>
> g++ -I/usr/include/postgresql -L/lib -lpq
Where are the *.o or *.cc files in the command above?
> I get output that looks like:
>
> /temp/ccLZlm8Y.o(.text+0xe):simple.cxx: undefined reference to `PQfinish'
> [snip]
My WAG is that you are listing the libraries (i.e., -lpq) before the
object files. Note that on Linux this will work -- under Cygwin it won't.
Jason