Hi,

Just for Information: I had a strange problem with a small loadable extention for Xorg server but only on 64-Bit system. On 32-Bit Linux System the extention works fine, on 64-Bit system I got an error "X Error of failed request: BadLength (poly request too large or internal Xlib length error).
I have asked here in forum but nothing helps :(
Now I know what the problem was and hope, this solution will help somebody who try to write a loadable extension too.

Simply the /usr/include/xorg/xorg-server.h was missed! That is a generated header file and must be included at the first place in the extension AND NOT in the client application / lib!
After including it the _XSERVER64 flag is set to 1 and everything allright!…

HTH

Leo


_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to