Any idea why this is failing?   (I'm confused as to why it's complaining
about /usr/lib/dtrace/psinfo.d, which isn't part of Xorg at all.  The
Xorg Xserver.d file can be seen at at:
http://cgit.freedesktop.org/xorg/xserver/tree/dix/Xserver.d )

These probes have built fine on Solaris for a couple of years, but are
disabled in the MacOS X builds of Xorg since MacOS doesn't do dtrace -G,
and no one has been found who has both a desire to fix MacOS X dtrace
builds & access to a Leopard box.   (Apple's Xorg guys have a long list
of higher priority issues to fix in their build.)

        -Alan Coopersmith-           [EMAIL PROTECTED]
         Sun Microsystems, Inc. - X Window System Engineering

-------- Original Message --------
Subject: xorg build problems: dtrace script
Date: Wed, 18 Jun 2008 15:43:03 -0400
From: Chuck Robey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

I've never seen this type of thing before.  Is it a precompiler of some sort?
It's getting an error, looks like it's tripping over a common FreeBSD type, a
uid_t.  I know how I'd handle this with a C file, I'd find out where it was
defined, see if it was already included but had define masking problems, or if
it just plain wasn't included before, and then add an include for it, but I
don't know what the heck this thing is ... code is /usr/lib??  that's wacky ...

Anyhow, here's the last part of the error listing (from xserver,dix).  If you
don't recognize the error, but know something about the .d files, you could tell
me, then I could pester the FreeBSD folks about it:

ranlib .libs/libdix.a
creating libdix.la
(cd .libs && rm -f libdix.la && ln -s ../libdix.la libdix.la)
/usr/sbin/dtrace -G -C -o dtrace-dix.o -s ../dix/Xserver.d .libs/*.o
dtrace: failed to compile script ../dix/Xserver.d: "/usr/lib/dtrace/psinfo.d",
line 37: syntax error near "uid_t"
*** Error code 1

Stop in /home/chuckr/xorgsrc/xserver/dix.
*** Error code 1

Stop in /home/chuckr/xorgsrc/xserver/dix.
*** Error code 1

Stop in /home/chuckr/xorgsrc/xserver.
_______________________________________________
xorg mailing list
[EMAIL PROTECTED]
http://lists.freedesktop.org/mailman/listinfo/xorg


_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to