Chi,
On Tue, Oct 14, 2003 at 12:20:31PM -0500, Chi Vu wrote:
> I am attempting to build postgresql-7.3.4-2 with the JDBC driver. I
> successfully ran ???./configure ???with-java???. However, the make
> failed with the error shown at the end.
> What am I missing?
See below...
> $ make
> [snip]
> dlltool --dllname postgres.exe --output-exp postgres.exp --def
> postgres.def gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -L/usr/local/lib -o p ostgres.exe -Wl,--base-file,postgres.base
> postgres.exp access/SUBSYS.o bootstrap /SUBSYS.o catalog/SUBSYS.o
> parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o l ib/SUBSYS.o
> libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/
> SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
> storage/SUBSYS.o tc op/SUBSYS.o utils/SUBSYS.o -lz -lreadline -lcygipc
> libpq/SUBSYS.o(.text+0x201b):crypt.c: undefined reference to `_crypt'
The crypt package. Rerun Cygwin's setup.exe and install it.
BTW, why don't you just use the pre-built package that is part of the
standard Cygwin distribution?
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6