undefined reference error when compiling postgresql 7.1.3 on Windows 2000

Поиск
Список
Период
Сортировка
От Adnan Selimovic
Тема undefined reference error when compiling postgresql 7.1.3 on Windows 2000
Дата
Msg-id 000001c17cb5$59567e50$0700a8c0@qssbh.com
обсуждение исходный текст
Список pgsql-ports

Hi! I cannot compile postgresql 7.1.3 on Windows 2000. I have installed cygwin including the crypt tool and library and here is my dump:

 

make[3]: Entering directory `/usr/src/postgresql-7.1.3/src/bin/pg_passwd'

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include

 -I/usr/local/include  -c -o pg_passwd.o pg_passwd.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -L/usr/local/lib -g  p

g_passwd.o -lz -lreadline -lcygipc -o pg_passwd

pg_passwd.o(.text+0x763):pg_passwd.c: undefined reference to `crypt'

collect2: ld returned 1 exit status

make[3]: *** [pg_passwd] Error 1

make[3]: Leaving directory `/usr/src/postgresql-7.1.3/src/bin/pg_passwd'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/usr/src/postgresql-7.1.3/src/bin'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/usr/src/postgresql-7.1.3/src'

make: *** [all] Error 2

 

crypt.exe is in the \cygwin\bin directory and I call make within the bash. I would appreciate any help.

 

Cheers,

 

Adnan Selimovic

В списке pgsql-ports по дате отправления:

Предыдущее
От: "Henry B. Hotz"
Дата:
Сообщение: Re: 7.1.3 fails to configure on Solaris 2.7
Следующее
От: Keith Gray
Дата:
Сообщение: SCO OSR5 - PostgreSQL VOL or Complile