Re: undefined reference pq - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: undefined reference pq
Date
Msg-id Pine.LNX.4.30.0103092157580.929-100000@peter.localdomain
Whole thread Raw
In response to undefined reference pq  ("Jeff Lu" <jklcom@mindspring.com>)
List pgsql-hackers
Jeff Lu writes:

> $ make intrasend
> gcc -o /c/inetpub/wwwroot/cgi-bin/intrasend.exe intrasend.c
> intrautils.c -I/usr/
> local/pgsql/include -L/usr/local/pgsql/lib

-lpq

> intrautils.c:7: warning: initialization makes integer from pointer without a
> cas
> t
> /c/TEMP/ccXES02E.o(.text+0x32c):intrasend.c: undefined reference to
> `PQconnectdb'
[...]

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: porting question: funky uid names?
Next
From: Tom Lane
Date:
Subject: Re: porting question: funky uid names?