Hi.
I install gcc and g++ on AIX-7. all OK.
But the result of "make" (only client)
On Bacula 5.0.1, 5.2.13, 7.4.7 and 7.9.5:
Compiling xattr.c
xattr.c: In function 'bxattr_exit_code build_xattr_streams(JCR*, FF_PKT*)':
xattr.c:2334:8: error: 'os_build_xattr_streams' was not declared in this
scope
if (os_build_xattr_streams) {
^
xattr.c: In function 'bxattr_exit_code parse_xattr_streams(JCR*, int)':
xattr.c:2344:8: error: 'os_parse_xattr_streams' was not declared in this
scope
if (os_parse_xattr_streams) {
^
xattr.c:2348:34: error: 'os_default_xattr_streams' was not declared in this
scope
for (cnt = 0; cnt < sizeof(os_default_xattr_streams) / sizeof(int);
cnt++) {
^
xattr.c: At global scope:
xattr.c:71:25: warning: 'bxattr_exit_code send_xattr_stream(JCR*, int)'
defined but not used [-Wunused-function]
static bxattr_exit_code send_xattr_stream(JCR *jcr, int stream)
^
make: 1254-004 The error code from the last command is 1.
Stop.
====== Error in /DB/bacula-5.0.1/src/filed ======
Result of "make" on: 9.4.2
Compiling crypto.c
crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)':
crypto.c:340:105: error: invalid conversion from 'const ASN1_STRING* {aka
const asn1_string_st*}' to 'ASN1_STRING* {aka asn1_string_st*}'
[-fpermissive]
keyid = (ASN1_OCTET_STRING *) ASN1_item_d2i(NULL, &ext_value_data,
ASN1_STRING_length(asn1_ext_val),
^
In file included from /usr/include/openssl/objects.h:976:0,
from /usr/include/openssl/evp.h:114,
from /usr/include/openssl/x509.h:89,
from /usr/include/openssl/ssl.h:199,
from ../bacula.h:147,
from crypto.c:37:
/usr/include/openssl/asn1.h:811:5: note: initializing argument 1 of 'int
ASN1_STRING_length(ASN1_STRING*)'
int ASN1_STRING_length(ASN1_STRING *x);
^
crypto.c:346:103: error: invalid conversion from 'const ASN1_STRING* {aka
const asn1_string_st*}' to 'ASN1_STRING* {aka asn1_string_st*}'
[-fpermissive]
keyid = (ASN1_OCTET_STRING *) method->d2i(NULL, &ext_value_data,
ASN1_STRING_length(asn1_ext_val));
^
In file included from /usr/include/openssl/objects.h:976:0,
from /usr/include/openssl/evp.h:114,
from /usr/include/openssl/x509.h:89,
from /usr/include/openssl/ssl.h:199,
from ../bacula.h:147,
from crypto.c:37:
/usr/include/openssl/asn1.h:811:5: note: initializing argument 1 of 'int
ASN1_STRING_length(ASN1_STRING*)'
int ASN1_STRING_length(ASN1_STRING *x);
^
crypto.c: In function 'int crypto_keypair_load_cert(X509_KEYPAIR*, const
char*)':
crypto.c:458:40: error: 'EVP_PKEY_base_id' was not declared in this scope
if (EVP_PKEY_base_id(keypair->pubkey) != EVP_PKEY_RSA) {
^
In file included from ../bacula.h:168:0,
from crypto.c:37:
crypto.c:460:83: error: 'EVP_PKEY_id' was not declared in this scope
_("Unsupported key type provided: %d\n"),
EVP_PKEY_id(keypair->pubkey));
^
../baconfig.h:471:93: note: in definition of macro 'Jmsg1'
#define Jmsg1(jcr, typ, lvl, msg, a1) j_msg(__FILE__, __LINE__,
jcr, typ, lvl, msg, a1)
^
In file included from crypto.c:39:0:
crypto.c: In function 'int crypto_sign_add_signer(SIGNATURE*, DIGEST*,
X509_KEYPAIR*)':
crypto.c:870:43: error: 'EVP_PKEY_base_id' was not declared in this scope
assert(EVP_PKEY_base_id(keypair->pubkey) == EVP_PKEY_RSA);
^
crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t,
alist*)':
crypto.c:1089:65: error: 'EVP_PKEY_base_id' was not declared in this scope
assert(keypair->pubkey && EVP_PKEY_base_id(keypair->pubkey) ==
EVP_PKEY_RSA);
^
crypto.c: In function 'crypto_error_t crypto_session_decode(const
u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)':
crypto.c:1202:53: error: 'EVP_PKEY_base_id' was not declared in this scope
assert(EVP_PKEY_base_id(keypair->privkey) == EVP_PKEY_RSA);
Thanks.
--
#############################
# Sistema Operativo: Debian #
# Caracas, Venezuela #
#############################
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users