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