When compiling the 2004-02-27 snapshot with "make -j 2", the compile of
libpq fails with the following error.

dlltool --export-all --output-def pq.def fe-auth.o fe-connect.o fe-exec.o
fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o
pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o encnames.o
getaddrinfo.o path.o thread.o
dlltool --export-all --output-def pq.def fe-auth.o fe-connect.o fe-exec.o
fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o
pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o encnames.o
getaddrinfo.o path.o thread.o
dllwrap -o pq.dll --dllname pq.dll --def pq.def fe-auth.o fe-connect.o
fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexpbuffer.o pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o
encnames.o getaddrinfo.o path.o thread.o ../../../src/utils/dllinit.o
-L../../../src/port -L/usr/local/lib -lssl -lcrypto -lcrypt
dllwrap -o pq.dll --dllname pq.dll --def pq.def fe-auth.o fe-connect.o
fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexpbuffer.o pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o
encnames.o getaddrinfo.o path.o thread.o ../../../src/utils/dllinit.o
-L../../../src/port -L/usr/local/lib -lssl -lcrypto -lcrypt
dlltool --dllname pq.dll --def pq.def --output-lib libpq.a
dlltool --dllname pq.dll --def pq.def --output-lib libpq.a
dlltool: Can't open .lib file: libpq.a
make[3]: *** [pq.dll] Error 1
make[3]: *** Deleting file `pq.dll'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/tmp/build/postgresql-snapshot/src/interfaces/libpq'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/build/postgresql-snapshot/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/postgresql-snapshot/src'
make: *** [all] Error 2

This may be a dependency issue for the make process.  Rerunning make
without the "-j 2" option completes without any problems.

Thomas


Fri, 27 Feb 2004 15:22:12 -0600 (CST)
tswan@idigx.com
snapshot libpq compile fails under cygwin/win32 with -j 2