[SM-Grimoire-Bugs] [Bug 13476] New: _X_SENTINEL and ddxBeforeReset problem when compiling xorg-server 1.1.99.903

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Jan 30 07:25:37 EST 2007


http://bugs.sourcemage.org/show_bug.cgi?id=13476

           Summary: _X_SENTINEL and ddxBeforeReset problem when compiling
                    xorg-server 1.1.99.903
           Product: Codex
           Version: unspecified
          Platform: x86
               URL: http://support.zenwalk.org/index.php?PHPSESSID=0943a0dcd
                    17628d6cc5b402325a94d0b&topic=2134.msg11956
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xorg-modular
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: dag.stockstad at gmail.com


I got this:
/usr/include/X11/Xlib.h:3574: error: syntax error before "_X_SENTINEL"

Fixed it by adding this to the top of /usr/include/X11/Xlib.h:
#if defined(__GNUC__) && (__GNUC__ >= 4)
# define _X_SENTINEL(x) __attribute__ ((__sentinel__(x)))
# define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y)))
#else
# define _X_SENTINEL(x)
# define _X_ATTRIBUTE_PRINTF(x,y)
#endif /* GNUC >= 4 */

still, that only gets me so far. then I get this:

../../dix/.libs/libdix.a(dispatch.o): In function `Dispatch':
dispatch.c:(.text+0x78f): undefined reference to `ddxBeforeReset'
collect2: ld returned 1 exit status

and don't know how to solve that. seems to be document here:
http://lists.ibiblio.org/pipermail/sm-discuss/2006-May/014590.html

but libxinerama seems to be a non-optional dependency.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the SM-Grimoire-Bugs mailing list