Roland Mainz wrote:
> Alan Coopersmith wrote:
>> Deepankar Sharma wrote:
>>> Using gcc, treats these as warnings and the compilation continues farther 
>>> but then fails at
>>>
>>> rhd_randr.c:46:23: xf86Crtc.h: No such file or directory
>>> rhd_randr.c:47:26: xf86RandR12.h: No such file or directory
>>> In file included from rhd_randr.c:54:
>>> /usr/X11/include/xorg/xf86_ansic.h:176: warning: function declaration isn't 
>>> a prototype ....
>>>
>>> What libraries from the xorg distribution do i have to build to obtain 
>>> these header files ?
>> Those are not from libraries, but from the Xserver itself.   We ship those
>> headers in /usr/X11/include/xorg/ in recent Nevada builds.
> 
> How do you handle the 64bit includes if you ship both 32bit and 64bit
> bits (AFAIK there are no differences but I'm not sure what happened to
> these stuff post-autoconf'ing in X11R7.0) ?

The 32-bit & 64-bit includes are the same, once we apply one very small patch in
our make install rule:

        sed -e 's%^.* _XSERVER64 .*$$%#include <sys/isa_defs.h>\
#ifdef _LP64\
#define _XSERVER64 1\
#endif%' \
            $(SOURCE_DIR)/include/xorg-server.h > $(PROTODIR)$(X11_INCLUDES_DIR)
/xorg/xorg-server.h

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to