On Thu, 5 Oct 2000, Mathew Chandy wrote:
> i get a compilation error which is of the following
>
> /tmp/ccTCPDUs.o(.text+0x77): undefined reference to `PQstatus'
...
>
> what is the reason . i use the folowing command line cc file.c
It's trying to resolve external references (link) in your executable but
you haven't told it to link against the Postgres libraries. Try
cc file.c -lpq
Brett W. McCoy
http://www.chapelperilous.net
---------------------------------------------------------------------------
The Kennedy Constant:
Don't get mad -- get even.