Re: undefined reference pq

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jeff Lu <jklcom(at)mindspring(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: undefined reference pq
Date: 2001-03-09 20:58:43
Message-ID: Pine.LNX.4.30.0103092157580.929-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-03-09 21:14:10 Re: porting question: funky uid names?
Previous Message Peter Eisentraut 2001-03-09 20:57:45 Re: porting question: funky uid names?