Problem compiling XFree86

MadMac asd11 at wp.pl
Sat Jan 15 03:46:14 PST 2005


On Sat, 15 Jan 2005 10:08:01 +0100, Jens Olav Nygaard  
<jens_olav.nygaard at chello.no> wrote:

> I'm following LFS-BOOK-6.1-testing-20050105 to the letter, has just
> finished chapter 6, then I wanted to install XFree86.
>
> Used XFree86 4.4.0, and the host.def defined in BLFS 1.0.
>
> Have commented out the #include <linux/config.h> in the drm.h, and
> have tried various combinations of XF86CardDrivers, last with only
> "nv" enabled. Have also been experimenting with the adding of
> "#define BuildXF86DRI No" and "#define BuildXF86DRM Yes" to the
> host.def, as per suggestion in other discussion threads found by
> Google.
<snip>
> -DXResExtension                              
> -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   
> -DIN_MODULE -DXFree86Module -c fbdevhw.c
> In file included from /usr/include/asm/page.h:4,
>                   from fbdevhw.c:17:
> /usr/include/unistd.h:189: error: conflicting types for 'xf86ssize_t'
> ../../../../../programs/Xserver/include/xf86_libc.h:105: error: previous  
> declaration of 'xf86ssize_t' was here
> In file included from /usr/include/asm/page.h:4,
>                   from fbdevhw.c:17:
> /usr/include/unistd.h:312: error: conflicting types for 'xf86read'
<snip>
> J.O.
>
edit /usr/include/asm/page.h and comment '#include <unistd.h>' line.
-- 
MadMac - asd11 at wp.pl
Linux should be fun.



More information about the lfs-dev mailing list