Search Postgresql Archives

FreeBSD 12 and Postgres build failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Both 10.7 and 11.2 fail on FreeBSD 12-STABLE if --with-openssl is part of the configure string.

The issue appears to be that FreeBSD updated OpenSSL to OpenSSL 1.1.1a-freebsd  20 Nov 2018 where the 11.x release of FreeBSD (and previous was on 1.0.x -- e.g. OpenSSL 1.0.2o-freebsd  27 Mar 2018)

The errors start here:

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I../../../src/include    -c -o be-secure-openssl.o be-secure-openssl.c
be-secure-openssl.c: In function 'be_tls_init':
be-secure-openssl.c:85:3: warning: implicit declaration of function 'OPENSSL_init_ssl'; did you mean 'OPENSSL_init'? [-Wimplicit-function-declaration]
   OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL);
   ^~~~~~~~~~~~~~~~
   OPENSSL_init
be-secure-openssl.c:85:20: error: 'OPENSSL_INIT_LOAD_CONFIG' undeclared (first use in this function); did you mean 'OPENSSL_NO_PADLOCK'?
   OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL);
                    ^~~~~~~~~~~~~~~~~~~~~~~~
                    OPENSSL_NO_PADLOCK
be-secure-openssl.c:85:20: note: each undeclared identifier is reported only once for each function it appears in
be-secure-openssl.c: In function 'my_sock_read':
be-secure-openssl.c:665:35: warning: implicit declaration of function 'BIO_get_data'; did you mean 'BIO_get_ex_data'? [-Wimplicit-function-declaration]
   res = secure_raw_read(((Port *) BIO_get_data(h)), buf, size);
                                   ^~~~~~~~~~~~
                                   BIO_get_ex_data
be-secure-openssl.c:665:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   res = secure_raw_read(((Port *) BIO_get_data(h)), buf, size);
                          ^

Has anyone looked into and dealt with this yet or have suggestions?

--
Karl Denninger
karl@xxxxxxxxxxxxx
The Market Ticker
[S/MIME encrypted email preferred]

<<attachment: smime.p7s>>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux