c/s 17913: Breakage on *BSD
Hi!
Changeset 17913 breaks build on *BSD:
block-qcow.c:36:20: error: gcrypt.h: No such file or directory
cc1: warnings being treated as errorsblock-qcow.c: In function 'gen_cksum':
block-qcow.c:160: warning: implicit declaration of
function 'gcry_md_hash_buffer'
block-qcow.c:160: error: 'GCRY_MD_MD5' undeclared (first use in this function) block-qcow.c:160: error: (Each undeclared identifier is reported only once block-qcow.c:160: error: for each function it appears in.)
Keir, Bastian: Please revert this or find a portable solution.
Christoph
Signature · 12 lines
AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
The complaint about licensing is probably valid, but plenty of devel machines don't have libgcrypt. I'll add code to fall back to libcrypto if libgcrypt is not installed. Then everybody should be happy (maybe).
-- Keir
Quoted 18 lines · Christoph Egger
Hi!
Changeset 17913 breaks build on *BSD:
block-qcow.c:36:20: error:
gcrypt.h: No such file or directory
cc1: warnings being treated as errorsblock-qcow.c: In function 'gen_cksum':
block-qcow.c:160: warning: implicit declaration of
function 'gcry_md_hash_buffer'
block-qcow.c:160: error: 'GCRY_MD_MD5' undeclared (first use in this function) block-qcow.c:160: error: (Each undeclared identifier is reported only once block-qcow.c:160: error: for each function it appears in.)Keir, Bastian: Please revert this or find a portable solution.
Christoph
Quoted 5 lines · On Monday 30 June 2008 12:05:26 Keir Fraser wrote:
The complaint about licensing is probably valid, but plenty of devel machines don't have libgcrypt. I'll add code to fall back to libcrypto if libgcrypt is not installed. Then everybody should be happy (maybe).
-- Keir
Tnx. I can confirm c/s 17916 fixes the build error.
Christoph
Quoted 18 lines · Christoph Egger
Quoted 17 lines
Hi!
Changeset 17913 breaks build on *BSD:
block-qcow.c:36:20: error:
gcrypt.h: No such file or directory
cc1: warnings being treated as errorsblock-qcow.c: In function 'gen_cksum':
block-qcow.c:160: warning: implicit declaration of
function 'gcry_md_hash_buffer'
block-qcow.c:160: error: 'GCRY_MD_MD5' undeclared (first use in this function) block-qcow.c:160: error: (Each undeclared identifier is reported only once block-qcow.c:160: error: for each function it appears in.)Keir, Bastian: Please revert this or find a portable solution.
Christoph
Signature · 12 lines
AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy