Build error? - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Build error?
Date
Msg-id 3FD3D762.7060804@familyhealth.com.au
Whole thread Raw
Responses Re: Build error?
Re: Build error?
List pgsql-hackers
I just made distclean and then reconfigured with --with-openssl and I 
get this in HEAD:

gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes 
-Wmissing-declarations -I../../../src/interfaces/libpq 
-I../../../src/include  -DBINDIR=\"/home/chriskl/local/bin\"  -c -o 
common.o common.c -MMD
In file included from /usr/include/openssl/comp.h:5,                 from /usr/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/include/openssl/crypto.h:358: syntax error before `free_func'
/usr/include/openssl/crypto.h:358: syntax error before `)'
/usr/include/openssl/crypto.h:363: syntax error before `free_func'
/usr/include/openssl/crypto.h:363: syntax error before `)'
In file included from /usr/include/openssl/rsa.h:62,                 from /usr/include/openssl/evp.h:134,
 from /usr/include/openssl/x509.h:67,                 from /usr/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/include/openssl/asn1.h:802: syntax error before `free_func'
/usr/include/openssl/asn1.h:802: `d2i_ASN1_SET' declared as function 
returning a function
/usr/include/openssl/asn1.h:803: syntax error before `int'
/usr/include/openssl/asn1.h:907: syntax error before `free_func'
/usr/include/openssl/asn1.h:907: syntax error before `)'
In file included from /usr/include/openssl/evp.h:145,                 from /usr/include/openssl/x509.h:67,
  from /usr/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/include/openssl/objects.h:990: syntax error before `free_func'
/usr/include/openssl/objects.h:990: syntax error before `)'
gmake[3]: *** [common.o] Error 1

Is that something broken on my system???

Chris




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: CVS HEAD compile failure
Next
From: Joe Conway
Date:
Subject: Re: Build error?