From owner-freebsd-questions@FreeBSD.ORG Sun Apr 25 04:02:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4764E106566B for ; Sun, 25 Apr 2010 04:02:14 +0000 (UTC) (envelope-from bseklecki@noc.cfi.pgh.pa.us) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id E25388FC17 for ; Sun, 25 Apr 2010 04:02:13 +0000 (UTC) Received: from Internal Mail-Server by mx01 (envelope-from bseklecki@noc.cfi.pgh.pa.us) with SMTP; 24 Apr 2010 23:31:11 -0400 From: "Brian A. Seklecki (NOC)" To: Efren Bravo In-Reply-To: <237183.85194.qm@web29004.mail.ird.yahoo.com> References: <237183.85194.qm@web29004.mail.ird.yahoo.com> Content-Type: text/plain; charset="cp1252" Organization: Collaborative Fusion, Inc. (NOC) Date: Sat, 24 Apr 2010 09:57:31 -0400 Message-ID: <1272117451.2420.6.camel@lovebox> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freeBSD Subject: Re: Bacula 5.0 compiler error (crypto.c) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 04:02:14 -0000 > crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)': > crypto.c:333: error: invalid conversion from 'const X509V3_EXT_METHOD*' to 'X509V3_EXT_METHOD*' > crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, alist*)': What's your "uname -a" look like? -current? 5.0.1 was a patch release for version of GNU/Linux that had recent OpenSSL versions? For example, 5.0.1 wouldn't compile on RHEL5/Fedora12, but 5.0.1 may be required for FreeBSD -current with OpenSSL 0.9.8n+ in -current ~BAS > crypto.c:1102: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for argument '1' to 'int EVP_PKEY_encrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, const unsigned char*, size_t)' > crypto.c: In function 'crypto_error_t crypto_session_decode(const u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)': > crypto.c:1226: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for argument '1' to 'int EVP_PKEY_decrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, const unsigned char*, size_t)' > *** Error code 1