Summary: | sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | blocker | ||
Priority: | medium | CC: | cworth |
Version: | git | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2015-01-16 23:52:55 UTC
Hi Vinson, Thanks for the bug report. What version of libgcrypt do you have installed on your system? This code compiles for me: Shader cache: yes With SHA1 from: libgcrypt CC libmesautil_la-sha1.lo Here's what the package manager says about libgcrypt on my Debian system: $ apt-cache policy libgcrypt20-dev libgcrypt20-dev: Installed: 1.6.2-4+b1 If you've got some incompatible version, perhaps there's an easy tweak we can make to the configure check so that it doesn't attempt to build with that version. -Carl commit 9075823c17280d36ca2ba2e98ec93fb097801593 Author: Vinson Lee <vlee@freedesktop.org> Date: Fri Jan 16 16:21:41 2015 -0800 sha1: Fix gcry_md_hd_t typo. Fix build error. CC libmesautil_la-sha1.lo sha1.c: In function '_mesa_sha1_final': sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function) gcry_md_hd_t h = (grcy_md_hd_t) ctx; ^ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88519 Signed-off-by: Vinson Lee <vlee@freedesktop.org> Thanks for the fix, Vinson. I'm really baffled how I thought I saw this compile successfully. (I even found the error sitting in my terminal backlog.) Anyway, I'm glad it's fixed now. -Carl Just a note: when you change the assignee make sure mesa-dev@ stays as the QA contact or in the Cc list. Otherwise we stop seeing updates to the bug. (In reply to Matt Turner from comment #4) > Just a note: when you change the assignee make sure mesa-dev@ stays as the > QA contact or in the Cc list. Otherwise we stop seeing updates to the bug. Thanks for the reminder. To make this less error prone, I've just run through all Mesa bugzilla components and wherever the default assignee is a list, I copied the same list address to the default QA contact. -Carl |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.