make testlibpq.c error

Поиск
Список
Период
Сортировка
От sharesun
Тема make testlibpq.c error
Дата
Msg-id 20030901073431.8AA26D1B8C9@svr1.postgresql.org
обсуждение исходный текст
Ответы Re: make testlibpq.c error  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: redhat0320
Дата:
Сообщение: ERROR: c: permission denied
Следующее
От: "Richard Sydney-Smith"
Дата:
Сообщение: Insert into large table