Compile failure with SSL

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Compile failure with SSL
Date: 2004-06-19 22:23:41
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40C362A@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I think this is another on of those 'might be Win32 specific' problems.
When building on XP, with OpenSSL 0.9.7c (from the bitWalk MinGW tools),
I get the following failure:

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -I./src/include/port/win32
-DEXEC_BACKEND "-I../../../src/include/port/win32" -DBUILDING_DLL -c
-o be-secure.o be-secure.c
be-secure.c: In function `initialize_SSL':
be-secure.c:653: `S_IRWXG' undeclared (first use in this function)
be-secure.c:653: (Each undeclared identifier is reported only once
be-secure.c:653: for each function it appears in.)
be-secure.c:653: `S_IRWXO' undeclared (first use in this function)
be-secure.c:654: warning: implicit declaration of function `getuid'
make[3]: *** [be-secure.o] Error 1
make[3]: Leaving directory `/cvs/pgsql/src/backend/libpq'

I have run 'make distclean' and './configure --with-openssl' to make
sure everything is consistent.

Any ideas?

Regards, Dave

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-06-19 22:26:13 Re: Minor DROP TABLESPACE issue
Previous Message Dave Page 2004-06-19 22:04:38 Re: Cannot initdb in cvs tip