dtrace failure in xorg

Garrett Cooper yanefbsd at gmail.com
Thu Jun 19 03:29:52 UTC 2008


On Wed, Jun 18, 2008 at 8:06 PM, Chuck Robey <chuckr at telenix.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm trying to build some software that's making use of dtrace.  Actually, for my
> own purposes, I'm trying to build the HEAD version of xorg.  There's a error
> that looks like:
>
> make  all-am
> /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
>
> Now, if this were a regular C file, this would be simplicity itself, either
> looking some a define that was covering the definition of the type. or adding an
> include to bring that def in, however, I haven't any experience with these .d
> files.  Could anybody give me either a pointer to a description of this,  or
> maybe give me a short description here to how they should be treated as opposed
> to .c files?

Chuck,
      Have you read this thread yet:
http://www.nabble.com/X-ports-trying-to-use-dtrace-td17729926.html ?
Cheers,
-Garrett


More information about the freebsd-current mailing list