Summary: | FTBFS with default params | ||
---|---|---|---|
Product: | xorg | Reporter: | Vadim Rutkovsky <vrutkovs> |
Component: | Lib/Xt | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | major | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vadim Rutkovsky
2015-01-26 11:01:25 UTC
Works for me - with no detail on even what OS you're building on, not much we can do here. You need to figure out why configure found asprintf() in your platform's libc, but cc did not find it in your platform's <stdio.h>. (In reply to Alan Coopersmith from comment #1) > You need to figure out why configure found asprintf() in your platform's > libc, but cc did not find it in your platform's <stdio.h>. OS is a customized Yocto's Poky, sources are at https://github.com/cgwalters/poky/tree/gnomeostree-3.10-dylan Perhaps diff --git a/util/makestrs.c b/util/makestrs.c index 5764849..7e11547 100644 --- a/util/makestrs.c +++ b/util/makestrs.c @@ -25,7 +25,9 @@ in this Software without prior written authorization from The Open Group. */ /* Constructs string definitions */ - +#ifdef HAVE_ASPRINTF +# define _GNU_SOURCE +#endif #include <stdio.h> #include <string.h> #include <stdlib.h> Proposed fix for GNU libc platforms: http://patchwork.freedesktop.org/patch/41113/ I've pushed the fix that I sent earlier today to xorg list |
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.