From: Ben Widawsky <ben@bwidawsk.net>
To: Lauri Kasanen <cand@gmx.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH libdrm] intel: Fix build failure in test_decode.c
Date: Mon, 2 Jul 2012 14:54:58 -0700 [thread overview]
Message-ID: <20120702145458.06f6273f@bwidawsk.net> (raw)
In-Reply-To: <20120630131245.00cebd69.cand@gmx.com>
On Sat, 30 Jun 2012 13:12:45 +0300
Lauri Kasanen <cand@gmx.com> wrote:
> Hi list
>
> The recently released libdrm 2.4.37 does not compile the Intel part:
>
> test_decode.c: In function 'compare_batch':
> test_decode.c:107: error: implicit declaration of function 'open_memstream'
>
> PS: Please CC me.
>
> Signed-off-by: Lauri Kasanen <cand@gmx.com>
> ---
> intel/test_decode.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/intel/test_decode.c b/intel/test_decode.c
> index c9ab7ad..0fcdf3b 100644
> --- a/intel/test_decode.c
> +++ b/intel/test_decode.c
> @@ -21,6 +21,8 @@
> * IN THE SOFTWARE.
> */
>
> +#define _GNU_SOURCE
> +
> #include <string.h>
> #include <stdlib.h>
> #include <stdio.h>
I can't reproduce this. Can anyone else confirm this is broken, and if
so that the above patch fixes it?
--
Ben Widawsky, Intel Open Source Technology Center
next prev parent reply other threads:[~2012-07-02 21:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-30 10:12 [PATCH libdrm] intel: Fix build failure in test_decode.c Lauri Kasanen
2012-07-02 21:54 ` Ben Widawsky [this message]
2012-07-03 9:21 ` Lauri Kasanen
2012-07-03 16:57 ` Ben Widawsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120702145458.06f6273f@bwidawsk.net \
--to=ben@bwidawsk.net \
--cc=cand@gmx.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.