[PATCH] xfree86: Fix undefined reference to `XNFsprintf' on sparc.

Alan Coopersmith alan.coopersmith at oracle.com
Sun Feb 20 11:34:14 PST 2011


On 02/20/11 07:26 AM, Cyril Brulebois wrote:
> Build failure on sparc:
> | copying selected object files to avoid basename conflicts...
> |   CCLD   Xorg
> | ./.libs/libxorg.a(xf86sbusBus.o): In function `xf86SbusConfigureNewDev':
> | […]/hw/xfree86/common/xf86sbusBus.c:712: undefined reference to `XNFsprintf'
> | collect2: ld returned 1 exit status
> 
> Fix typo introduced in:
>   3a9bb93dd178084f4ff1abcea331ca5a62f88ce6
> 
> Signed-off-by: Cyril Brulebois <kibi at debian.org>
> ---
>  hw/xfree86/common/xf86sbusBus.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> BIG FAT WARNING: Not actually tested yet. Waiting for other builds to
> finish before uploading a new revision with that fix.
> 
> (https://buildd.debian.org/status/package.php?p=xorg-server&suite=experimental)
> 
> diff --git a/hw/xfree86/common/xf86sbusBus.c b/hw/xfree86/common/xf86sbusBus.c
> index 8cfac84..181c6ab 100644
> --- a/hw/xfree86/common/xf86sbusBus.c
> +++ b/hw/xfree86/common/xf86sbusBus.c
> @@ -709,6 +709,6 @@ xf86SbusConfigureNewDev(void *busData, sbusDevicePtr sBus, GDevRec *GDev)
>          XNFasprintf(&GDev->busID, "SBUS:%s", promPath);
>          free(promPath);
>      } else {
> -        XNFsprintf(&GDev->busID, "SBUS:fb%d", sBus->fbNum);
> +        XNFasprintf(&GDev->busID, "SBUS:fb%d", sBus->fbNum);
>      }
>  }

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Apologized-for-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list