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

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


           Summary: _X_SENTINEL and ddxBeforeReset problem when compiling
           Product: Codex
           Version: unspecified
          Platform: x86
               URL: http://support.zenwalk.org/index.php?PHPSESSID=0943a0dcd
        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)))
# 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:

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