Re: CVS HEAD compile failure

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS HEAD compile failure
Date: 2003-12-08 01:35:55
Message-ID: 3FD3D57B.3020509@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


fresh checkout just compiled fine for me on Linux (RH8) with ssl
enabled. Maybe it is your openssl installation?

cheers

andrew

Bruce Momjian wrote:

>Attached is a compile failure I am seeing in CVS HEAD in bin/pg_dump.
>The offending lines are:
>
> gmake[3]: Leaving directory `/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/backend/parser'
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -O1 -Wall -Wmissing-prototypes -Wmissing-declar
> ations -Wpointer-arith -Wcast-align -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/readline -I/us
> r/contrib/include -DBINDIR=\"/usr/local/pgsql/bin\" -c -o common.o common.c
> In file included from /usr/contrib/include/openssl/comp.h:5,
> from /usr/contrib/include/openssl/ssl.h:171,
> from ../../../src/interfaces/libpq/libpq-fe.h:33,
> from pg_backup.h:30,
> from pg_backup_archiver.h:58,
> from common.c:21:
> /usr/contrib/include/openssl/crypto.h:358: syntax error before `free_func'
> /usr/contrib/include/openssl/crypto.h:358: syntax error before `)'
> /usr/contrib/include/openssl/crypto.h:363: syntax error before `free_func'
> /usr/contrib/include/openssl/crypto.h:363: syntax error before `)'
> In file included from /usr/contrib/include/openssl/rsa.h:62,
> from /usr/contrib/include/openssl/evp.h:137,
> from /usr/contrib/include/openssl/x509.h:67,
> from /usr/contrib/include/openssl/ssl.h:177,
> from ../../../src/interfaces/libpq/libpq-fe.h:33,
> from pg_backup.h:30,
> from pg_backup_archiver.h:58,
> from common.c:21:
> /usr/contrib/include/openssl/asn1.h:802: syntax error before `free_func'
> /usr/contrib/include/openssl/asn1.h:802: `d2i_ASN1_SET' declared as function returning a function
> /usr/contrib/include/openssl/asn1.h:803: syntax error before `int'
> /usr/contrib/include/openssl/asn1.h:907: syntax error before `free_func'
> /usr/contrib/include/openssl/asn1.h:907: syntax error before `)'
> In file included from /usr/contrib/include/openssl/evp.h:148,
> from /usr/contrib/include/openssl/x509.h:67,
> from /usr/contrib/include/openssl/ssl.h:177,
> from ../../../src/interfaces/libpq/libpq-fe.h:33,
> from pg_backup.h:30,
> from pg_backup_archiver.h:58,
> from common.c:21:
>
>as you can see, these are all related to free_func. The line in crypto.h is:
>
> int CRYPTO_set_locked_mem_functions(void *(*m)(size_t), void (*free_func)(void *));
>
>I can't see what could be causing this failure. I thought maybe
>'free_func' was defined in our code, but I don't see it. Also, there
>are earlier references to free_func in that file that aren't marked as
>failures. I looked at the recent changes to pg_dump/Makefile, but
>don't see anything. This is a clean build.
>
>I can compile 7.4.X CVS just fine. This failure began within the past
>few days.
>
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-12-08 01:36:16 Re: Call for pg_dump testing
Previous Message Christopher Browne 2003-12-08 01:17:33 Re: autovacuum daemon stops doing work after about an hour