make testlibpq.c error - Mailing list pgsql-cygwin
From | sharesun |
---|---|
Subject | make testlibpq.c error |
Date | |
Msg-id | 20030901073431.8AA26D1B8C9@svr1.postgresql.org Whole thread Raw |
Responses |
Re: make testlibpq.c error
|
List | pgsql-cygwin |
env: win2003 adv server CYGWIN_NT-5.2 1.3.22(0.78/3/2) ipc-daemon 1.14 postgres 7.3.4 when I make testlibpq.c, get this error $ make gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfa ces/libpq -I../../../src/include -I/usr/include -L/lib testlibpq.c -o testl ibpq cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory testlibpq.c: In function `exit_nicely': testlibpq.c:14: warning: implicit declaration of function `exit' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0xd):testlibpq.c: u ndefined reference to `_PQfinish' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x1c0):testlibpq.c: undefined reference to `_PQsetdbLogin' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x1cb):testlibpq.c: undefined reference to `_PQstatus' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x1e5):testlibpq.c: undefined reference to `_PQexec' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x1ef):testlibpq.c: undefined reference to `_PQresultStatus' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x222):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x235):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x248):testlibpq.c: undefined reference to `_PQexec' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x252):testlibpq.c: undefined reference to `_PQresultStatus' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x285):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x298):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x2ab):testlibpq.c: undefined reference to `_PQexec' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x2b5):testlibpq.c: undefined reference to `_PQresultStatus' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x2ea):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x2ff):testlibpq.c: undefined reference to `_PQnfields' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x324):testlibpq.c: undefined reference to `_PQntuples' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x35d):testlibpq.c: undefined reference to `_PQgetvalue' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x37c):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x38f):testlibpq.c: undefined reference to `_PQexec' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x397):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x3aa):testlibpq.c: undefined reference to `_PQexec' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x3b2):testlibpq.c: undefined reference to `_PQclear' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x3bd):testlibpq.c: undefined reference to `_PQfinish' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x3d9):testlibpq.c: undefined reference to `_PQfname' /cygdrive/c/DOCUME~1/sharesun/LOCALS~1/Temp/ccYGnDY2.o(.text+0x41e):testlibpq.c: undefined reference to `_PQerrorMessage' collect2: ld returned 1 exit status make: *** [testlibpq] Error 1 sharesun2@sina.com.cn 2003-09-01
pgsql-cygwin by date: