undefined reference error when compiling postgresql 7.1.3 on Windows 2000

From: "Adnan Selimovic" <aselimovic(at)internet(dot)ba>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: undefined reference error when compiling postgresql 7.1.3 on Windows 2000
Date: 2001-12-04 11:17:57
Message-ID: 000001c17cb5$59567e50$0700a8c0@qssbh.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-ports by date

  From Date Subject
Next Message Henry B. Hotz 2001-12-04 23:27:18 Re: 7.1.3 fails to configure on Solaris 2.7
Previous Message Henry B. Hotz 2001-12-04 02:26:39 Re: 7.1.3 fails to configure on Solaris 2.7