X11 6.7 @sparc

The Undefined undefine at aramin.net
Sat Sep 18 23:02:02 CEST 2004


On Sat, Sep 18, 2004 at 03:52:30AM +0200, havner wrote:
> In file included from /usr/include/asm-sparc/page.h:11,
>                  from /usr/include/asm/page.h:11,
>                  from fbdevhw.c:17:
> /usr/include/unistd.h:189: error: conflicting types for `xf86ssize_t'
> ../../../../../programs/Xserver/include/xf86_libc.h:86: error: previous
> declaration of `xf86ssize_t'
> In file included from /usr/include/asm-sparc/page.h:11,
>                  from /usr/include/asm/page.h:11,
>                  from fbdevhw.c:17:
> 
> any magician?
problem is with llh:
[undefine at sv1 include]$ grep unistd asm*/page.h
asm-arm26/page.h:#include <unistd.h>
asm-ia64/page.h:#include <unistd.h>
asm-m68k/page.h:#include <unistd.h>
asm-mips/page.h:#include <unistd.h>
asm-sparc/page.h:#include <unistd.h>

on other archs unistd.h is not included in asm*/page.h, so all works.

in xfree xf86ssize_t is defined in
../../../../../programs/Xserver/include/xf86_libc.h as:
typedef signed long xf86ssize_t;

and in glibc-devel (/usr/include/unistd.h) as:
typedef __ssize_t ssize_t;

mmazur say that new release llh will be all broken(on arch's will
be unistd.h included), so... better wait for it... ;)

-- 
Andrzej 'The Undefined' Dopierała
UNIX && Linux administrator, Adam Mickiewicz University WMiI
PLD Linux Developer             HomePage: http://aramin.net/
JID: undefine at piastlan.net    e-mail: undefine at pld-linux.org




More information about the pld-devel-en mailing list